SignerInfo.SignedAttributes 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
SignedAttributes 屬性 (Property) 會擷取與簽署人資訊關聯之已簽署屬性 (Attribute) 的 CryptographicAttributeObjectCollection 集合。 已簽署的屬性 (Attribute) 是和其餘的訊息內容一起簽署。
public:
property System::Security::Cryptography::CryptographicAttributeObjectCollection ^ SignedAttributes { System::Security::Cryptography::CryptographicAttributeObjectCollection ^ get(); };
public System.Security.Cryptography.CryptographicAttributeObjectCollection SignedAttributes { get; }
member this.SignedAttributes : System.Security.Cryptography.CryptographicAttributeObjectCollection
Public ReadOnly Property SignedAttributes As CryptographicAttributeObjectCollection
屬性值
CryptographicAttributeObjectCollection 集合,表示已簽署的屬性 (Attribute)。 如果沒有已簽署屬性 (Attribute),則屬性 (Property) 為空集合。
備註
屬性所 SignedAttributes 擷取之 CryptographicAttributeObjectCollection 集合中可能包含的帶正負號屬性的範例是 Pkcs9SigningTime 簽署時間屬性。
已簽署的屬性會與訊息內容的其餘部分 SignedCms 一起簽署。 這表示成功驗證簽章的一方可以確信這些屬性的內容是真確的,而且尚未變更。
Pkcs9ContentType每當對應簽署者的 屬性不是空白時, CmsSigner.SignedAttributes 物件和 Pkcs9MessageDigest 物件會自動產生並放置在 SignedAttributes 屬性中。
適用於
另請參閱
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應