Verifies the signature of an event JWS with key and returns the event; MALFORMED when its shape is wrong.
key
Optional
Verifies the signature of an event JWS with
keyand returns the event; MALFORMED when its shape is wrong.