Class AesGcmCipherParameters
Definition
- Namespace:
- Tizen.Security.SecureRepository.Crypto
- Assembly:
- Tizen.Security.SecureRepository.dll
Holds parameters for the AES algorithm with the GCM mode.
public class AesGcmCipherParameters : AesCipherParameters
- Inheritance
Constructors
View SourceAesGcmCipherParameters()
Initializes an instance of AesGcmCipherParameters class.
Declaration
public AesGcmCipherParameters()
Remarks
CipherAlgorithmType in CipherParameters is set to CipherAlgorithmType.AesGcm.
Properties
View SourceAAD
Gets and sets additional authentication data.
Declaration
public byte[] AAD { get; set; }
Property Value
Type | Description |
---|---|
byte[] | Additional authentication data (optional). |
TagLength
Gets and sets GCM tag length.
Declaration
public 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}. |