![]() |
Qt 6.x
The Qt SDK
|
#include <qsslsocket_p.h>
Static Public Attributes | |
static bool | s_loadRootCertsOnDemand = false |
Protected Member Functions | |
bool | hasUndecryptedData () const |
Protected Attributes | |
bool | paused |
bool | flushTriggered |
std::unique_ptr< QTlsPrivate::TlsCryptograph > | backend |
Static Protected Attributes | |
static QMutex | backendMutex |
static QString | activeBackendName |
static QTlsBackend * | tlsBackend = nullptr |
Additional Inherited Members | |
![]() | |
enum | AccessMode : quint8 { Unset , Sequential , RandomAccess } |
![]() | |
typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
using | ConnectionDataPointer = QExplicitlySharedDataPointer< ConnectionData > |
Definition at line 41 of file qsslsocket_p.h.
QSslSocketPrivate::QSslSocketPrivate | ( | ) |
Definition at line 1963 of file qsslsocket.cpp.
References QSslConfigurationPrivate::allowRootCertOnDemandLoading, allowRootCertOnDemandLoading, backend, QTlsBackend::backendName(), configuration, QTlsBackend::createTlsCryptograph(), QSslConfigurationPrivate::deepCopyDefaultConfiguration(), qCWarning, tlsBackend, and tlsBackendInUse().
|
virtual |
Definition at line 1996 of file qsslsocket.cpp.
Definition at line 2575 of file qsslsocket.cpp.
References QAbstractSocket::ClosingState, emit, qCDebug, QAbstractSocketPrivate::state, and QSslSocket::UnencryptedMode.
Referenced by createPlainSocket().
Definition at line 2593 of file qsslsocket.cpp.
References channel, emit, and QSslSocket::UnencryptedMode.
Referenced by createPlainSocket().
void QSslSocketPrivate::_q_channelReadyReadSlot | ( | int | channel | ) |
Definition at line 2565 of file qsslsocket.cpp.
References channel, emit, and QSslSocket::UnencryptedMode.
Referenced by createPlainSocket().
void QSslSocketPrivate::_q_connectedSlot | ( | ) |
Definition at line 2442 of file qsslsocket.cpp.
References autoStartHandshake, QAbstractSocketPrivate::cachedSocketDescriptor, emit, QHostInfo::fromName(), QHostInfo::hostName(), QAbstractSocket::localAddress(), QAbstractSocket::localPort(), QAbstractSocket::peerAddress(), QAbstractSocket::peerName(), QAbstractSocket::peerPort(), QAbstractSocketPrivate::pendingClose, plainSocket, qCDebug, QIODevice::readChannelCount(), QIODevicePrivate::readChannelCount, QAbstractSocket::socketDescriptor(), QIODevice::writeChannelCount(), and QIODevicePrivate::writeChannelCount.
Referenced by createPlainSocket().
void QSslSocketPrivate::_q_disconnectedSlot | ( | ) |
Definition at line 2489 of file qsslsocket.cpp.
References QAbstractSocketPrivate::cachedSocketDescriptor, disconnected(), emit, and qCDebug.
Referenced by createPlainSocket().
void QSslSocketPrivate::_q_errorSlot | ( | QAbstractSocket::SocketError | error | ) |
Definition at line 2523 of file qsslsocket.cpp.
References QAbstractSocket::bytesAvailable(), error, QAbstractSocket::error(), QIODevice::errorString(), plainSocket, Q_UNUSED, qCDebug, QAbstractSocketPrivate::readBufferMaxSize, QAbstractSocketPrivate::setErrorAndEmit(), transmit(), and QSslSocket::UnencryptedMode.
Referenced by createPlainSocket().
void QSslSocketPrivate::_q_flushReadBuffer | ( | ) |
Definition at line 2626 of file qsslsocket.cpp.
References transmit(), and QSslSocket::UnencryptedMode.
void QSslSocketPrivate::_q_flushWriteBuffer | ( | ) |
Definition at line 2612 of file qsslsocket.cpp.
References flushTriggered.
void QSslSocketPrivate::_q_hostFoundSlot | ( | ) |
Definition at line 2476 of file qsslsocket.cpp.
Referenced by createPlainSocket().
void QSslSocketPrivate::_q_readChannelFinishedSlot | ( | ) |
Definition at line 2603 of file qsslsocket.cpp.
References emit.
Referenced by createPlainSocket().
void QSslSocketPrivate::_q_readyReadSlot | ( | ) |
Definition at line 2546 of file qsslsocket.cpp.
References QAbstractSocket::bytesAvailable(), emit, plainSocket, qCDebug, readyReadEmittedPointer, transmit(), and QSslSocket::UnencryptedMode.
Referenced by createPlainSocket().
void QSslSocketPrivate::_q_resumeImplementation | ( | ) |
Definition at line 2636 of file qsslsocket.cpp.
References backend, connectionEncrypted, continueHandshake(), QAbstractSocket::disconnectFromHost(), paused, plainSocket, Q_ASSERT, QAbstractSocket::resume(), QAbstractSocketPrivate::setErrorAndEmit(), QAbstractSocket::SslHandshakeFailedError, transmit(), and verifyErrorsHaveBeenIgnored().
void QSslSocketPrivate::_q_stateChangedSlot | ( | QAbstractSocket::SocketState | state | ) |
Definition at line 2510 of file qsslsocket.cpp.
References emit, qCDebug, and QAbstractSocketPrivate::state.
Referenced by createPlainSocket().
|
static |
Definition at line 2219 of file qsslsocket.cpp.
References cert, QList< T >::detach(), ensureInitialized(), and mutex.
|
static |
Definition at line 2234 of file qsslsocket.cpp.
References certs, ensureInitialized(), and mutex.
|
overridevirtual |
Reimplemented from QAbstractSocketPrivate.
Definition at line 2415 of file qsslsocket.cpp.
References QAbstractSocket::bind(), QAbstractSocketPrivate::cachedSocketDescriptor, createPlainSocket(), init(), initialized, QAbstractSocket::localAddress(), QAbstractSocketPrivate::localAddress, QAbstractSocket::localPort(), QAbstractSocketPrivate::localPort, plainSocket, qCDebug, QIODevicePrivate::readChannelCount, QIODeviceBase::ReadWrite, ret, QAbstractSocket::socketDescriptor(), and QIODevicePrivate::writeChannelCount.
|
static |
Definition at line 2969 of file qsslsocket.cpp.
References backend, and socket.
Referenced by QHttpNetworkConnectionChannel::ensureConnection().
void QSslSocketPrivate::continueHandshake | ( | ) |
Definition at line 2922 of file qsslsocket.cpp.
References backend.
Referenced by _q_resumeImplementation().
void QSslSocketPrivate::createPlainSocket | ( | QIODevice::OpenMode | openMode | ) |
Definition at line 2334 of file qsslsocket.cpp.
References _q_bytesWrittenSlot(), _q_channelBytesWrittenSlot(), _q_channelReadyReadSlot(), _q_connectedSlot(), _q_disconnectedSlot(), _q_errorSlot(), _q_hostFoundSlot(), _q_readChannelFinishedSlot(), _q_readyReadSlot(), _q_stateChangedSlot(), QList< T >::clear(), QSslCertificate::clear(), configuration, connected, connectionEncrypted, Qt::DirectConnection, disconnected(), QIODevicePrivate::openMode, QSslConfigurationPrivate::peerCertificate, QSslConfigurationPrivate::peerCertificateChain, plainSocket, QAbstractSocketPrivate::proxyAuthenticationRequired(), QAbstractSocketPrivate::readBufferMaxSize, SIGNAL, SLOT, QAbstractSocket::UnconnectedState, QSslSocket::UnencryptedMode, and QAbstractSocket::UnknownSocketError.
Referenced by bind().
|
static |
Definition at line 2193 of file qsslsocket.cpp.
References ensureInitialized(), and mutex.
|
static |
Definition at line 2084 of file qsslsocket.cpp.
References ensureInitialized(), and mutex.
|
static |
Definition at line 2162 of file qsslsocket.cpp.
References ensureInitialized(), and mutex.
void QSslSocketPrivate::disconnected | ( | ) |
Definition at line 2891 of file qsslsocket.cpp.
References backend.
Referenced by _q_disconnectedSlot(), and createPlainSocket().
void QSslSocketPrivate::disconnectFromHost | ( | ) |
Definition at line 2882 of file qsslsocket.cpp.
References backend.
|
static |
Declared static in QSslSocketPrivate, makes sure the SSL libraries have been initialized.
Definition at line 2016 of file qsslsocket.cpp.
References QTlsBackend::ensureInitialized(), Q_ASSERT, supportsSsl(), tlsBackend, and tlsBackendInUse().
Referenced by QSslCertificatePrivate::QSslCertificatePrivate(), addDefaultCaCertificate(), addDefaultCaCertificates(), QSslConfigurationPrivate::deepCopyDefaultConfiguration(), defaultCaCertificates(), defaultCiphers(), QSslConfigurationPrivate::defaultConfiguration(), defaultDtlsCiphers(), QSslConfigurationPrivate::defaultDtlsConfiguration(), QTlsBackendOpenSSL::dhParametersFromDer(), QTlsBackendOpenSSL::dhParametersFromPem(), QT_BEGIN_NAMESPACE::isSafeDH(), setDefaultCaCertificates(), QSslConfigurationPrivate::setDefaultConfiguration(), QSslConfigurationPrivate::setDefaultDtlsConfiguration(), supportedCiphers(), and supportedEllipticCurves().
|
overridevirtual |
Reimplemented from QAbstractSocketPrivate.
Definition at line 2839 of file qsslsocket.cpp.
References QAbstractSocket::flush(), plainSocket, qCDebug, transmit(), and QSslSocket::UnencryptedMode.
|
protected |
Definition at line 2764 of file qsslsocket.cpp.
References backend.
void QSslSocketPrivate::init | ( | ) |
Definition at line 2029 of file qsslsocket.cpp.
References QAbstractSocketPrivate::abortCalled, autoStartHandshake, backend, QList< T >::clear(), QSslCertificate::clear(), configuration, connectionEncrypted, flushTriggered, ignoreAllSslErrors, QSslConfigurationPrivate::peerCertificate, QSslConfigurationPrivate::peerCertificateChain, QAbstractSocketPrivate::pendingClose, Q_ASSERT, QObjectData::q_ptr, and QSslSocket::UnencryptedMode.
Referenced by bind().
bool QSslSocketPrivate::isAutoStartingHandshake | ( | ) | const |
Definition at line 2687 of file qsslsocket.cpp.
References autoStartHandshake.
Referenced by QTlsPrivate::TlsCryptographOpenSSL::continueHandshake(), and QTlsPrivate::TlsCryptographSecureTransport::continueHandshake().
|
static |
Definition at line 2992 of file qsslsocket.cpp.
References cert, QSslCertificate::CommonName, QSsl::DnsEntry, QString::fromLatin1(), QSsl::IpAddressEntry, QHostAddress::isEqual(), isMatchingHostname(), QHostAddress::isNull(), it, QAbstractSocketPrivate::peerName, QHostAddress::StrictConversion, and QUrl::toAce().
Referenced by isMatchingHostname().
Checks if the certificate's name cn matches the hostname. hostname must be normalized in ASCII-Compatible Encoding, but cn is not normalized
Definition at line 3027 of file qsslsocket.cpp.
References Qt::CaseInsensitive, compare(), QString::indexOf(), QString::lastIndexOf(), QString::left(), QString::mid(), QString::size(), QString::startsWith(), and QUrl::toAce().
bool QSslSocketPrivate::isPaused | ( | ) | const |
Definition at line 2405 of file qsslsocket.cpp.
References paused.
Referenced by QTlsPrivate::TlsCryptographOpenSSL::transmit().
bool QSslSocketPrivate::isPendingClose | ( | ) | const |
Definition at line 2695 of file qsslsocket.cpp.
References QAbstractSocketPrivate::pendingClose.
Referenced by QTlsPrivate::TlsCryptographOpenSSL::continueHandshake(), QTlsPrivate::TlsCryptographSchannel::continueHandshake(), and QTlsPrivate::TlsCryptographSecureTransport::continueHandshake().
bool QSslSocketPrivate::isRootsOnDemandAllowed | ( | ) | const |
Definition at line 3114 of file qsslsocket.cpp.
References allowRootCertOnDemandLoading.
Referenced by QTlsPrivate::TlsCryptographOpenSSL::startHandshake().
qint64 QSslSocketPrivate::maxReadBufferSize | ( | ) | const |
Definition at line 2711 of file qsslsocket.cpp.
References QAbstractSocketPrivate::readBufferMaxSize.
Referenced by QTlsPrivate::TlsCryptographOpenSSL::continueHandshake(), QTlsPrivate::TlsCryptographOpenSSL::disconnected(), QTlsPrivate::TlsCryptographSchannel::disconnected(), QTlsPrivate::TlsCryptographOpenSSL::transmit(), QTlsPrivate::TlsCryptographSchannel::transmit(), and QTlsPrivate::TlsCryptographSecureTransport::transmit().
|
static |
Definition at line 2391 of file qsslsocket.cpp.
References QAbstractSocketPrivate::pauseSocketNotifiers(), and socket.
Referenced by QTlsPrivate::TlsCryptographOpenSSL::checkSslErrors(), and QHttpNetworkConnectionPrivate::pauseConnection().
Reimplemented from QIODevicePrivate.
Definition at line 2772 of file qsslsocket.cpp.
References autoStartHandshake, QIODevice::peek(), QIODevicePrivate::peek(), plainSocket, r2, QIODevicePrivate::transactionPos, and QSslSocket::UnencryptedMode.
|
overridevirtual |
Reimplemented from QIODevicePrivate.
Definition at line 2799 of file qsslsocket.cpp.
References autoStartHandshake, QIODevice::peek(), QIODevicePrivate::peek(), plainSocket, ret, QIODevicePrivate::transactionPos, and QSslSocket::UnencryptedMode.
QTcpSocket * QSslSocketPrivate::plainTcpSocket | ( | ) | const |
Definition at line 3135 of file qsslsocket.cpp.
References plainSocket.
Referenced by QTlsPrivate::TlsCryptographOpenSSL::checkSslErrors(), QTlsPrivate::TlsCryptographOpenSSL::continueHandshake(), QTlsPrivate::TlsCryptographSchannel::continueHandshake(), QTlsPrivate::TlsCryptographSecureTransport::continueHandshake(), QTlsPrivate::TlsCryptographOpenSSL::disconnected(), QTlsPrivate::TlsCryptographSchannel::disconnected(), QTlsPrivate::TlsCryptographSecureTransport::disconnected(), QTlsPrivate::TlsCryptographOpenSSL::disconnectFromHost(), QTlsPrivate::TlsCryptographSchannel::disconnectFromHost(), QTlsPrivate::TlsCryptographSecureTransport::disconnectFromHost(), QTlsPrivate::TlsCryptographOpenSSL::transmit(), QTlsPrivate::TlsCryptographSchannel::transmit(), QTlsPrivate::TlsCryptographSecureTransport::transmit(), and QTlsPrivate::TlsCryptographOpenSSL::trySendFatalAlert().
bool * QSslSocketPrivate::readyReadPointer | ( | ) |
Definition at line 2759 of file qsslsocket.cpp.
References readyReadEmittedPointer.
Referenced by QTlsPrivate::TlsCryptographOpenSSL::transmit(), QTlsPrivate::TlsCryptographSchannel::transmit(), and QTlsPrivate::TlsCryptographSecureTransport::transmit().
|
static |
Definition at line 2124 of file qsslsocket.cpp.
References QList< T >::append(), QTlsBackend::ellipticCurvesIds(), QList< T >::reserve(), setDefaultSupportedEllipticCurves(), tlsBackend, and tlsBackendInUse().
|
static |
Definition at line 2398 of file qsslsocket.cpp.
References QAbstractSocketPrivate::resumeSocketNotifiers(), and socket.
Referenced by QHttpNetworkConnectionPrivate::resumeConnection().
|
static |
Definition at line 2931 of file qsslsocket.cpp.
References s_loadRootCertsOnDemand.
Referenced by QSecureTransportBackend::ensureInitialized(), QTlsPrivate::TlsCryptographOpenSSL::startHandshake(), and QTlsPrivate::X509CertificateOpenSSL::verify().
QSslCipher QSslSocketPrivate::sessionCipher | ( | ) | const |
Definition at line 2900 of file qsslsocket.cpp.
References backend.
QSsl::SslProtocol QSslSocketPrivate::sessionProtocol | ( | ) | const |
Definition at line 2911 of file qsslsocket.cpp.
References backend, and QSsl::UnknownProtocol.
|
static |
Definition at line 2203 of file qsslsocket.cpp.
References certs, ensureInitialized(), mutex, and s_loadRootCertsOnDemand.
|
static |
Definition at line 2104 of file qsslsocket.cpp.
References mutex.
|
static |
Definition at line 2152 of file qsslsocket.cpp.
References mutex.
|
static |
Definition at line 2114 of file qsslsocket.cpp.
References mutex.
|
static |
Definition at line 2182 of file qsslsocket.cpp.
References mutex.
Referenced by resetDefaultEllipticCurves().
void QSslSocketPrivate::setEncrypted | ( | bool | enc | ) |
Definition at line 2727 of file qsslsocket.cpp.
References connectionEncrypted.
Referenced by QTlsPrivate::TlsCryptographOpenSSL::continueHandshake(), QTlsPrivate::TlsCryptographSchannel::continueHandshake(), QTlsPrivate::TlsCryptographSecureTransport::continueHandshake(), QTlsPrivate::TlsCryptographOpenSSL::disconnected(), QTlsPrivate::TlsCryptographSchannel::disconnected(), QTlsPrivate::TlsCryptographSecureTransport::disconnected(), and QTlsPrivate::TlsCryptographOpenSSL::transmit().
Definition at line 2719 of file qsslsocket.cpp.
References QAbstractSocketPrivate::readBufferMaxSize.
Referenced by QTlsPrivate::TlsCryptographOpenSSL::disconnected(), and QTlsPrivate::TlsCryptographSchannel::disconnected().
void QSslSocketPrivate::setPaused | ( | bool | p | ) |
Definition at line 2410 of file qsslsocket.cpp.
References paused.
Referenced by QTlsPrivate::TlsCryptographOpenSSL::checkSslErrors().
void QSslSocketPrivate::setPendingClose | ( | bool | pc | ) |
Definition at line 2703 of file qsslsocket.cpp.
References QAbstractSocketPrivate::pendingClose.
Referenced by QTlsPrivate::TlsCryptographOpenSSL::continueHandshake(), QTlsPrivate::TlsCryptographSchannel::continueHandshake(), and QTlsPrivate::TlsCryptographSecureTransport::continueHandshake().
|
static |
Definition at line 2939 of file qsslsocket.cpp.
References s_loadRootCertsOnDemand.
Referenced by QSchannelBackend::ensureInitializedImplementation().
|
static |
Definition at line 2981 of file qsslsocket.cpp.
References backend, and socket.
Referenced by QHttpNetworkConnectionChannel::_q_connected().
void QSslSocketPrivate::startClientEncryption | ( | ) |
Definition at line 2855 of file qsslsocket.cpp.
References backend.
void QSslSocketPrivate::startServerEncryption | ( | ) |
Definition at line 2864 of file qsslsocket.cpp.
References backend.
|
static |
Definition at line 2094 of file qsslsocket.cpp.
References ensureInitialized(), and mutex.
Referenced by QSslConfiguration::supportedCiphers().
|
static |
Definition at line 2172 of file qsslsocket.cpp.
References ensureInitialized(), and mutex.
Referenced by QSslConfiguration::supportedEllipticCurves().
|
static |
Definition at line 2003 of file qsslsocket.cpp.
References QTlsBackend::implementedClasses(), QSsl::Socket, tlsBackend, and tlsBackendInUse().
Referenced by ensureInitialized(), and QSslSocket::supportsSsl().
|
static |
Definition at line 3143 of file qsslsocket.cpp.
References QTlsBackend::systemCaCertificates(), tlsBackend, and tlsBackendInUse().
Referenced by QSslConfiguration::systemCaCertificates(), and QTlsPrivate::X509CertificateOpenSSL::verify().
|
static |
Definition at line 3078 of file qsslsocket.cpp.
References activeBackendName, backendMutex, QObject::connect(), QTlsBackend::defaultBackendName(), QObject::destroyed(), Qt::DirectConnection, QTlsBackend::findBackend(), qCWarning, QString::size(), and tlsBackend.
Referenced by QDtls::QDtls(), QDtlsClientVerifierPrivate::QDtlsClientVerifierPrivate(), QSslKeyPrivate::QSslKeyPrivate(), QSslSocketPrivate(), QTlsBackend::activeOrAnyBackend(), QSslKeyPrivate::decrypt(), QSslKeyPrivate::encrypt(), ensureInitialized(), QSslDiffieHellmanParameters::fromEncoded(), QSslEllipticCurve::fromLongName(), QSslEllipticCurve::fromShortName(), QSslDiffieHellmanParametersPrivate::initFromDer(), QSslDiffieHellmanParametersPrivate::initFromPem(), QSslEllipticCurve::isTlsNamedCurve(), QSslEllipticCurve::longName(), resetDefaultEllipticCurves(), QSslEllipticCurve::shortName(), QSslSocket::sslLibraryBuildVersionNumber(), QSslSocket::sslLibraryBuildVersionString(), QSslSocket::sslLibraryVersionNumber(), QSslSocket::sslLibraryVersionString(), supportsSsl(), and systemCaCertificates().
QIODevicePrivate::QRingBufferRef & QSslSocketPrivate::tlsBuffer | ( | ) |
Definition at line 2743 of file qsslsocket.cpp.
References QIODevicePrivate::buffer.
Referenced by QTlsPrivate::TlsCryptographOpenSSL::transmit(), QTlsPrivate::TlsCryptographSchannel::transmit(), and QTlsPrivate::TlsCryptographSecureTransport::transmit().
bool & QSslSocketPrivate::tlsEmittedBytesWritten | ( | ) |
Definition at line 2751 of file qsslsocket.cpp.
References QAbstractSocketPrivate::emittedBytesWritten.
Referenced by QTlsPrivate::TlsCryptographOpenSSL::transmit(), QTlsPrivate::TlsCryptographSchannel::transmit(), and QTlsPrivate::TlsCryptographSecureTransport::transmit().
QString QSslSocketPrivate::tlsHostName | ( | ) | const |
Definition at line 3130 of file qsslsocket.cpp.
References QAbstractSocketPrivate::hostName.
QSslSocket::SslMode QSslSocketPrivate::tlsMode | ( | ) | const |
Definition at line 3106 of file qsslsocket.cpp.
References mode.
Referenced by QTlsPrivate::TlsCryptographOpenSSL::checkSslErrors(), QTlsPrivate::TlsCryptographOpenSSL::continueHandshake(), QTlsPrivate::TlsCryptographSchannel::continueHandshake(), QTlsPrivate::TlsCryptographOpenSSL::startHandshake(), QTlsPrivate::TlsCryptographOpenSSL::storePeerCertificates(), and QTlsPrivate::TlsCryptographSchannel::transmit().
QIODevicePrivate::QRingBufferRef & QSslSocketPrivate::tlsWriteBuffer | ( | ) |
Definition at line 2735 of file qsslsocket.cpp.
References QIODevicePrivate::writeBuffer.
Referenced by QTlsPrivate::TlsCryptographOpenSSL::transmit(), QTlsPrivate::TlsCryptographSchannel::transmit(), and QTlsPrivate::TlsCryptographSecureTransport::transmit().
void QSslSocketPrivate::transmit | ( | ) |
Definition at line 2873 of file qsslsocket.cpp.
References backend.
Referenced by _q_errorSlot(), _q_flushReadBuffer(), _q_readyReadSlot(), _q_resumeImplementation(), and flush().
|
static |
Definition at line 2947 of file qsslsocket.cpp.
References ba, QByteArray::fromRawData(), and QList< T >::fromReadOnlyData().
Referenced by QTlsPrivate::systemCaCertificates().
QString QSslSocketPrivate::verificationName | ( | ) | const |
Definition at line 3122 of file qsslsocket.cpp.
References verificationPeerName.
Referenced by QTlsPrivate::TlsCryptographOpenSSL::startHandshake().
bool QSslSocketPrivate::verifyErrorsHaveBeenIgnored | ( | ) |
Definition at line 2658 of file qsslsocket.cpp.
References backend, QListSpecialMethodsBase< T >::contains(), QList< T >::empty(), ignoreAllSslErrors, ignoreErrorsList, and Q_ASSERT.
Referenced by _q_resumeImplementation(), QTlsPrivate::TlsCryptographOpenSSL::checkSslErrors(), and QTlsPrivate::TlsCryptographOpenSSL::startHandshake().
bool QSslSocketPrivate::verifyProtocolSupported | ( | const char * | where | ) |
Definition at line 2056 of file qsslsocket.cpp.
References configuration, QSsl::DtlsV1_2, QSsl::DtlsV1_2OrLater, QSslConfigurationPrivate::protocol, Q_FALLTHROUGH, qCWarning, QT_WARNING_DISABLE_DEPRECATED, QT_WARNING_POP, QT_WARNING_PUSH, QAbstractSocketPrivate::setErrorAndEmit(), QAbstractSocket::SslInvalidUserDataError, and QSsl::UnknownProtocol.
|
inlinestaticprotected |
Definition at line 161 of file qsslsocket_p.h.
Referenced by QSslSocket::activeBackend(), QSslSocket::setActiveBackend(), and tlsBackendInUse().
bool QSslSocketPrivate::allowRootCertOnDemandLoading |
Definition at line 65 of file qsslsocket_p.h.
Referenced by QSslSocketPrivate(), and isRootsOnDemandAllowed().
bool QSslSocketPrivate::autoStartHandshake |
Definition at line 53 of file qsslsocket_p.h.
Referenced by _q_connectedSlot(), init(), isAutoStartingHandshake(), peek(), and peek().
|
protected |
Definition at line 164 of file qsslsocket_p.h.
Referenced by QSslSocketPrivate(), _q_resumeImplementation(), checkSettingSslContext(), continueHandshake(), disconnected(), disconnectFromHost(), hasUndecryptedData(), init(), sessionCipher(), sessionProtocol(), sslContext(), startClientEncryption(), startServerEncryption(), transmit(), and verifyErrorsHaveBeenIgnored().
|
inlinestaticprotected |
Definition at line 160 of file qsslsocket_p.h.
Referenced by QSslSocket::activeBackend(), QSslSocket::setActiveBackend(), and tlsBackendInUse().
QSslConfigurationPrivate QSslSocketPrivate::configuration |
Definition at line 59 of file qsslsocket_p.h.
Referenced by QSslSocketPrivate(), createPlainSocket(), init(), and verifyProtocolSupported().
bool QSslSocketPrivate::connectionEncrypted |
Definition at line 54 of file qsslsocket_p.h.
Referenced by _q_resumeImplementation(), createPlainSocket(), init(), and setEncrypted().
|
protected |
Definition at line 158 of file qsslsocket_p.h.
Referenced by _q_flushWriteBuffer(), and init().
bool QSslSocketPrivate::ignoreAllSslErrors |
Definition at line 55 of file qsslsocket_p.h.
Referenced by init(), and verifyErrorsHaveBeenIgnored().
Definition at line 56 of file qsslsocket_p.h.
Referenced by verifyErrorsHaveBeenIgnored().
bool QSslSocketPrivate::initialized |
Definition at line 50 of file qsslsocket_p.h.
Referenced by bind().
QSslSocket::SslMode QSslSocketPrivate::mode |
Definition at line 52 of file qsslsocket_p.h.
Referenced by tlsMode().
|
protected |
Definition at line 157 of file qsslsocket_p.h.
Referenced by _q_resumeImplementation(), isPaused(), and setPaused().
QTcpSocket* QSslSocketPrivate::plainSocket = nullptr |
Definition at line 92 of file qsslsocket_p.h.
Referenced by _q_connectedSlot(), _q_errorSlot(), _q_readyReadSlot(), _q_resumeImplementation(), bind(), createPlainSocket(), flush(), peek(), peek(), and plainTcpSocket().
bool* QSslSocketPrivate::readyReadEmittedPointer |
Definition at line 57 of file qsslsocket_p.h.
Referenced by _q_readyReadSlot(), and readyReadPointer().
|
static |
Definition at line 67 of file qsslsocket_p.h.
Referenced by rootCertOnDemandLoadingSupported(), setDefaultCaCertificates(), and setRootCertOnDemandLoadingSupported().
|
inlinestaticprotected |
Definition at line 162 of file qsslsocket_p.h.
Referenced by QSslSocketPrivate(), ensureInitialized(), resetDefaultEllipticCurves(), QSslSocket::setActiveBackend(), supportsSsl(), systemCaCertificates(), and tlsBackendInUse().
QString QSslSocketPrivate::verificationPeerName |
Definition at line 63 of file qsslsocket_p.h.
Referenced by verificationName().