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期间,此属性的值将替换为其他集合对象,该对象表示未加密的情况下附加到消息的属性。

适用于