pub fn verify(
request: &IdentityAuthedRequestPayload,
verified_parties: &[VerifyingKey],
) -> Result<(), IdentityAuthedRequestError>
Expand description
Given a “command”, an identity authenticated request payload and a list of verifying keys for the other parties, returns an ok result for a valid request or an appropriate error result for an invalid request.
Ref: https://wamu.tech/specification#identity-authed-request-verification.