PublisherMembershipCondition(X509Certificate) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
使用判斷成員資格的 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
。
備註
如果軟體發行者使用對應至指定公鑰憑證的私鑰簽署,程式代碼就會滿足成員資格條件。