共用方式為


PackageDigitalSignature.Signer 屬性

定義

取得簽署者的 X.509 憑證。

public:
 property System::Security::Cryptography::X509Certificates::X509Certificate ^ Signer { System::Security::Cryptography::X509Certificates::X509Certificate ^ get(); };
public System.Security.Cryptography.X509Certificates.X509Certificate Signer { get; }
member this.Signer : System.Security.Cryptography.X509Certificates.X509Certificate
Public ReadOnly Property Signer As X509Certificate

屬性值

簽署者的數位憑證,或是如果憑證未儲存在 Package,則為 null

例外狀況

數位 Signature 已經刪除。

備註

Signer當數位證書儲存在套件 (內時,傳回簽署者的 X.509 憑證,也就是當 為 InCertificatePartInSignaturePart) 時CertificateEmbeddingOption

Signernull當 X.509 憑證未儲存在套件 (,也就是當 為) 時CertificateEmbeddingOptionNotEmbedded ,會傳回 。

適用於