共用方式為


PublisherIdentityPermissionAttribute.X509Certificate 屬性

定義

取得或設定識別呼叫程式碼發行者的 Authenticode X.509v3 憑證。

public:
 property System::String ^ X509Certificate { System::String ^ get(); void set(System::String ^ value); };
public string X509Certificate { get; set; }
member this.X509Certificate : string with get, set
Public Property X509Certificate As String

屬性值

String

X.509 憑證的十六進位表示。

備註

如果已設定此屬性, CertFile 則會忽略 和 SignedFile

您可以執行強式名稱工具 (Sn.exe) 搭配權杖和公開金鑰選項來取得十六進位標記法, (Sn -tp keyfile ) 針對具有 Authenticode 簽章的檔案。 如需詳細資訊,請參閱 Sn.exe (強式名稱工具)

適用於