Class AesGcm240Params

AES-GCM parameters for Cryptoki v2.40

Hierarchy (view full)

Constructors

Properties

Methods

Constructors

Properties

aad: Buffer

The additional authentication data. This data is authenticated but not encrypted.

iv: Buffer

Initialization vector

  • The length of the initialization vector can be any number between 1 and 256. 96-bit (12 byte) IV values can be processed more efficiently, so that length is recommended for situations in which efficiency is critical.
tagBits: number

The length of authentication tag (output following cipher text) in bits. Can be any value between 0 and 128. Default 128

type: MechParams = MechParams.AesGCMv240

Methods