Compartir a través de


X509NTAuthChainTrustValidator.Validate(X509Certificate2) Método

Definición

Valida el certificado X.509 especificado.

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)

Parámetros

certificate
X509Certificate2

Certificado X.509 que se va a validar.

Excepciones

certificate es null.

Error en la validación del certificado X.509.

Comentarios

Produce una excepción si se produce un SecurityTokenValidationException error en la validación.

Se aplica a