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.

C#
Copy
public class AesGcmCipherParameters : AesCipherParameters
Inheritance
object
AesGcmCipherParameters

Constructors

View Source

AesGcmCipherParameters()

A default constructor.

Declaration
C#
Copy
public AesGcmCipherParameters()
Remarks

The CipherAlgorithmType in CipherParameters is set to CipherAlgorithmType.AesGcm.

Properties

View Source

AAD

Additional authentication data (optional).

Declaration
C#
Copy
public byte[] AAD { get; set; }
Property Value
Type Description
byte[]
View Source

TagLength

GCM tag length in bits.

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