CatapultServer  v0.5.0.1 (Elephant)
Challenge.cpp File Reference
Include dependency graph for Challenge.cpp:

Namespaces

 catapult
 
 catapult::net
 

Functions

std::shared_ptr< ServerChallengeRequest > catapult::net::GenerateServerChallengeRequest ()
 Generates a random server challenge request that is sent to a client. More...
 
std::shared_ptr< ServerChallengeResponse > catapult::net::GenerateServerChallengeResponse (const ServerChallengeRequest &request, const crypto::KeyPair &keyPair, ionet::ConnectionSecurityMode securityMode)
 
bool catapult::net::VerifyServerChallengeResponse (const ServerChallengeResponse &response, const Challenge &challenge)
 Verifies a client's response to challenge. More...
 
std::shared_ptr< ClientChallengeResponse > catapult::net::GenerateClientChallengeResponse (const ServerChallengeResponse &request, const crypto::KeyPair &keyPair)
 Generates a server response to a client challenge (request) using the server key pair (keyPair). More...
 
bool catapult::net::VerifyClientChallengeResponse (const ClientChallengeResponse &response, const Key &serverPublicKey, const Challenge &challenge)