SslCertificateValidationEventArgs Class
Namespace: Rebex.Net
Assembly: Rebex.Networking.dll (version 7.0.9119)
Provides data for custom server certificate check events.
Syntax
public class SslCertificateValidationEventArgs : EventArgs
Inherited Members
Constructors
Name | Description |
---|---|
SslCertificateValidationEventArgs(TlsSocket, String, CertificateChain) | Creates an instance of SslCertificateValidationEventArgs 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. |
Methods
Name | Description |
---|---|
Accept() | Accepts the certificate. |
Reject() | Rejects the certificate. |
Reject(TlsCertificateAcceptance) | Rejects the certificate. |
Reject(ValidationStatus) | Rejects the certificate. |