UNPKG

@guarani/jose

Version:

Implementation of the RFCs of the JOSE Working Group.

20 lines (19 loc) 530 B
/// <reference types="node" /> import { JsonWebSignatureHeader } from '../jsonwebsignature.header'; /** * Parameters returned when decoding a JSON Web Signature Compact Token. */ export interface DecodeCompactParams { /** * Header of the JSON Web Signature. */ readonly header: JsonWebSignatureHeader; /** * Payload of the JSON Web Signature. */ readonly payload: Buffer; /** * Signature of the Header and Payload of the JSON Web Signature. */ readonly signature: Buffer; }