The SslCertificateValidationEventArgs type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| SslCertificateValidationEventArgs |
Creates an instance of SslCertificateValidationEventArgs object.
|
Methods
| Name | Description | |
|---|---|---|
| Accept |
Accepts the certificate.
| |
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Reject()()()() |
Rejects the certificate.
| |
| Reject(TlsCertificateAcceptance) |
Rejects the certificate.
| |
| Reject(ValidationStatus) |
Rejects the certificate.
| |
| ToString | Returns a String that represents the current Object. (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| Certificate |
Gets the server certificate to be validated.
| |
| CertificateChain |
Gets the whole certificate chain to be validated.
| |
| Options |
Gets custom-specified validation options (set using SslServerCertificateValidationOptions property).
| |
| Result |
Gets validation result.
| |
| ServerName |
Gets the common name of the server.
| |
| Socket |
Gets the socket that needs certificate verification.
|