create_key_proofs

Function create_key_proofs 

Source
pub fn create_key_proofs(
    challenge: &KeyChallenge,
    key_pairs: &[&KeyPair],
) -> Result<KeyResponse, Error>
Expand description

Creates key proofs for all provided keys

For each key, creates a signature over (nonce || server_public_key) and packages it with the corresponding public key.

§Arguments

  • challenge - Challenge received from server
  • key_pairs - Keys to create proofs for

§Returns

A response containing all key proofs