語言

EnvelopedCms.ContentInfo 屬性

定義

取得包裹式 CMS/PKCS#7 訊息的內容資訊。

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

屬性值

封閉式 CMS/PKCS#7 訊息的內容資訊。

備註

當類別 EnvelopedCms 被用來加密資料時,這個屬性的值代表要加密的資料。 呼叫方法 Encrypt 後,不會被加密內容取代。

此屬性的值會在呼叫 Decode時被替換,該呼叫代表從訊息中解碼的加密內容。 成功呼叫方法 Decrypt 後,該值會再次被替換為解密後的訊息內容。

適用於