EnvelopedCms.ContentEncryptionAlgorithm 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 identifier of the symmetric encryption algorithm associated with this message.
public:
property System::Security::Cryptography::Pkcs::AlgorithmIdentifier ^ ContentEncryptionAlgorithm { System::Security::Cryptography::Pkcs::AlgorithmIdentifier ^ get(); };
public System.Security.Cryptography.Pkcs.AlgorithmIdentifier ContentEncryptionAlgorithm { get; }
member this.ContentEncryptionAlgorithm : System.Security.Cryptography.Pkcs.AlgorithmIdentifier
Public ReadOnly Property ContentEncryptionAlgorithm As AlgorithmIdentifier
Property Value
The identifier of the symmetric encryption algorithm associated with this message.
Remarks
When the EnvelopedCms class is being used to to encrypt data, the value of this property indicates which symmetric encryption algorithm to use to encrypt the content of ContentInfo.
The value of this property is replaced during a call to Decode, which then represents the symmetric encryption algorithm which was used to encrypt the decoded message.