@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) • 309 B
text/typescript
import { CryptoKey } from '../types.d.cjs';
declare function deriveKey(publicKey: CryptoKey, privateKey: CryptoKey, algorithm: string, keyLength: number, apu?: Uint8Array, apv?: Uint8Array): Promise<Uint8Array<ArrayBuffer>>;
declare function allowed(key: CryptoKey): boolean;
export { allowed, deriveKey };