SignerInfo.SignedAttributes 屬性

定義

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 屬性中。

適用於

另請參閱