EncryptedXml.Mode 属性

定义

获取或设置用于 XML 加密的密码模式。

public:
 property System::Security::Cryptography::CipherMode Mode { System::Security::Cryptography::CipherMode get(); void set(System::Security::Cryptography::CipherMode value); };
public System.Security.Cryptography.CipherMode Mode { get; set; }
member this.Mode : System.Security.Cryptography.CipherMode with get, set
Public Property Mode As CipherMode

属性值

其中一个 CipherMode 值。

注解

密码块链 (CBC) 模式是 XML 加密的默认密码模式。 可以使用此属性指定枚举的其他密码模式 CipherMode ,例如密码反馈 (CFB) 模式。

适用于