Class AesGcmCipherParameters
Definition
- Namespace:
- Tizen.Security.SecureRepository.Crypto
- Assembly:
- Tizen.Security.SecureRepository.dll
A class for holding parameters for the AES algorithm with the GCM mode.
public class AesGcmCipherParameters : AesCipherParameters
- Inheritance
Constructors
View SourceAesGcmCipherParameters()
A default constructor.
Declaration
public AesGcmCipherParameters()
Remarks
The CipherAlgorithmType in CipherParameters is set to CipherAlgorithmType.AesGcm.
Properties
View SourceAAD
Additional authentication data (optional).
Declaration
public byte[] AAD { get; set; }
Property Value
Type | Description |
---|---|
byte[] |
TagLength
GCM tag length in bits.
Declaration
public long TagLength { get; set; }
Property Value
Type | Description |
---|---|
long |
Remarks
One of {32, 64, 96, 104, 112, 120, 128} (optional), if not present the length 128 is used.
Exceptions
Type | Condition |
---|---|
System.ArgumentOutOfRangeException | TagLength should be one of {32, 64, 96, 104, 112, 120, 128}. |