Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/jose/jwe/flattened/encrypt.ts>FlattenedEncrypt#setKeyManagementParameters

JWA, JWS, JWE, JWT, JWK, JWKS for Node.js, Browser, Cloudflare Workers, Deno, Bun, and other Web-interoperable runtimes.
Extremely Popular
Go to Latest
method FlattenedEncrypt.prototype.setKeyManagementParameters
import { FlattenedEncrypt } from "https://deno.land/x/jose@v5.4.1/jwe/flattened/encrypt.ts";

Sets the JWE Key Management parameters to be used when encrypting. Use of this is method is really only needed for ECDH based algorithms when utilizing the Agreement PartyUInfo or Agreement PartyVInfo parameters. Other parameters will always be randomly generated when needed and missing.

Parameters

JWE Key Management parameters.