import { jose } from "https://deno.land/x/jwe_cookie_map@v1.0.0-rc0/deps.ts";
const { compactVerify } = jose;
Verifies the signature and format of and afterwards decodes the Compact JWS.
Parameters
key: KeyLike | Uint8Array
Key to verify the JWS with. See Algorithm Key Requirements.
optional
options: VerifyOptionsJWS Verify options.
Returns
Promise<CompactVerifyResult>
Parameters
getKey: CompactVerifyGetKey
Function resolving a key to verify the JWS with. See Algorithm Key Requirements.
optional
options: VerifyOptionsJWS Verify options.
Returns
Promise<CompactVerifyResult & ResolvedKey<T>>