Jaa


CertificateSubjectPublicKeyInfoValidator.Validate Method (Object, X509Certificate, X509Chain, SslPolicyErrors)

 

Validates at least one SPKI hash is known.

Namespace:   Microsoft.Owin.Security
Assembly:  Microsoft.Owin.Security (in Microsoft.Owin.Security.dll)

Syntax

public bool Validate(
    object sender,
    X509Certificate certificate,
    X509Chain chain,
    SslPolicyErrors sslPolicyErrors
)
public:
virtual bool Validate(
    Object^ sender,
    X509Certificate^ certificate,
    X509Chain^ chain,
    SslPolicyErrors sslPolicyErrors
) sealed
abstract Validate : 
        sender:Object *
        certificate:X509Certificate *
        chain:X509Chain *
        sslPolicyErrors:SslPolicyErrors -> bool
override Validate : 
        sender:Object *
        certificate:X509Certificate *
        chain:X509Chain *
        sslPolicyErrors:SslPolicyErrors -> bool
Public Function Validate (
    sender As Object,
    certificate As X509Certificate,
    chain As X509Chain,
    sslPolicyErrors As SslPolicyErrors
) As Boolean

Parameters

  • sender
    Type: System.Object

    An object that contains state information for this validation.

Return Value

Type: System.Boolean

A Boolean value that determines whether the specified certificate is accepted for authentication.

Implements

ICertificateValidator.Validate(Object, X509Certificate, X509Chain, SslPolicyErrors)

See Also

CertificateSubjectPublicKeyInfoValidator Class
Microsoft.Owin.Security Namespace

Return to top