aboutsummaryrefslogtreecommitdiff
path: root/src/server/QXmppServer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/QXmppServer.h')
-rw-r--r--src/server/QXmppServer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server/QXmppServer.h b/src/server/QXmppServer.h
index 37744756..f6866f92 100644
--- a/src/server/QXmppServer.h
+++ b/src/server/QXmppServer.h
@@ -81,7 +81,9 @@ public:
void addCaCertificates(const QString &caCertificates);
void setLocalCertificate(const QString &path);
+ void setLocalCertificate(const QSslCertificate &certificate);
void setPrivateKey(const QString &path);
+ void setPrivateKey(const QSslKey &key);
void close();
bool listenForClients(const QHostAddress &address = QHostAddress::Any, quint16 port = 5222);