Module

x/jose/index.ts>FlattenedEncrypt#setSharedUnprotectedHeader

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.setSharedUnprotectedHeader
import { FlattenedEncrypt } from "https://dotland.deno.dev/x/jose@v5.9.2/index.ts";

Sets the JWE Shared Unprotected Header on the FlattenedEncrypt object.

Parameters

sharedUnprotectedHeader: JWEHeaderParameters

JWE Shared Unprotected Header.