Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/jose/index.ts>EncryptJWT#setKeyManagementParameters

"JSON Web Almost Everything" - 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 EncryptJWT.prototype.setKeyManagementParameters
import { EncryptJWT } from "https://deno.land/x/jose@v4.14.4/index.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.