40 #ifndef QTLSBACKEND_OPENSSL_P_H
41 #define QTLSBACKEND_OPENSSL_P_H
54 #include <QtNetwork/private/qtnetworkglobal_p.h>
56 #include <QtNetwork/qssldiffiehellmanparameters.h>
57 #include <QtNetwork/qsslcertificate.h>
59 #include <QtNetwork/private/qtlsbackend_p.h>
61 #include <QtCore/qglobal.h>
62 #include <QtCore/qlist.h>
64 #include <openssl/ssl.h>
90 QString backendName()
const override;
91 bool isValid()
const override;
92 long tlsLibraryVersionNumber()
const override;
93 QString tlsLibraryVersionString()
const override;
94 long tlsLibraryBuildVersionNumber()
const override;
95 QString tlsLibraryBuildVersionString()
const override;
97 void ensureInitialized()
const override;
98 void ensureCiphersAndCertsLoaded()
const;
99 static void resetDefaultCiphers();
112 QTlsPrivate::TlsCryptograph *createTlsCryptograph()
const override;
113 QTlsPrivate::DtlsCookieVerifier *createDtlsCookieVerifier()
const override;
114 QTlsPrivate::DtlsCryptograph *createDtlsCryptograph(
QDtls *
q,
int mode)
const override;
122 QList<int> ellipticCurvesIds()
const override;
123 int curveIdFromShortName(
const QString &
name)
const override;
124 int curveIdFromLongName(
const QString &
name)
const override;
125 QString shortNameForId(
int cid)
const override;
126 QString longNameForId(
int cid)
const override;
127 bool isTlsNamedCurve(
int cid)
const override;
134 void forceAutotestSecurityLevel()
override;
The QByteArray class provides an array of bytes.
This class provides encryption for UDP sockets.
The QSslCipher class represents an SSL cryptographic cipher.
The QSslDiffieHellmanParameters class provides an interface for Diffie-Hellman parameters for servers...
The QString class provides a Unicode character string.
static QSslCipher qt_OpenSSL_cipher_to_QSslCipher(const SSL_CIPHER *cipher)
static void logAndClearErrorQueue()
static bool ensureLibraryLoaded()
static void clearErrorQueue()
static QString msgErrorsDuringHandshake()
static bool s_loadedCiphersAndCerts
static bool s_libraryLoaded
static int s_indexForSSLExtraData
static QString getErrorsFromOpenSsl()
bool(*)(QIODevice *device, QSslKey *key, QSslCertificate *cert, QList< QSslCertificate > *caCertificates, const QByteArray &passPhrase) X509Pkcs12ReaderPtr
#define Q_DECLARE_LOGGING_CATEGORY(name)
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
GLdouble GLdouble GLdouble GLdouble q