MetadataSerializer.ValidateIssuer(X509Certificate2) 方法

定义

验证 X.509 证书,该证书针对由 TrustedIssuers 属性指定的可信发布者列表对元数据文档进行了签名。 此方法由 ValidateSigningCredential(SigningCredentials) 方向调用。

protected:
 virtual void ValidateIssuer(System::Security::Cryptography::X509Certificates::X509Certificate2 ^ signingCertificate);
protected virtual void ValidateIssuer (System.Security.Cryptography.X509Certificates.X509Certificate2 signingCertificate);
abstract member ValidateIssuer : System.Security.Cryptography.X509Certificates.X509Certificate2 -> unit
override this.ValidateIssuer : System.Security.Cryptography.X509Certificates.X509Certificate2 -> unit
Protected Overridable Sub ValidateIssuer (signingCertificate As X509Certificate2)

参数

signingCertificate
X509Certificate2

签名证书。

注解

默认情况下,此方法不执行任何验证。 提供自己的实现以执行受信任的颁发者验证。

适用于