Enum CertificateValidationResult
The result of the CertificateValidationCallback delegate.
Namespace: PushTechnology.ClientInterface.Client.Session
Assembly: Diffusion.Client.dll
Syntax
public enum CertificateValidationResult : int
Remarks
Added in 6.4.
Examples
Setting certificate validation to allow any remote certificate.
var factory = Diffusion.Sessions
.CertificateValidation( (certificate, chain, errors) => CertificateValidationResult.ACCEPT );
Fields
Name | Description |
---|---|
ACCEPT | The remote certificate will be accepted for authentication. |
REJECT | The remote certificate will be rejected for authentication. |