Edit

Share via


X509NTAuthChainTrustValidator.Validate(X509Certificate2) Method

Definition

Validates the specified X.509 certificate.

public:
 override void Validate(System::Security::Cryptography::X509Certificates::X509Certificate2 ^ certificate);
public override void Validate (System.Security.Cryptography.X509Certificates.X509Certificate2 certificate);
override this.Validate : System.Security.Cryptography.X509Certificates.X509Certificate2 -> unit
Public Overrides Sub Validate (certificate As X509Certificate2)

Parameters

certificate
X509Certificate2

The X.509 certificate to validate.

Exceptions

certificate is null.

Validation of the X.509 certificate failed.

Remarks

Throws a SecurityTokenValidationException exception if validation fails.

Applies to