ICertificateCheckerValidateRemoteCertificate Method
Verifies the remote certificate used for authentication.
Namespace: Gemstone.Net.SecurityAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.128 -- Release Build+d050cfc5563c89a1188cc3c6b2d417530856f490
bool ValidateRemoteCertificate(
Object? sender,
X509Certificate remoteCertificate,
X509Chain chain,
SslPolicyErrors errors
)
Function ValidateRemoteCertificate (
sender As Object,
remoteCertificate As X509Certificate,
chain As X509Chain,
errors As SslPolicyErrors
) As Boolean
bool ValidateRemoteCertificate(
Object^ sender,
X509Certificate^ remoteCertificate,
X509Chain^ chain,
SslPolicyErrors errors
)
function ValidateRemoteCertificate(sender, remoteCertificate, chain, errors);
- 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.
BooleanA flag that determines whether the specified certificate is accepted for authentication.