UDIF: Universal Digital Identification Framework 1.0.0.0a (A1)
A quantum-secure cryptographic identification
udif_server_application_state Struct Reference

The UDIF server state. More...

#include <server.h>

Data Fields

char cmdprompt [UDIF_STORAGE_PROMPT_MAX]
char domain [UDIF_STORAGE_DOMAINNAME_MAX]
char hostname [UDIF_STORAGE_HOSTNAME_MAX]
char issuer [UDIF_CERTIFICATE_ISSUER_SIZE]
char localip [UDIF_STORAGE_ADDRESS_MAX]
char logpath [UDIF_STORAGE_PATH_MAX]
char username [UDIF_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
udif_child_certificate ads
udif_root_certificate root
udif_topology_list_state tlist
udif_command_actions action
udif_console_modes mode
uint16_t port
udif_network_designations srvtype
uint16_t timeout
uint8_t retries
bool joined
bool loghost

Detailed Description

The UDIF server state.

This structure holds all state information used by the UDIF 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.

◆ ads

udif_child_certificate ads

The ADC (Device-Level Authority) certificate.

◆ 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[UDIF_STORAGE_PROMPT_MAX]

The current command prompt string.

◆ domain

char domain[UDIF_STORAGE_DOMAINNAME_MAX]

The network domain name.

◆ hostname

char hostname[UDIF_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[UDIF_STORAGE_ADDRESS_MAX]

The server's local IP address.

◆ loghost

bool loghost

True if host logging is enabled.

◆ logpath

char logpath[UDIF_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

udif_root_certificate 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[UDIF_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:
  • C:/Users/stepp/Documents/Visual Studio 2022/Projects/C/UDIF/UDIF/server.h