Skip to main content
Module

x/jose/types.d.ts>DecryptOptions

"JSON Web Almost Everything" - JWA, JWS, JWE, JWT, JWK, JWKS with no dependencies using runtime's native crypto in Node.js, Browser, Cloudflare Workers, Electron, and Deno.
Extremely Popular
Go to Latest
interface DecryptOptions
implements CritOption
import { type DecryptOptions } from "https://deno.land/x/jose@v4.8.3/types.d.ts";

JWE Decryption options.

Properties

optional
keyManagementAlgorithms: string[]

A list of accepted JWE "alg" (Algorithm) Header Parameter values.

optional
contentEncryptionAlgorithms: string[]

A list of accepted JWE "enc" (Encryption Algorithm) Header Parameter values. By default all "enc" (Encryption Algorithm) values applicable for the used key/secret are allowed.

optional
inflateRaw: InflateFunction

In a browser runtime you have to provide an implementation for Inflate Raw when you expect JWEs with compressed plaintext.