EnvelopedCms.UnprotectedAttributes 属性

定义

获取与 CMS/PKCS#7 封装消息关联的未保护(未加密)属性的集合。

public:
 property System::Security::Cryptography::CryptographicAttributeObjectCollection ^ UnprotectedAttributes { System::Security::Cryptography::CryptographicAttributeObjectCollection ^ get(); };
public System.Security.Cryptography.CryptographicAttributeObjectCollection UnprotectedAttributes { get; }
member this.UnprotectedAttributes : System.Security.Cryptography.CryptographicAttributeObjectCollection
Public ReadOnly Property UnprotectedAttributes As CryptographicAttributeObjectCollection

属性值

与信封 CMS/PKCS#7 消息关联的未受保护的 (未加密) 属性的集合。

注解

EnvelopedCms当 类用于加密数据时,在调用其中一个方法期间,此集合的内容将嵌入挂起的消息中Encrypt。 加密操作后的更改不起作用。

在调用 Decode期间,此属性的值将替换为不同的集合对象,该对象随后表示未加密的情况下附加到消息的属性。

适用于