UNPKG

@credo-ts/core

Version:

<p align="center"> <br /> <img alt="Credo Logo" src="https://github.com/openwallet-foundation/credo-ts/blob/c7886cb8377ceb8ee4efe8d264211e561a75072d/images/credo-logo.png" height="250px" /> </p> <h1 align="center"><b>Credo - Core</b></h1

27 lines (26 loc) • 713 B
import { Jwk } from "../../../modules/kms/jwk/jwk.mjs"; import { JwtPayload } from "./JwtPayload.mjs"; import "../../../modules/kms/index.mjs"; //#region src/crypto/jose/jwt/Jwt.d.ts interface JwtHeader { alg: string; kid?: string; jwk?: Jwk; x5c?: string[]; [key: string]: unknown; } declare class Jwt { static format: RegExp; readonly payload: JwtPayload; readonly header: JwtHeader; readonly signature: Uint8Array; /** * Compact serialization of the JWT. Contains the payload, header, and signature. */ readonly serializedJwt: string; private constructor(); static fromSerializedJwt(serializedJwt: string): Jwt; } //#endregion export { Jwt }; //# sourceMappingURL=Jwt.d.mts.map