SignerInfo.Certificate 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
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 未包含签名证书,则不会返回该证书。