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#
Copy
public class AesGcmCipherParameters : AesCipherParameters
Inheritance
System.Object
AesGcmCipherParameters

Constructors

View Source

AesGcmCipherParameters()

A default constructor.

Declaration
C#
Copy
public AesGcmCipherParameters()
Remarks

The CipherAlgorithmType in CipherParameters is set to CipherAlgorithmType.AesGcm.

API Level: 3

Properties

View Source

AAD

Additional authentication data (optional).

Declaration
C#
Copy
public byte[] AAD { get; set; }
Property Value
Type Description
System.Byte[]
API Level: 3
View Source

TagLength

GCM tag length in bits.

Declaration
C#
Copy
public 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}.

API Level: 3