Verifies the remote server certificate used for authentication.

Namespace:  Intel.Manageability
Assembly:  HLAPI (in HLAPI.dll)

Syntax

C#
public delegate bool ServerCertificateValidationCallback(
	X509Certificate certificate,
	X509Chain chain,
	SslPolicyErrors errors
)

Parameters

certificate
Type: System.Security.Cryptography.X509Certificates..::.X509Certificate
The certificate used to authenticate
chain
Type: System.Security.Cryptography.X509Certificates..::.X509Chain
The certificate chain.
errors
Type: System.Net.Security..::.SslPolicyErrors
One or more errors associated with the remote certificate.

Return Value

bool, determines whether the specified certificate is accepted for authentication. accept the certificate when there is an error is less secure.

See Also