8#include <QtNetwork/QTcpServer>
12#include <QtNetwork/QSslError>
13#include <QtNetwork/QSslConfiguration>
14#include <QtNetwork/QSslPreSharedKeyAuthenticator>
15#include <QtNetwork/QSslSocket>
17#include <QtCore/QList>
36 void setHandshakeTimeout(
int timeout);
37 int handshakeTimeout()
const;
SocketError
This enum describes the socket errors that can occur.
The QSslConfiguration class holds the configuration and state of an SSL connection.
The QSslError class provides an SSL error.
The QSslPreSharedKeyAuthenticator class provides authentication data for pre shared keys (PSK) cipher...
void peerVerifyError(QSslSocket *socket, const QSslError &error)
QSslServer can emit this signal several times during the SSL handshake, before encryption has been es...
void errorOccurred(QSslSocket *socket, QAbstractSocket::SocketError error)
This signal is emitted after an error occurred during handshake.
void handshakeInterruptedOnError(QSslSocket *socket, const QSslError &error)
QSslServer emits this signal if a certificate verification error was found by socket and if early err...
void alertSent(QSslSocket *socket, QSsl::AlertLevel level, QSsl::AlertType type, const QString &description)
QSslServer emits this signal if an alert message was sent from socket to a peer.
void alertReceived(QSslSocket *socket, QSsl::AlertLevel level, QSsl::AlertType type, const QString &description)
QSslServer emits this signal if an alert message was received by the socket from a peer.
void startedEncryptionHandshake(QSslSocket *socket)
This signal is emitted when the client, connected to socket, initiates the TLS handshake.
void sslErrors(QSslSocket *socket, const QList< QSslError > &errors)
QSslServer emits this signal after the SSL handshake to indicate that one or more errors have occurre...
void preSharedKeyAuthenticationRequired(QSslSocket *socket, QSslPreSharedKeyAuthenticator *authenticator)
QSslServer emits this signal when socket negotiates a PSK ciphersuite, and therefore PSK authenticati...
The QSslSocket class provides an SSL encrypted socket for both clients and servers.
\macro QT_RESTRICTED_CAST_FROM_ASCII
The QTcpServer class provides a TCP-based server.
virtual void incomingConnection(qintptr handle)
This virtual function is called by QTcpServer when a new connection is available.
Combined button and popup list for selecting options.
DBusConnection const char DBusError * error
GLenum GLuint GLint level
GLbitfield GLuint64 timeout
[4]
#define QT_REQUIRE_CONFIG(feature)
sslSocket setSslConfiguration(config)
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent