EncryptedXml.Mode Property


Gets or sets the cipher mode used for XML encryption.

Namespace:   System.Security.Cryptography.Xml
Assembly:  System.Security (in System.Security.dll)

public CipherMode Mode { get; set; }

Property Value

Type: System.Security.Cryptography.CipherMode

One of the CipherMode values.

Cipher Block Chaining (CBC) mode is the default cipher mode for XML encryption. You can use this property to specify other cipher modes of the CipherMode enumeration, such as Cipher Feedback (CFB) mode.

.NET Framework
Available since 2.0
Return to top