Skip to main content
Module

x/jose/index.ts>GeneralSign#addSignature

JWA, JWS, JWE, JWT, JWK, JWKS for Node.js, Browser, Cloudflare Workers, Deno, Bun, and other Web-interoperable runtimes.
Extremely Popular
Latest
method GeneralSign.prototype.addSignature
import { GeneralSign } from "https://deno.land/x/jose@v5.9.3/index.ts";

Adds an additional signature for the General JWS object.

Parameters

key: KeyLike | Uint8Array | JWK

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

optional
options: SignOptions

JWS Sign options.