UNPKG

@gaonengwww/jose

Version:

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

7 lines (4 loc) 271 B
import { CryptoKey } from '../types.d.js'; declare function checkSigCryptoKey(key: CryptoKey, alg: string, usage: KeyUsage): void; declare function checkEncCryptoKey(key: CryptoKey, alg: string, usage?: KeyUsage): void; export { checkEncCryptoKey, checkSigCryptoKey };