Прочетете на английски Редактиране

Споделяне чрез


X509NTAuthChainTrustValidator.Validate(X509Certificate2) Method

Definition

Validates the specified X.509 certificate.

C#
public override void Validate(System.Security.Cryptography.X509Certificates.X509Certificate2 certificate);

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

Продукт Версии
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1