Table of Contents

Class AesCryptorOptions

Namespace
Cuemon.Security.Cryptography
Assembly
Cuemon.Security.Cryptography.dll

Configuration options for AesCryptor.

public class AesCryptorOptions : IParameterObject
Inheritance
Object
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.

PropertyInitial Value
ModeSystem.Security.Cryptography.CipherMode.CBC
PaddingSystem.Security.Cryptography.PaddingMode.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 System.Security.Cryptography.CipherMode.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 System.Security.Cryptography.PaddingMode.PKCS7.

See Also