SignerInfo.SignedAttributes 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
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该属性中。