Interface AesGcmGenerateKeyParams

The AesGcmGenerateKeyParams interface defines the algorithm-specific parameters that should be passed into the generateKey() method when using the AES-GCM algorithm.

interface AesGcmGenerateKeyParams {
    algorithm: "A128GCM" | "A192GCM" | "A256GCM";
}

Hierarchy (view full)

Properties

Properties

algorithm: "A128GCM" | "A192GCM" | "A256GCM"

Specifies the algorithm variant for key generation in AES-GCM mode. The value determines the length of the key to be generated and must be one of the following:

  • "A128GCM": Generates a 128-bit key.
  • "A192GCM": Generates a 192-bit key.
  • "A256GCM": Generates a 256-bit key.