Module

x/jose/index.ts>GeneralEncrypt#setSharedUnprotectedHeader

"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 GeneralEncrypt.prototype.setSharedUnprotectedHeader
import { GeneralEncrypt } from "https://dotland.deno.dev/x/jose@v4.15.1/index.ts";

Sets the JWE Shared Unprotected Header on the GeneralEncrypt object.

Parameters

sharedUnprotectedHeader: JWEHeaderParameters

JWE Shared Unprotected Header object.