import { generalVerify } from "https://dotland.deno.dev/x/jose@v5.9.6/jws/general/verify.ts";
Verifies the signature and format of and afterwards decodes the General JWS.
This function is exported (as a named export) from the main 'jose'
module entry point as well
as from its subpath export 'jose/jws/general/verify'
.
Returns
Promise<GeneralVerifyResult>
Parameters
getKey: GeneralVerifyGetKey
Function resolving a key to verify the JWS with. See Algorithm Key Requirements.
Returns
Promise<GeneralVerifyResult & ResolvedKey<KeyLikeType>>