function verifyJWS
verifyJWS(
jws: string,
key?: JWK,
): JWSVerificationResult

Verify JWS signature against the embedded JWK key.

Returns both the signed payload and the embedded JWK key used to sign the payload.

Parameters

jws: string
optional
key: JWK

Return Type