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

x/jose/index.ts>GeneralSign#addSignature

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

Adds an additional signature for the General JWS object.

Parameters

key: KeyLike | Uint8Array

Private Key or Secret to sign the individual JWS signature with. See Algorithm Key Requirements.

optional
options: SignOptions

JWS Sign options.