MPDC: Multi Party Domain Cryptosystem 1.0.0.0b (A0)
MPDC Interior protocol
|
The MPDC server state. More...
#include <server.h>
Data Fields | |
char | cmdprompt [MPDC_STORAGE_PROMPT_MAX] |
char | domain [MPDC_STORAGE_DOMAINNAME_MAX] |
char | hostname [MPDC_STORAGE_HOSTNAME_MAX] |
char | issuer [MPDC_CERTIFICATE_ISSUER_SIZE] |
char | localip [MPDC_STORAGE_ADDRESS_MAX] |
char | logpath [MPDC_STORAGE_PATH_MAX] |
char | username [MPDC_STORAGE_USERNAME_MAX] |
uint8_t * | kchain |
uint8_t * | sigkey |
const char * | aplpath |
const char * | banner |
const char * | cfgname |
const char * | prikeyname |
const char * | promptdef |
const char * | pubkeyname |
const char * | srvname |
const char * | topname |
const char * | wtitle |
mpdc_child_certificate | dla |
mpdc_root_certificate | root |
mpdc_topology_list_state | tlist |
mpdc_command_actions | action |
mpdc_console_modes | mode |
uint16_t | port |
mpdc_network_designations | srvtype |
uint16_t | timeout |
uint8_t | retries |
bool | joined |
bool | loghost |
The MPDC server state.
This structure holds all state information used by the MPDC server. It includes the command prompt, network domain and host names, certificate issuer, IP address, log path, username, key chain, signing key, file names and paths for various configuration files, certificate structures, topology list, current action, console mode, network port, server type designation, timeout value, number of retries, and flags indicating whether the server has joined a network or is logging host activity.
mpdc_command_actions action |
The current command action.
const char* aplpath |
The application path.
const char* banner |
The application banner text.
const char* cfgname |
The configuration file name.
char cmdprompt[MPDC_STORAGE_PROMPT_MAX] |
The current command prompt string.
The DLA (Device-Level Authority) certificate.
char domain[MPDC_STORAGE_DOMAINNAME_MAX] |
The network domain name.
char hostname[MPDC_STORAGE_HOSTNAME_MAX] |
The server hostname.
char issuer[MPDC_CERTIFICATE_ISSUER_SIZE] |
The certificate issuer string.
bool joined |
True if the server has joined the network.
uint8_t* kchain |
Pointer to the key chain array.
char localip[MPDC_STORAGE_ADDRESS_MAX] |
The server's local IP address.
bool loghost |
True if host logging is enabled.
char logpath[MPDC_STORAGE_PATH_MAX] |
The full path to the log file.
mpdc_console_modes mode |
The current console mode.
uint16_t port |
The network port number.
const char* prikeyname |
The private key file name.
const char* promptdef |
The default prompt string.
const char* pubkeyname |
The public key file name.
uint8_t retries |
The allowed number of password retries.
The root certificate.
uint8_t* sigkey |
Pointer to the secret signing key.
const char* srvname |
The server name.
mpdc_network_designations srvtype |
The server type designation.
uint16_t timeout |
The console timeout in minutes.
mpdc_topology_list_state tlist |
The topology list state.
const char* topname |
The topology file name.
char username[MPDC_STORAGE_USERNAME_MAX] |
The username used for login.
const char* wtitle |
The window title.