17 #ifndef NURIA_SSLSERVER_HPP
18 #define NURIA_SSLSERVER_HPP
20 #include "network_global.hpp"
21 #include <QSslCertificate>
27 class SslServerPrivate;
34 class NURIA_NETWORK_EXPORT
SslServer :
public QTcpServer {
40 const QSslKey &privateKey ()
const;
41 const QSslCertificate &localCertificate ()
const;
43 void setPrivateKey (
const QSslKey &key);
44 void setLocalCertificate (
const QSslCertificate &cert);
48 void connectionEncrypted ();
49 void sslError (QList< QSslError > errors);
53 virtual void incomingConnection (
int handle);
58 SslServerPrivate *d_ptr;
63 #endif // NURIA_SSLSERVER_HPP
Definition: abstractsessionmanager.hpp:24
Definition: sslserver.hpp:34