Module

x/jose/index.ts>EncryptJWT#setKeyManagementParameters

JWA, JWS, JWE, JWT, JWK, JWKS for Node.js, Browser, Cloudflare Workers, Deno, Bun, and other Web-interoperable runtimes.
Extremely Popular
Latest
method EncryptJWT.prototype.setKeyManagementParameters
import { EncryptJWT } from "https://dotland.deno.dev/x/jose@v5.9.6/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.