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 • 750 B
import { PublicJwk } from "../modules/kms/jwk/PublicJwk.mjs"; import "../modules/kms/index.mjs"; //#region src/crypto/JwsSigner.d.ts export interface JwsSignerDid { method: 'did'; didUrl: string; } export interface JwsSignerX5c { method: 'x5c'; /** * * Array of base64-encoded certificate strings in the DER-format. * * The certificate containing the public key corresponding to the key used to digitally sign the JWS MUST be the first certificate. */ x5c: string[]; } export interface JwsSignerJwk { method: 'jwk'; jwk: PublicJwk; } export type JwsSigner = JwsSignerDid | JwsSignerX5c | JwsSignerJwk; export type JwsSignerWithJwk = JwsSigner & { jwk: PublicJwk; }; //#endregion //# sourceMappingURL=JwsSigner.d.mts.map