18#include <QtNetwork/private/qtnetworkglobal_p.h>
22#include <QtCore/qobject.h>
23#include <QtCore/qstring.h>
24#include <QtCore/qglobal.h>
25#include <QtCore/qlist.h>
27#include <QtNetwork/qabstractsocket.h>
28#include <QtNetwork/private/qsslsocket_p.h>
30#warning SecureTransport was deprecated in macOS 10.15 and iOS 13, \
31and is no longer supported. We should be using Network.framework instead. \
32See QTBUG-85231 for more information.
35#include <Security/Security.h>
36#include <Security/SecureTransport.h>
48 operator SSLContextRef ()
const;
49 void reset(SSLContextRef newContext);
51 SSLContextRef context;
77 bool initSslContext();
78 void destroySslContext();
79 bool setSessionCertificate(
QString &errorDescription,
81 bool setSessionProtocol();
83 bool canIgnoreTrustVerificationFailure()
const;
84 bool verifySessionProtocol()
const;
85 bool verifyPeerTrust();
87 bool checkSslErrors();
88 bool startHandshake();
90 bool isHandshakeComplete()
const;
97 bool renegotiating =
false;
100 bool shutdown =
false;
SocketError
This enum describes the socket errors that can occur.
The QSslCipher class represents an SSL cryptographic cipher.
The QSslSocket class provides an SSL encrypted socket for both clients and servers.
\macro QT_RESTRICTED_CAST_FROM_ASCII
~QSecureTransportContext()
void disconnectFromHost() override
TlsCryptographSecureTransport()
void startClientEncryption() override
void continueHandshake() override
QSslCipher sessionCipher() const override
QList< QSslError > tlsErrors() const override
void init(QSslSocket *qObj, QSslSocketPrivate *dObj) override
QSsl::SslProtocol sessionProtocol() const override
void startServerEncryption() override
SSLCipherSuite SSLCipherSuite_from_QSslCipher(const QSslCipher &ciph)
~TlsCryptographSecureTransport() override
void disconnected() override
SslProtocol
Describes the protocol of the cipher.
Combined button and popup list for selecting options.
Namespace containing onternal types that TLS backends implement.
#define QT_WARNING_DISABLE_DEPRECATED
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
GLdouble GLdouble GLdouble GLdouble q