import { jose } from "https://deno.land/x/jwe_cookie_map@v1.0.1/src/deps.ts";
const { flattenedVerify } = jose;
Verifies the signature and format of and afterwards decodes the Flattened JWS.
Parameters
jws: FlattenedJWSInput
Flattened JWS.
key: KeyLike | Uint8Array
Key to verify the JWS with. See Algorithm Key Requirements.
optional
options: VerifyOptionsJWS Verify options.
Returns
Promise<FlattenedVerifyResult>
Parameters
jws: FlattenedJWSInput
Flattened JWS.
getKey: FlattenedVerifyGetKey
Function resolving a key to verify the JWS with. See Algorithm Key Requirements.
optional
options: VerifyOptionsJWS Verify options.
Returns
Promise<FlattenedVerifyResult & ResolvedKey<T>>