Edit

Share via


EnvelopedCms.ContentEncryptionAlgorithm Property

Definition

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.

Applies to