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 证书 (即当 CertificateEmbeddingOptionInCertificatePartInSignaturePart) 。

Signernull当 X.509 证书未存储在包 (即当) NotEmbeddedCertificateEmbeddingOption,返回 。

适用于