EncryptedXml.Padding Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.