diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-12-10 11:07:03 +0000 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-12-10 11:07:03 +0000 |
| commit | b4e7d210e9fa66c165828ce1adb36ce034b51b5d (patch) | |
| tree | cab3d3117cb2a1b5a291ee97d6f4fd86b4414ab2 /src/QXmppServer.cpp | |
| parent | 0834c5452bb056632d5627e3b6fc683ac2e09daa (diff) | |
| download | qxmpp-b4e7d210e9fa66c165828ce1adb36ce034b51b5d.tar.gz | |
improve code documentation
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; |
