import { flattenedVerify } from "https://deno.land/x/jose@v5.9.6/jws/flattened/verify.ts";
Verifies the signature and format of and afterwards decodes the Flattened 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/flattened/verify'
.
Parameters
jws: FlattenedJWSInput
Flattened JWS.
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<KeyLikeType>>