Class AesCcmParams

AES-CCM parameters

Implements

Constructors

Properties

Methods

Constructors

  • Creates a new instance of AesCcmParams

    Parameters

    • dataLength: number

      Length of the data where 0 <= dataLength < 2^8L

    • nonce: Buffer

      The nonce

    • aad: Buffer = ...

      The additional authentication data

    • macLength: number = 0

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

    Returns AesCcmParams

Properties

aad: Buffer

The additional authentication data

  • This data is authenticated but not encrypted
dataLength: number

Length of the data where 0 <= dataLength < 2^8L

macLength: number

Length of authentication tag (output following cipher text) in bits.

  • Can be any value between 0 and 128
nonce: Buffer

The nonce

type: MechParams = MechParams.AesCCM

Methods

Generated using TypeDoc