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