Skip to main content
Module

x/jose/index.ts>GeneralEncrypt#setSharedUnprotectedHeader

"JSON Web Almost Everything" - JWA, JWS, JWE, JWT, JWK, JWKS with no dependencies using runtime's native crypto in Node.js, Browser, Cloudflare Workers, Electron, and Deno.
Extremely Popular
Go to Latest
method GeneralEncrypt.prototype.setSharedUnprotectedHeader
import { GeneralEncrypt } from "https://deno.land/x/jose@v4.8.3/index.ts";

Sets the JWE Shared Unprotected Header on the GeneralEncrypt object.

Parameters

sharedUnprotectedHeader: JWEHeaderParameters

JWE Shared Unprotected Header object.