import { generalVerify } from "https://deno.land/x/faster@v11.7/vendor/jose/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'
.
Parameters
jws: GeneralJWSInput
General JWS.
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>>