Publisher(X509Certificate) 构造函数

定义

用包含发行者公钥的 Authenticode X.509v3 证书初始化 Publisher 类的新实例。

public:
 Publisher(System::Security::Cryptography::X509Certificates::X509Certificate ^ cert);
public Publisher (System.Security.Cryptography.X509Certificates.X509Certificate cert);
new System.Security.Policy.Publisher : System.Security.Cryptography.X509Certificates.X509Certificate -> System.Security.Policy.Publisher
Public Sub New (cert As X509Certificate)

参数

cert
X509Certificate

一个 X509Certificate,它包含软件发行者的公钥。

例外

cert 参数为 null

适用于