Click or drag to resize

CertificateValidatorValidateServerCertificate Method

Validates the server certificate.

Namespace:  Koopman.CheckPoint.Common
Assembly:  CheckPoint.NET (in CheckPoint.NET.dll) Version: 0.5.1
Syntax
C#
public bool ValidateServerCertificate(
	Object sender,
	X509Certificate certificate,
	X509Chain chain,
	SslPolicyErrors sslPolicyErrors
)
Request Example View Source

Parameters

sender
Type: SystemObject
The sender.
certificate
Type: System.Security.Cryptography.X509CertificatesX509Certificate
The certificate.
chain
Type: System.Security.Cryptography.X509CertificatesX509Chain
The chain.
sslPolicyErrors
Type: System.Net.SecuritySslPolicyErrors
The SSL policy errors.

Return Value

Type: Boolean
true if server's certificate passes validation; otherwise false
See Also