Class AesGcmCipherParameters
Definition
- Namespace:
- Tizen.Security.SecureRepository.Crypto
- Assembly:
- Tizen.Security.SecureRepository.dll
- API Level:
- 3
A class for holding parameters for the AES algorithm with the GCM mode.
C#Copypublic class AesGcmCipherParameters : AesCipherParameters
- Inheritance
Constructors
Declaration
C#Copypublic AesGcmCipherParameters()
Remarks
The CipherAlgorithmType in CipherParameters is set to CipherAlgorithmType.AesGcm.
API Level: 3
Properties
Declaration
C#Copypublic byte[] AAD { get; set; }
Property Value
Type | Description |
---|---|
System.Byte[] |
API Level: 3
Declaration
C#Copypublic long TagLength { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
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}. |