Share via


SignerInfo.SignedAttributes 属性

定义

SignedAttributes 属性检索与该签名者信息关联的已签名特性的 CryptographicAttributeObjectCollection 集合。 已签名特性与其余的消息内容一起进行签名。

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 集合。 如果没有已签名特性,则该属性为空集合。

注解

签名时间属性可能是包含在属性SignedAttributes检索的CryptographicAttributeObjectCollection集合中的已签名属性的Pkcs9SigningTime一个示例。

签名的属性与消息内容的其余部分 SignedCms 一起签名。 这意味着成功验证签名的一方可以确信这些属性的内容是真实的,并且尚未更改。

Pkcs9ContentType只要CmsSigner.SignedAttributes相应签名者的 属性不为空,就会自动生成 对象Pkcs9MessageDigest和 对象并将其置于 属性中SignedAttributes

适用于

另请参阅