CertificateThumbprintValidator Class

 

Provides pinned certificate validation based on the certificate thumbprint.

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

Inheritance Hierarchy

System.Object
  Microsoft.Owin.Security.CertificateThumbprintValidator

Syntax

public class CertificateThumbprintValidator : ICertificateValidator
public ref class CertificateThumbprintValidator : ICertificateValidator
type CertificateThumbprintValidator = 
    class
        interface ICertificateValidator
    end
Public Class CertificateThumbprintValidator
    Implements ICertificateValidator

Constructors

Name Description
System_CAPS_pubmethod CertificateThumbprintValidator(IEnumerable<String>)

Initializes a new instance of the CertificateThumbprintValidator class.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_pubmethod Validate(Object, X509Certificate, X509Chain, SslPolicyErrors)

Validates that the certificate thumbprints in the signing chain match at least one whitelisted thumbprint.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Owin.Security Namespace

Return to top