verify_key_proofs

Function verify_key_proofs 

Source
pub fn verify_key_proofs(
    response: KeyResponse,
    challenge: &KeyChallenge,
) -> Result<(HashSet<VerifyingKey>, KeyResult)>
Expand description

Verifies all key proofs in a response

Each key proof is verified independently. The function continues even if some proofs fail, collecting all successful verifications.

§Arguments

  • response - Client’s response containing key proofs
  • challenge - Original key challenge (needed for signature verification)

§Returns

A tuple containing:

  • Set of successfully verified public keys (as encoded bytes)
  • Key specific result indicating which proofs succeeded/failed