Module

x/jose/index.ts>FlattenedSign#setUnprotectedHeader

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

Sets the JWS Unprotected Header on the FlattenedSign object.

Parameters

unprotectedHeader: JWSHeaderParameters

JWS Unprotected Header.