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

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
T 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.