![]() |
Qt 6.x
The Qt SDK
|
#include <qsslcontext_openssl_p.h>
Collaboration diagram for QSslContext:Classes | |
| struct | NPNContext |
Public Member Functions | |
| ~QSslContext () | |
| QSslError::SslError | error () const |
| QString | errorString () const |
| SSL * | createSsl () |
| bool | cacheSession (SSL *) |
| QByteArray | sessionASN1 () const |
| void | setSessionASN1 (const QByteArray &sessionASN1) |
| int | sessionTicketLifeTimeHint () const |
| NPNContext | npnContext () const |
Static Public Member Functions | |
| static std::shared_ptr< QSslContext > | sharedFromConfiguration (QSslSocket::SslMode mode, const QSslConfiguration &configuration, bool allowRootCertOnDemandLoading) |
| static std::shared_ptr< QSslContext > | sharedFromPrivateConfiguration (QSslSocket::SslMode mode, QSslConfigurationPrivate *privConfiguration, bool allowRootCertOnDemandLoading) |
| static qssloptions | setupOpenSslOptions (QSsl::SslProtocol protocol, QSsl::SslOptions sslOptions) |
| static void | forceAutoTestSecurityLevel () |
Protected Member Functions | |
| QSslContext () | |
Definition at line 30 of file qsslcontext_openssl_p.h.
| QSslContext::~QSslContext | ( | ) |
Definition at line 127 of file qsslcontext_openssl.cpp.
References q_EVP_PKEY_free(), q_SSL_CTX_free(), and q_SSL_SESSION_free().
Here is the call graph for this function:
|
protected |
Definition at line 119 of file qsslcontext_openssl.cpp.
| bool QSslContext::cacheSession | ( | SSL * | ssl | ) |
Definition at line 256 of file qsslcontext_openssl.cpp.
References QByteArray::data(), q_i2d_SSL_SESSION(), q_SSL_get1_session(), q_SSL_get_session(), q_SSL_SESSION_free(), q_SSL_SESSION_get_ticket_lifetime_hint(), qCWarning, QByteArray::resize(), QSsl::SslOptionDisableSessionPersistence, and QSslConfiguration::testSslOption().
Here is the call graph for this function:| SSL * QSslContext::createSsl | ( | ) |
Definition at line 196 of file qsslcontext_openssl.cpp.
References QByteArray::append(), QList< T >::at(), QByteArray::clear(), QByteArray::constData(), QSharedDataPointer< T >::constData(), QByteArray::data(), QSslContext::NPNContext::data, QList< T >::isEmpty(), QSslContext::NPNContext::len, next_proto_cb(), QSslConfigurationPrivate::nextAllowedProtocols, QSslConfiguration::NextProtocolNegotiationNone, q_d2i_SSL_SESSION(), q_SSL_clear(), q_SSL_CTX_set_alpn_select_cb(), q_SSL_CTX_set_next_proto_select_cb(), q_SSL_new(), q_SSL_SESSION_free(), q_SSL_set_alpn_protos(), q_SSL_set_session(), qCWarning, sessionASN1(), QByteArray::size(), QList< T >::size(), QSsl::SslOptionDisableSessionPersistence, QSslContext::NPNContext::status, and QSslConfiguration::testSslOption().
Here is the call graph for this function:| QSslError::SslError QSslContext::error | ( | ) | const |
Definition at line 304 of file qsslcontext_openssl.cpp.
| QString QSslContext::errorString | ( | ) | const |
Definition at line 309 of file qsslcontext_openssl.cpp.
|
static |
Definition at line 299 of file qsslcontext_openssl.cpp.
Referenced by QTlsBackendOpenSSL::forceAutotestSecurityLevel().
Here is the caller graph for this function:| QSslContext::NPNContext QSslContext::npnContext | ( | ) | const |
Definition at line 187 of file qsslcontext_openssl.cpp.
| QByteArray QSslContext::sessionASN1 | ( | ) | const |
Definition at line 284 of file qsslcontext_openssl.cpp.
Referenced by createSsl().
Here is the caller graph for this function:| int QSslContext::sessionTicketLifeTimeHint | ( | ) | const |
Definition at line 294 of file qsslcontext_openssl.cpp.
| void QSslContext::setSessionASN1 | ( | const QByteArray & | sessionASN1 | ) |
Definition at line 289 of file qsslcontext_openssl.cpp.
|
static |
Definition at line 66 of file qsslcontext_openssl.cpp.
References QT_WARNING_DISABLE_DEPRECATED, QT_WARNING_POP, QT_WARNING_PUSH, QSsl::SecureProtocols, QSsl::SslOptionDisableCompression, QSsl::SslOptionDisableEmptyFragments, QSsl::SslOptionDisableLegacyRenegotiation, QSsl::SslOptionDisableServerCipherPreference, QSsl::SslOptionDisableSessionTickets, QSsl::TlsV1_2OrLater, and QSsl::TlsV1_3OrLater.
|
static |
Definition at line 140 of file qsslcontext_openssl.cpp.
Referenced by sharedFromPrivateConfiguration().
Here is the caller graph for this function:
|
static |
Definition at line 148 of file qsslcontext_openssl.cpp.
References sharedFromConfiguration().
Here is the call graph for this function: