Share via


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) 模式。

适用于