Partager via


X509NTAuthChainTrustValidator.Validate(X509Certificate2) Méthode

Définition

Valide le certificat X.509 spécifié.

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)

Paramètres

certificate
X509Certificate2

Certificat X.509 à valider.

Exceptions

certificate a la valeur null.

Échec de la validation du certificat X.509.

Remarques

Lève une SecurityTokenValidationException exception si la validation échoue.

S’applique à