pub fn validate_proof_shape(
proof: &IdentityProof,
challenge: &IdentityChallenge,
) -> Result<(), AuthProtocolError>Expand description
Validate an IdentityProof against a challenge (Section 15.3):
the echoed nonce must match, and the key shape must match the declared
scheme. Signature verification itself belongs to the verifier, which knows
the trusted key set.