Skip to main content
Module

x/jose/lib/encrypt_key_management.ts>default

JWA, JWS, JWE, JWT, JWK, JWKS for Node.js, Browser, Cloudflare Workers, Deno, Bun, and other Web-interoperable runtimes.
Extremely Popular
Latest
function default
import { default } from "https://deno.land/x/jose@v5.3.0/lib/encrypt_key_management.ts";

Parameters

alg: string
enc: string
key: KeyLike | Uint8Array
optional
providedCek: Uint8Array
optional
providedParameters: JWEKeyManagementHeaderParameters = [UNSUPPORTED]

Returns

Promise<{ cek: KeyLike | Uint8Array; encryptedKey?: Uint8Array; parameters?: JWEHeaderParameters; }>