@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
1 lines • 947 B
Source Map (JSON)
{"version":3,"file":"mdocSupportedAlgs.mjs","names":[],"sources":["../../../src/modules/mdoc/mdocSupportedAlgs.ts"],"sourcesContent":["import { type KnownJwaSignatureAlgorithm, KnownJwaSignatureAlgorithms } from '../kms'\n\nexport type MdocSupportedSignatureAlgorithm = (typeof mdocSupportedSignatureAlgorithms)[number]\nexport const mdocSupportedSignatureAlgorithms = [\n KnownJwaSignatureAlgorithms.ES256,\n KnownJwaSignatureAlgorithms.ES384,\n KnownJwaSignatureAlgorithms.ES512,\n KnownJwaSignatureAlgorithms.EdDSA,\n] satisfies KnownJwaSignatureAlgorithm[]\n\nexport function isMdocSupportedSignatureAlgorithm(\n alg: KnownJwaSignatureAlgorithm\n): alg is MdocSupportedSignatureAlgorithm {\n return mdocSupportedSignatureAlgorithms.includes(alg as MdocSupportedSignatureAlgorithm)\n}\n"],"mappings":";;;AAGA,MAAa,mCAAmC;CAC9C,4BAA4B;CAC5B,4BAA4B;CAC5B,4BAA4B;CAC5B,4BAA4B;AAC9B;AAEA,SAAgB,kCACd,KACwC;CACxC,OAAO,iCAAiC,SAAS,GAAsC;AACzF"}