MPDC: Multi Party Domain Cryptosystem 1.0.0.0b (A0)
MPDC Interior protocol
|
MPDC Client Functions. More...
Go to the source code of this file.
Functions | |
bool | mpdc_client_connect_callback (const mpdc_topology_node_state *rnode) |
Callback function to evaluate an incoming connection request. | |
MPDC_EXPORT_API void | mpdc_client_pause_server () |
Pause the Client server. | |
MPDC_EXPORT_API int32_t | mpdc_client_start_server () |
Start the Client server. | |
MPDC_EXPORT_API void | mpdc_client_stop_server () |
Stop the Client server. | |
MPDC Client Functions.
This header defines the public interface for the MPDC client, which is responsible for handling secure communications, certificate registration, topology queries, and tunnel establishment on the client side of the Multi-Party Domain Cryptosystem (MPDC). The client module works in coordination with other network components (e.g., MAS, DLA, and Agent) to provide a secure communication channel.
Key functionalities include:
Testing: The client module is validated through a series of network simulation tests which exercise:
These tests collectively ensure that the client correctly implements the MPDC protocol and can maintain secure and reliable communication within the network.
bool mpdc_client_connect_callback | ( | const mpdc_topology_node_state * | rnode | ) |
Callback function to evaluate an incoming connection request.
Use this callback to determine whether a remote node requesting connection should be accepted.
rnode | [in, const] The remote topology node requesting the connection. |
MPDC_EXPORT_API void mpdc_client_pause_server | ( | ) |
Pause the Client server.
Temporarily pause the MPDC client server, suspending network operations and the user command loop.
MPDC_EXPORT_API int32_t mpdc_client_start_server | ( | ) |
Start the Client server.
Initializes and starts the MPDC client server. This function sets up the network socket, loads the local certificate, registers with the network topology, and begins the user command loop along with the secure tunnel interface.
MPDC_EXPORT_API void mpdc_client_stop_server | ( | ) |
Stop the Client server.
Terminates the MPDC client server, closing all active network connections and stopping the command loop.