@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) • 314 B
text/typescript
import { CryptoKey } from '../types.d.cjs';
declare function wrap(alg: string, key: CryptoKey | Uint8Array, cek: Uint8Array): Promise<Uint8Array<ArrayBuffer>>;
declare function unwrap(alg: string, key: CryptoKey | Uint8Array, encryptedKey: Uint8Array): Promise<Uint8Array<ArrayBuffer>>;
export { unwrap, wrap };