Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.ObjectAn object that contains state information for this validation.
certificate
Type: System.Security.Cryptography.X509Certificates.X509CertificateThe certificate used to authenticate the remote party.
chain
Type: System.Security.Cryptography.X509Certificates.X509ChainThe chain of certificate authorities associated with the remote certificate.
sslPolicyErrors
Type: System.Net.Security.SslPolicyErrorsOne or more errors associated with the remote certificate.
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