EncryptedXml.Padding Property

Definition

Gets or sets the padding mode used for XML encryption.

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

Property Value

One of the PaddingMode values that specifies the type of padding used for encryption.

Remarks

ISO-10126 padding is the default padding mode for XML encryption. You can use this property to specify other padding modes of the PaddingMode enumeration, such as ANSI X9.23 or PKCS#5.

Applies to