pub fn verify_es256(statement: &[u8], key: &VerifyingKey) -> Result<Payload>Expand description
Parses and verifies an ES256 COSE_Sign1 statement and its PSER payload.
ยงErrors
Returns an error for malformed envelopes, invalid headers or payloads, or a bad signature.