EnvelopedCms.UnprotectedAttributes Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the collection of unprotected (unencrypted) attributes associated with the enveloped CMS/PKCS#7 message.
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
Property Value
The collection of unprotected (unencrypted) attributes associated with the enveloped CMS/PKCS#7 message.
Remarks
When the EnvelopedCms class is being used to to encrypt data, the contents of this collection are embedded into the pending message during the call to one of the Encrypt methods. Changes after the encryption operation have no effect.
The value of this property is replaced with a different collection object during a call to Decode, which then represents the attributes which were attached to the message without being encrypted.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for