語言

EnvelopedCms.Certificates 屬性

定義

取得與封閉 CMS/PKCS#7 訊息相關的憑證集合。

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

屬性值

與封閉式 CMS/PKCS#7 訊息相關的憑證集合。

備註

當 EnvelopedCms 該類別用於加密資料時,該集合的內容會嵌入在呼叫 Encrypt 某個方法的待處理訊息中。 加密操作後的變更不會產生影響。

在呼叫 Decode時,該屬性的值會被另一個集合物件取代,該集合物件代表從解碼訊息中讀取的憑證。

適用於