verify_single_key_proof

Function verify_single_key_proof 

Source
fn verify_single_key_proof(
    key_proof: &KeyProof,
    signature_data: &[u8],
) -> Result<()>
Expand description

Verifies a single key proof

Uses the public key and signature from the key proof to verify the signature over the challenge data.

§Arguments

  • key_proof - The key proof to verify
  • signature_data - The data that should have been signed (nonce)

§Returns

Ok(()) if verification succeeds, Err with details if it fails