MPDC: Multi Party Domain Cryptosystem 1.0.0.0b (A0)
MPDC Interior protocol
mpdc_server_application_state Struct Reference

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
 

Detailed Description

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.

Field Documentation

◆ action

The current command action.

◆ aplpath

const char* aplpath

The application path.

◆ banner

const char* banner

The application banner text.

◆ cfgname

const char* cfgname

The configuration file name.

◆ cmdprompt

char cmdprompt[MPDC_STORAGE_PROMPT_MAX]

The current command prompt string.

◆ dla

The DLA (Device-Level Authority) certificate.

◆ domain

char domain[MPDC_STORAGE_DOMAINNAME_MAX]

The network domain name.

◆ hostname

char hostname[MPDC_STORAGE_HOSTNAME_MAX]

The server hostname.

◆ issuer

The certificate issuer string.

◆ joined

bool joined

True if the server has joined the network.

◆ kchain

uint8_t* kchain

Pointer to the key chain array.

◆ localip

char localip[MPDC_STORAGE_ADDRESS_MAX]

The server's local IP address.

◆ loghost

bool loghost

True if host logging is enabled.

◆ logpath

char logpath[MPDC_STORAGE_PATH_MAX]

The full path to the log file.

◆ mode

The current console mode.

◆ port

uint16_t port

The network port number.

◆ prikeyname

const char* prikeyname

The private key file name.

◆ promptdef

const char* promptdef

The default prompt string.

◆ pubkeyname

const char* pubkeyname

The public key file name.

◆ retries

uint8_t retries

The allowed number of password retries.

◆ root

The root certificate.

◆ sigkey

uint8_t* sigkey

Pointer to the secret signing key.

◆ srvname

const char* srvname

The server name.

◆ srvtype

The server type designation.

◆ timeout

uint16_t timeout

The console timeout in minutes.

◆ tlist

The topology list state.

◆ topname

const char* topname

The topology file name.

◆ username

char username[MPDC_STORAGE_USERNAME_MAX]

The username used for login.

◆ wtitle

const char* wtitle

The window title.


The documentation for this struct was generated from the following file: