共用方式為


SignerInfo.Certificate 屬性

定義

Certificate 屬性 (Property) 擷取與簽署人資訊關聯的簽章憑證。

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 未包含簽署憑證,則不會傳回憑證。

適用於

另請參閱