XX CMake Package
Loading...
Searching...
No Matches
XX::SecureNetwork::Server Class Reference

secure network server More...

#include <XXSecureNetworkServer.h>

Inheritance diagram for XX::SecureNetwork::Server:

Detailed Description

secure network server

Signals

void signalNewEncryptedConnection (Socket *socket)

Public Member Functions

 Server (QObject *parent)
 ~Server ()
void listen (const quint16 &port)
bool setEncryption (const QString &caCertFileName, const QString &serverCertFileName, const QString &serverKeyFileName)
void setConfiguration (const QSslConfiguration &newSslConfiguration)
bool setPeerCommmonNameList (const QString &authUserFileName)
const QList< Socket::Pointer > & getSocketList () const
void removeSocket (Socket *socket)
const QSslConfiguration & getConfiguration () const

Friends

class ServerInternal

Constructor & Destructor Documentation

◆ Server()

XX::SecureNetwork::Server::Server ( QObject * parent)

◆ ~Server()

XX::SecureNetwork::Server::~Server ( )

Member Function Documentation

◆ getConfiguration()

const QSslConfiguration & XX::SecureNetwork::Server::getConfiguration ( ) const

◆ getSocketList()

const QList< Socket::Pointer > & XX::SecureNetwork::Server::getSocketList ( ) const

◆ listen()

void XX::SecureNetwork::Server::listen ( const quint16 & port)

◆ removeSocket()

void XX::SecureNetwork::Server::removeSocket ( Socket * socket)

◆ setConfiguration()

void XX::SecureNetwork::Server::setConfiguration ( const QSslConfiguration & newSslConfiguration)

◆ setEncryption()

bool XX::SecureNetwork::Server::setEncryption ( const QString & caCertFileName,
const QString & serverCertFileName,
const QString & serverKeyFileName )

◆ setPeerCommmonNameList()

bool XX::SecureNetwork::Server::setPeerCommmonNameList ( const QString & authUserFileName)

◆ signalNewEncryptedConnection

void XX::SecureNetwork::Server::signalNewEncryptedConnection ( Socket * socket)
signal

◆ ServerInternal

friend class ServerInternal
friend

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