X509NTAuthChainTrustValidator.Validate(X509Certificate2) 方法

定义

验证指定的 X.509 证书。

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)

参数

certificate
X509Certificate2

要验证的 X.509 证书。

例外

certificatenull

X.509 证书验证失败的验证。

注解

如果验证失败,则 SecurityTokenValidationException 引发异常。

适用于