Class CertificateValidationEventArgs
Class that provides event data for validation remote certificates
public class CertificateValidationEventArgs : EventArgs
- Inheritance
-
CertificateValidationEventArgs
- Inherited Members
Constructors
CertificateValidationEventArgs(X509Certificate, X509Chain, SslPolicyErrors)
Constructor.
public CertificateValidationEventArgs(X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors)
Parameters
certificate
X509CertificateThe certificate used to authenticate the remote party.
chain
X509ChainThe chain of certificate authorities associated with the remote certificate.
sslPolicyErrors
SslPolicyErrorsOne or more errors associated with the remote certificate.
Properties
Accepted
A bool value that determines whether the specified certificate is accepted for authentication.
public bool Accepted { get; set; }
Property Value
Certificate
The certificate used to authenticate the remote party.
public X509Certificate Certificate { get; }
Property Value
Chain
The chain of certificate authorities associated with the remote certificate.
public X509Chain Chain { get; }
Property Value
SslPolicyErrors
One or more errors associated with the remote certificate.
public SslPolicyErrors SslPolicyErrors { get; }