CatapultServer
v0.5.0.1 (Elephant)
|
Go to the source code of this file.
Classes | |
struct | catapult::net::ServerChallengeRequest |
Packet representing a challenge request from a server to a client. More... | |
struct | catapult::net::ServerChallengeResponse |
Packet representing a challenge response and new challenge request from a client to a server. More... | |
struct | catapult::net::ClientChallengeResponse |
Packet representing a challenge response from a server to a client. More... | |
Namespaces | |
catapult | |
catapult::crypto | |
catapult::net | |
Typedefs | |
using | catapult::net::Challenge = std::array< uint8_t, 64 > |
Challenge data. More... | |
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) |