UNPKG

@gaonengwww/jose

Version:

JWA, JWS, JWE, JWT, JWK, JWKS for Node.js, Browser, Cloudflare Workers, Deno, Bun, and other Web-interoperable runtimes

24 lines (22 loc) 503 B
declare const _default: (alg: string, algorithm: KeyAlgorithm | EcKeyAlgorithm) => { hash: string; name: string; saltLength?: undefined; namedCurve?: undefined; } | { hash: string; name: string; saltLength: number; namedCurve?: undefined; } | { hash: string; name: string; namedCurve: string; saltLength?: undefined; } | { name: string; hash?: undefined; saltLength?: undefined; namedCurve?: undefined; }; export { _default as default };