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

31 lines • 1.19 kB
import { X509Certificate } from "../x509/X509Certificate.mjs"; import "../x509/index.mjs"; import { PublicJwk } from "../kms/jwk/PublicJwk.mjs"; import { index_d_exports } from "../kms/index.mjs"; //#region src/modules/token-status-list/TokenStatusListSigner.d.ts export interface TokenStatusListSignerDid { method: 'did'; /** * The did url pointing to a specific verification method. * * Note a created DID record MUST exist for the did url, enabling extraction of the KMS key id from the did record. */ didUrl: string; } export interface TokenStatusListSignerX5c { method: 'x5c'; /** * Array of X.509 certificates * * The certificate containing the public key corresponding to the key used to digitally sign the JWS MUST be the first certificate. * The first certificate MUST also have a key id configured on the public key to enable signing with the KMS. */ x5c: X509Certificate[]; } export interface TokenStatusListSignerJwk { method: 'jwk'; jwk: PublicJwk; } export type TokenStatusListSigner = TokenStatusListSignerDid | TokenStatusListSignerX5c | TokenStatusListSignerJwk; //#endregion //# sourceMappingURL=TokenStatusListSigner.d.mts.map