28 Q_DISABLE_COPY_MOVE(QSslServer)
31 explicit QSslServer(QObject *parent =
nullptr);
32 ~QSslServer() override;
34 void setSslConfiguration(
const QSslConfiguration &sslConfiguration);
35 QSslConfiguration sslConfiguration()
const;
37 void setHandshakeTimeout(
int timeout);
38 int handshakeTimeout()
const;
41 void sslErrors(QSslSocket *socket,
const QList<QSslError> &errors);
42 void peerVerifyError(QSslSocket *socket,
const QSslError &error);
43 void errorOccurred(QSslSocket *socket, QAbstractSocket::SocketError error);
44 void preSharedKeyAuthenticationRequired(QSslSocket *socket,
45 QSslPreSharedKeyAuthenticator *authenticator);
46 void alertSent(QSslSocket *socket, QSsl::AlertLevel level,
47 QSsl::AlertType type,
const QString &description);
48 void alertReceived(QSslSocket *socket, QSsl::AlertLevel level,
49 QSsl::AlertType type,
const QString &description);
50 void handshakeInterruptedOnError(QSslSocket *socket,
const QSslError &error);
51 void startedEncryptionHandshake(QSslSocket *socket);
54 void incomingConnection(qintptr socket) override;
57 Q_DECLARE_PRIVATE(QSslServer)