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

適用於