ICertificateCheckerValidateRemoteCertificate Method

Verifies the remote certificate used for authentication.

Definition

Namespace: Gemstone.Net.Security
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.143 -- Release Build+524337d392fd5616b12b50022b004322b9e7c330
bool ValidateRemoteCertificate(
	Object? sender,
	X509Certificate remoteCertificate,
	X509Chain chain,
	SslPolicyErrors errors
)

Parameters

sender  Object
An object that contains state information for this validation.
remoteCertificate  X509Certificate
The certificate used to authenticate the remote party.
chain  X509Chain
The chain of certificate authorities associated with the remote certificate.
errors  SslPolicyErrors
One or more errors associated with the remote certificate.

Return Value

Boolean
A flag that determines whether the specified certificate is accepted for authentication.

See Also