Class AesCryptorOptions
- Namespace
- Cuemon.Security.Cryptography
- Assembly
- Cuemon.Security.Cryptography.dll
Configuration options for AesCryptor.
public class AesCryptorOptions : IParameterObject
- Inheritance
-
AesCryptorOptions
- Implements
Constructors
AesCryptorOptions()
Initializes a new instance of the AesCryptorOptions class.
public AesCryptorOptions()
Remarks
The following table shows the initial property values for an instance of AesCryptorOptions.
Property | Initial Value |
---|---|
Mode | CBC |
Padding | PKCS7 |
Properties
Mode
Gets or sets the mode for operation of the symmetric algorithm.
public CipherMode Mode { get; set; }
Property Value
- CipherMode
The mode for operation of the symmetric algorithm. The default is CBC.
Padding
Gets or sets the padding mode used in the symmetric algorithm.
public PaddingMode Padding { get; set; }
Property Value
- PaddingMode
The padding mode used in the symmetric algorithm. The default is PKCS7.