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

x/jose/jws/general/verify.ts>generalVerify

"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
function generalVerify
import { generalVerify } from "https://deno.land/x/jose@v5.2.0/jws/general/verify.ts";

Verifies the signature and format of and afterwards decodes the General JWS.

Parameters

General JWS.

key: KeyLike | Uint8Array

Key to verify the JWS with. See Algorithm Key Requirements.

optional
options: VerifyOptions

JWS Verify options.

Type Parameters

optional
KeyLikeType extends KeyLike = KeyLike

Parameters

General JWS.

Function resolving a key to verify the JWS with. See Algorithm Key Requirements.

optional
options: VerifyOptions

JWS Verify options.