Class AesKeyOptions
- Namespace
- Cuemon.Security.Cryptography
- Assembly
- Cuemon.Security.Cryptography.dll
Configuration options for GenerateKey(Action<AesKeyOptions>).
public class AesKeyOptions : IParameterObject
- Inheritance
-
AesKeyOptions
- Implements
Constructors
AesKeyOptions()
Initializes a new instance of the AesKeyOptions class.
public AesKeyOptions()
Remarks
The following table shows the initial property values for an instance of AesKeyOptions.
Property | Initial Value |
---|---|
RandomStringProvider |
|
Size | Aes256 |
Properties
RandomStringProvider
Gets or sets the function delegate that provides a random generated string.
public Func<AesSize, string> RandomStringProvider { get; set; }
Property Value
Exceptions
- ArgumentNullException
value
cannot be null.
Size
Gets or sets the size of the Advanced Encryption Standard (AES) symmetric algorithm.
public AesSize Size { get; set; }
Property Value
- AesSize
The size of the Advanced Encryption Standard (AES) symmetric algorithm.
Exceptions
- InvalidEnumArgumentException
value
is not a valid value of AesSize.