JavaScript HSM API Dinamo
    Preparing search index...

    Type Alias HsmCipherOptions

    Options for symmetric encryption operations.

    type HsmCipherOptions = {
        keyName: string;
        mode: number;
        iv: Buffer;
        isFqn?: boolean;
    }
    Index

    Properties

    Properties

    keyName: string

    Name of the key in the HSM.

    mode: number

    Operating mode (Direction | Mode). Use the enums enums.SYMMETRIC_OPERATIONS_DIRECTION and enums.SYMMETRIC_OPERATIONS_MODE.

    iv: Buffer

    Initialization vector (IV). For AES CBC/CTR/GCM, it must be 16 bytes long.

    isFqn?: boolean

    Indicates whether the key name is an FQN (Fully Qualified Name).