Share via


EncryptedXml.Mode 屬性

定義

取得或設定 XML 加密所使用的 Cipher 模式。

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 ,例如 Cipher Feedback (CFB) 模式。

適用於