SignerInfo.Certificate 属性

定义

Certificate 属性检索与该签名者信息关联的签名证书。

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

属性值

表示签名证书的 X509Certificate2 对象。

注解

如果使用 属性在签名时 CmsSigner.IncludeOption 未包含签名证书,则不会返回该证书。

适用于

另请参阅