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

 

Verifies the remote Secure Sockets Layer (SSL) certificate used for authentication.

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

Syntax

bool Validate(
    object sender,
    X509Certificate certificate,
    X509Chain chain,
    SslPolicyErrors sslPolicyErrors
)
bool Validate(
    Object^ sender,
    X509Certificate^ certificate,
    X509Chain^ chain,
    SslPolicyErrors sslPolicyErrors
)
abstract Validate : 
        sender:Object *
        certificate:X509Certificate *
        chain:X509Chain *
        sslPolicyErrors:SslPolicyErrors -> bool
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.

See Also

ICertificateValidator Interface
Microsoft.Owin.Security Namespace

Return to top