Function verify_challenge_response

Source
pub fn verify_challenge_response(
    response: &IdentityRotationChallengeResponsePayload,
    challenge_fragments: &[Random32Bytes],
    verifying_key: &VerifyingKey,
) -> Result<(), Error>
Expand description

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