Function jws::compact::decode_verify
source · pub fn decode_verify(
data: &[u8],
verifier: impl Verifier
) -> Result<DecodedMessage>
Expand description
Decode and verify a JWS Compact Serialization message.
Note that if verification fails, you will not have access to the decoded message.
If that is required, you may use split_encoded_parts
and decode/verify the message manually.