diff options
Diffstat (limited to 'src/QXmppServer.cpp')
| -rw-r--r-- | src/QXmppServer.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/QXmppServer.cpp b/src/QXmppServer.cpp index b6b95d4b..043f8011 100644 --- a/src/QXmppServer.cpp +++ b/src/QXmppServer.cpp @@ -790,16 +790,29 @@ void QXmppSslServer::incomingConnection(int socketDescriptor) emit newConnection(socket); } +/// Adds the given certificates to the CA certificate database to be used +/// for incoming connnections. +/// +/// \param caCertificates + void QXmppSslServer::addCaCertificates(const QString &caCertificates) { d->caCertificates = caCertificates; } +/// Sets the local certificate to be used for incoming connections. +/// +/// \param localCertificate + void QXmppSslServer::setLocalCertificate(const QString &localCertificate) { d->localCertificate = localCertificate; } +/// Sets the local private key to be used for incoming connections. +/// +/// \param privateKey + void QXmppSslServer::setPrivateKey(const QString &privateKey) { d->privateKey = privateKey; |
