Skip to main content
Latest
method jose.FlattenedEncrypt.prototype.setProtectedHeader
import { jose } from "https://deno.land/x/jwe_cookie_map@v1.0.1/src/deps.ts";
const { FlattenedEncrypt } = jose;

Sets the JWE Protected Header on the FlattenedEncrypt object.

Parameters

protectedHeader: JWEHeaderParameters

JWE Protected Header.