Skip to main content
Latest
function jose.generalDecrypt
import { jose } from "https://deno.land/x/jwe_cookie_map@v1.0.1/src/deps.ts";
const { generalDecrypt } = jose;

Decrypts a General JWE.

Parameters

General JWE.

key: KeyLike | Uint8Array

Private Key or Secret to decrypt the JWE with. See Algorithm Key Requirements.

optional
options: DecryptOptions

JWE Decryption options.

Type Parameters

optional
T extends KeyLike = KeyLike

Parameters

General JWE.

Function resolving Private Key or Secret to decrypt the JWE with. See Algorithm Key Requirements.

optional
options: DecryptOptions

JWE Decryption options.