Module

x/jose/jws/flattened/verify.ts>flattenedVerify

"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 flattenedVerify
import { flattenedVerify } from "https://dotland.deno.dev/x/jose@v5.2.0/jws/flattened/verify.ts";

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

Parameters

Flattened 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

Flattened JWS.

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

optional
options: VerifyOptions

JWS Verify options.