Function verify

Source
pub fn verify(
    signature: &Signature,
    challenge_fragments: &[Random32Bytes],
    verifying_key: &VerifyingKey,
) -> Result<(), CryptoError>
Expand description

Given an identity challenge response signature, a list of identity challenge fragments and a verifying key for challenged party, returns an Ok result for valid identity challenge response signature, or an appropriate Err result otherwise.

Ref: https://wamu.tech/specification#identity-challenge-verification.