|
CertificatePolicyCheckerValidateRemoteCertificate Method
|
Verifies the remote certificate used for authentication.
Namespace: GSF.Net.SecurityAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.248-beta+a497a19de709fd99e2448886199a2c8824265ddf
Syntaxpublic bool ValidateRemoteCertificate(
Object sender,
X509Certificate remoteCertificate,
X509Chain chain,
SslPolicyErrors errors
)
Public Function ValidateRemoteCertificate (
sender As Object,
remoteCertificate As X509Certificate,
chain As X509Chain,
errors As SslPolicyErrors
) As Boolean
public:
virtual bool ValidateRemoteCertificate(
Object^ sender,
X509Certificate^ remoteCertificate,
X509Chain^ chain,
SslPolicyErrors errors
) sealed
abstract ValidateRemoteCertificate :
sender : Object *
remoteCertificate : X509Certificate *
chain : X509Chain *
errors : SslPolicyErrors -> bool
override ValidateRemoteCertificate :
sender : Object *
remoteCertificate : X509Certificate *
chain : X509Chain *
errors : SslPolicyErrors -> bool
function ValidateRemoteCertificate(sender, remoteCertificate, chain, errors);
View SourceParameters
- 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
BooleanA flag that determines whether the specified certificate is accepted for authentication.
Implements
ICertificateCheckerValidateRemoteCertificate(Object, X509Certificate, X509Chain, SslPolicyErrors)
See Also