The QXmppSslServer class represents an SSL-enabled TCP server.
More...
#include <QXmppServer.h>
Inherits QTcpServer.
|
void | newConnection (QSslSocket *socket) |
| This signal is emitted when a new connection is established.
|
|
The QXmppSslServer class represents an SSL-enabled TCP server.
◆ QXmppSslServer()
QXmppSslServer::QXmppSslServer |
( |
QObject * |
parent = nullptr | ) |
|
Constructs a new SSL server instance.
- Parameters
-
◆ ~QXmppSslServer()
QXmppSslServer::~QXmppSslServer |
( |
| ) |
|
|
override |
Destroys an SSL server instance.
◆ addCaCertificates()
void QXmppSslServer::addCaCertificates |
( |
const QList< QSslCertificate > & |
certificates | ) |
|
Adds the given certificates to the CA certificate database to be used for incoming connections.
- Parameters
-
◆ setLocalCertificate()
void QXmppSslServer::setLocalCertificate |
( |
const QSslCertificate & |
certificate | ) |
|
Sets the local certificate to be used for incoming connections.
- Parameters
-
◆ setPrivateKey()
void QXmppSslServer::setPrivateKey |
( |
const QSslKey & |
key | ) |
|
Sets the local private key to be used for incoming connections.
- Parameters
-
The documentation for this class was generated from the following files: