AERN: Authenticated Encrypted Relay Network 1.0.0.0a (A1)
A post quantum authenticated and encrypted proxy chain network
ars.h File Reference

The AERN Root Domain Security server. More...

#include "aerncommon.h"

Go to the source code of this file.

Functions

AERN_EXPORT_API void aern_ars_pause_server (void)
 Pause the ARS server.
AERN_EXPORT_API void aern_ars_start_server (void)
 Start the ARS server.
AERN_EXPORT_API void aern_ars_stop_server (void)
 Stop the ARS server.

Detailed Description

The AERN Root Domain Security server.

Detailed File Description: This header file defines the public interface for the AERN Root Domain Security (ARS) server. The ARS server is responsible for managing the root domain security functions within the AERN system. This includes handling operations related to the creation, storage, signing, and verification of the root certificate as well as coordinating secure communications with other nodes in the network. The public functions declared here allow the ARS server to be started, paused, and stopped. In addition, when the macro AERN_DEBUG_TESTS_RUN is defined, a test function is provided to run self-diagnostic tests on the ARS server functionality.

Every function declared in this header file is documented with its purpose, parameters, and return value (if any).

Function Documentation

◆ aern_ars_pause_server()

AERN_EXPORT_API void aern_ars_pause_server ( void )

Pause the ARS server.

This function pauses the operation of the ARS server. When called, the server will temporarily suspend processing of incoming network messages and connections until it is resumed.

◆ aern_ars_start_server()

AERN_EXPORT_API void aern_ars_start_server ( void )

Start the ARS server.

This function initializes and starts the ARS server. It sets up all necessary resources, initializes the application state, and begins accepting network connections.

◆ aern_ars_stop_server()

AERN_EXPORT_API void aern_ars_stop_server ( void )

Stop the ARS server.

This function stops the ARS server by terminating its main command loop and releasing all allocated resources. After calling this function, the server will no longer process incoming network messages.