|
XX CMake Package
|
secure network client More...
#include <XXSecureNetworkClient.h>
secure network client
Public Member Functions | |
| Client (QObject *parent, bool directAccess=false) | |
| void | connectToHost (const QString &hostName, const quint16 &port) |
| void | disconnectFromHost () |
| bool | setEncryptionWithPasswordFile (const QString &p12FileName, const QString &passwordFileName) |
| bool | setEncryption (const QString &p12FileName, const QByteArray &password) |
| void | setConfiguration (const QSslConfiguration &newSslConfiguration) |
| const QSslConfiguration & | getConfiguration () const |
| Public Member Functions inherited from XX::SecureNetwork::Socket | |
| void | sendData (const QByteArray &data) |
| QSslCertificate | getPeerCertificate () const |
| operator QSslSocket * () const | |
Static Public Member Functions | |
| static QByteArray | readPassword (const QString &passwordFileName) |
Additional Inherited Members | |
| Public Types inherited from XX::SecureNetwork::Socket | |
| using | Pointer = QPointer<Socket> |
| Signals inherited from XX::SecureNetwork::Socket | |
| void | signalDataReceived (Socket *me, const QByteArray &data) |
| void | signalConnected (Socket *me) |
| void | signalDisconnected (Socket *me) |
| void | signalEncrypted (Socket *me) |
| Static Public Attributes inherited from XX::SecureNetwork::Socket | |
| static bool | verbose |
| Protected Member Functions inherited from XX::SecureNetwork::Socket | |
| Socket (QObject *parent, QSslSocket *externalSocket=nullptr, bool directAccess=false) | |
| virtual | ~Socket () |
| Protected Attributes inherited from XX::SecureNetwork::Socket | |
| QPointer< QSslSocket > | sslSocket |
| bool | directAccess |
| XX::SecureNetwork::Client::Client | ( | QObject * | parent, |
| bool | directAccess = false ) |
| void XX::SecureNetwork::Client::connectToHost | ( | const QString & | hostName, |
| const quint16 & | port ) |
| void XX::SecureNetwork::Client::disconnectFromHost | ( | ) |
| const QSslConfiguration & XX::SecureNetwork::Client::getConfiguration | ( | ) | const |
|
static |
| void XX::SecureNetwork::Client::setConfiguration | ( | const QSslConfiguration & | newSslConfiguration | ) |
| bool XX::SecureNetwork::Client::setEncryption | ( | const QString & | p12FileName, |
| const QByteArray & | password ) |
| bool XX::SecureNetwork::Client::setEncryptionWithPasswordFile | ( | const QString & | p12FileName, |
| const QString & | passwordFileName ) |