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
jws: GeneralJWSInput
General JWS.
key: KeyLike | Uint8Array
Key to verify the JWS with. See Algorithm Key Requirements.
optional
options: VerifyOptionsJWS Verify options.
Returns
Promise<GeneralVerifyResult>
Parameters
jws: GeneralJWSInput
General JWS.
getKey: GeneralVerifyGetKey
Function resolving a key to verify the JWS with. See Algorithm Key Requirements.
optional
options: VerifyOptionsJWS Verify options.
Returns
Promise<GeneralVerifyResult & ResolvedKey<KeyLikeType>>