diff options
author | André Klitzing <aklitzing@gmail.com> | 2016-04-28 17:13:57 +0200 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2016-06-12 18:57:46 +0000 |
commit | 5bc48a4443b5b4a3ab2e20c6c839305f698946ed (patch) | |
tree | ed65116e1d33fbe3c4721594a66d023ab443cc72 /src/websockets/qsslserver_p.h | |
parent | 5386af8d31b7b0211925de5cb9b9189889b7b2c1 (diff) | |
download | qtwebsockets-5bc48a4443b5b4a3ab2e20c6c839305f698946ed.tar.gz |
Add support for TLS PSK (client and server)
[ChangeLog][QWebSocket] It is now possible to use TLS PSK ciphersuites.
Change-Id: I9e96669494cec5e6a4e076fe9f10fcd4ef6358a4
Reviewed-by: Liang Qi <liang.qi@qt.io>
Diffstat (limited to 'src/websockets/qsslserver_p.h')
-rw-r--r-- | src/websockets/qsslserver_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/websockets/qsslserver_p.h b/src/websockets/qsslserver_p.h index 538e3b5..d5e581a 100644 --- a/src/websockets/qsslserver_p.h +++ b/src/websockets/qsslserver_p.h @@ -54,6 +54,7 @@ #include <QtNetwork/QTcpServer> #include <QtNetwork/QSslError> #include <QtNetwork/QSslConfiguration> +#include <QtNetwork/QSslPreSharedKeyAuthenticator> #include <QtCore/QList> QT_BEGIN_NAMESPACE @@ -74,6 +75,7 @@ Q_SIGNALS: void sslErrors(const QList<QSslError> &errors); void peerVerifyError(const QSslError &error); void newEncryptedConnection(); + void preSharedKeyAuthenticationRequired(QSslPreSharedKeyAuthenticator *authenticator); protected: virtual void incomingConnection(qintptr socket); |