Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/jose/jws/flattened/sign.ts>FlattenedSign#sign

"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 FlattenedSign.prototype.sign
import { FlattenedSign } from "https://deno.land/x/jose@v4.8.3/jws/flattened/sign.ts";

Signs and resolves the value of the Flattened JWS object.

Parameters

key: KeyLike | Uint8Array

Private Key or Secret to sign the JWS with.

optional
options: SignOptions

JWS Sign options.