@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
25 lines • 703 B
text/typescript
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;
}
export 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
//# sourceMappingURL=Jwt.d.mts.map