UNPKG

@guarani/jose

Version:

Implementation of the RFCs of the JOSE Working Group.

32 lines (31 loc) 682 B
/// <reference types="node" /> import { JsonWebEncryptionHeader } from '../jsonwebencryption.header'; /** * Parameters that compose the Decoded JSON Web Encryption Token. */ export interface CompactDecodeParams { /** * JSON Web Encryption Header. */ readonly header: JsonWebEncryptionHeader; /** * Wrapped Content Encryption Key. */ readonly ek: Buffer; /** * Initialization Vector. */ readonly iv: Buffer; /** * Ciphertext. */ readonly ciphertext: Buffer; /** * Authentication Tag. */ readonly tag: Buffer; /** * Additional Authenticated Data. */ readonly aad: Buffer; }