EnvelopedCms.ContentEncryptionAlgorithm 属性
定义
获取与此消息关联的对称加密算法的标识符。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
属性值
与此消息关联的对称加密算法的标识符。The identifier of the symmetric encryption algorithm associated with this message.
注解
当 EnvelopedCms 使用类来加密数据时,此属性的值指示要用于加密的内容的对称加密算法 ContentInfo 。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.
此属性的值在调用期间被替换 Decode ,后者表示用于对解码的消息进行加密的对称加密算法。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.