Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/jose/index.ts>CompactSign#setProtectedHeader

"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 CompactSign.prototype.setProtectedHeader
import { CompactSign } from "https://deno.land/x/jose@v4.15.1/index.ts";

Sets the JWS Protected Header on the Sign object.

Parameters

JWS Protected Header.