共用方式為


PublisherMembershipCondition(X509Certificate) 建構函式

定義

使用判斷成員資格的 Authenticode X.509v3 憑證,初始化 PublisherMembershipCondition 類別的新執行個體。

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

參數

certificate
X509Certificate

X509Certificate,包含軟體發行者公開金鑰。

例外狀況

certificate 參數為 null

備註

如果軟體發行者使用對應至指定公鑰憑證的私鑰簽署,程式代碼就會滿足成員資格條件。

適用於