Share via


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

適用於

另請參閱