Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#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 | |
Public Types inherited from QIODevicePrivate | |
enum | AccessMode : quint8 { Unset , Sequential , RandomAccess } |
Public Types inherited from QObjectPrivate | |
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 1973 of file qsslsocket.cpp.
References QSslConfigurationPrivate::allowRootCertOnDemandLoading, allowRootCertOnDemandLoading, backend, configuration, QSslConfigurationPrivate::deepCopyDefaultConfiguration(), qCWarning, tlsBackend, and tlsBackendInUse().
|
virtual |
Definition at line 2006 of file qsslsocket.cpp.
Definition at line 2585 of file qsslsocket.cpp.
References QAbstractSocket::ClosingState, emit, qCDebug, QAbstractSocketPrivate::state, and QSslSocket::UnencryptedMode.
Referenced by createPlainSocket().
Definition at line 2603 of file qsslsocket.cpp.
References channel, emit, and QSslSocket::UnencryptedMode.
Referenced by createPlainSocket().
void QSslSocketPrivate::_q_channelReadyReadSlot | ( | int | channel | ) |
Definition at line 2575 of file qsslsocket.cpp.
References channel, emit, and QSslSocket::UnencryptedMode.
Referenced by createPlainSocket().
void QSslSocketPrivate::_q_connectedSlot | ( | ) |
Definition at line 2452 of file qsslsocket.cpp.
References autoStartHandshake, QAbstractSocketPrivate::cachedSocketDescriptor, emit, QHostInfo::fromName(), 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 2499 of file qsslsocket.cpp.
References QAbstractSocketPrivate::cachedSocketDescriptor, disconnected(), emit, and qCDebug.
Referenced by createPlainSocket().
void QSslSocketPrivate::_q_errorSlot | ( | QAbstractSocket::SocketError | error | ) |
Definition at line 2533 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 2636 of file qsslsocket.cpp.
References transmit(), and QSslSocket::UnencryptedMode.
void QSslSocketPrivate::_q_flushWriteBuffer | ( | ) |
Definition at line 2622 of file qsslsocket.cpp.
References flushTriggered.
void QSslSocketPrivate::_q_hostFoundSlot | ( | ) |
Definition at line 2486 of file qsslsocket.cpp.
Referenced by createPlainSocket().
void QSslSocketPrivate::_q_readChannelFinishedSlot | ( | ) |
Definition at line 2613 of file qsslsocket.cpp.
References emit.
Referenced by createPlainSocket().
void QSslSocketPrivate::_q_readyReadSlot | ( | ) |
Definition at line 2556 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 2646 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 2520 of file qsslsocket.cpp.
References emit, qCDebug, and QAbstractSocketPrivate::state.
Referenced by createPlainSocket().
|
static |
Definition at line 2229 of file qsslsocket.cpp.
References cert, QList< T >::detach(), ensureInitialized(), and mutex.
|
static |
Definition at line 2244 of file qsslsocket.cpp.
References certs, ensureInitialized(), and mutex.
|
overridevirtual |
Reimplemented from QAbstractSocketPrivate.
Definition at line 2425 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 2985 of file qsslsocket.cpp.
References backend, and socket.
Referenced by QHttpNetworkConnectionChannel::ensureConnection().
void QSslSocketPrivate::continueHandshake | ( | ) |
Definition at line 2932 of file qsslsocket.cpp.
References backend.
Referenced by _q_resumeImplementation().
void QSslSocketPrivate::createPlainSocket | ( | QIODevice::OpenMode | openMode | ) |
Definition at line 2344 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 2203 of file qsslsocket.cpp.
References ensureInitialized(), and mutex.
|
static |
Definition at line 2094 of file qsslsocket.cpp.
References ensureInitialized(), and mutex.
|
static |
Definition at line 2172 of file qsslsocket.cpp.
References ensureInitialized(), and mutex.
void QSslSocketPrivate::disconnected | ( | ) |
Definition at line 2901 of file qsslsocket.cpp.
References backend.
Referenced by _q_disconnectedSlot(), and createPlainSocket().
void QSslSocketPrivate::disconnectFromHost | ( | ) |
Definition at line 2892 of file qsslsocket.cpp.
References backend.
|
static |
Declared static in QSslSocketPrivate, makes sure the SSL libraries have been initialized.
Definition at line 2026 of file qsslsocket.cpp.
References 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 2849 of file qsslsocket.cpp.
References QAbstractSocket::flush(), plainSocket, qCDebug, transmit(), and QSslSocket::UnencryptedMode.
|
protected |
Definition at line 2774 of file qsslsocket.cpp.
References backend.
void QSslSocketPrivate::init | ( | ) |
Definition at line 2039 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 2697 of file qsslsocket.cpp.
References autoStartHandshake.
Referenced by QTlsPrivate::TlsCryptographOpenSSL::continueHandshake(), and QTlsPrivate::TlsCryptographSecureTransport::continueHandshake().
|
static |
Definition at line 3008 of file qsslsocket.cpp.
References cert, QSslCertificate::CommonName, QSsl::DnsEntry, QString::fromLatin1(), QSsl::IpAddressEntry, QHostAddress::isEqual(), isMatchingHostname(), 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 3043 of file qsslsocket.cpp.
References Qt::CaseInsensitive, compare(), QString::indexOf(), QString::left(), QStringView::left(), QStringView::mid(), QString::mid(), and QUrl::toAce().
bool QSslSocketPrivate::isPaused | ( | ) | const |
Definition at line 2415 of file qsslsocket.cpp.
References paused.
Referenced by QTlsPrivate::TlsCryptographOpenSSL::transmit().
bool QSslSocketPrivate::isPendingClose | ( | ) | const |
Definition at line 2705 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 3130 of file qsslsocket.cpp.
References allowRootCertOnDemandLoading.
Referenced by QTlsPrivate::TlsCryptographOpenSSL::startHandshake().
qint64 QSslSocketPrivate::maxReadBufferSize | ( | ) | const |
Definition at line 2721 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 2401 of file qsslsocket.cpp.
References QAbstractSocketPrivate::pauseSocketNotifiers(), and socket.
Referenced by QTlsPrivate::TlsCryptographOpenSSL::checkSslErrors(), and QHttpNetworkConnectionPrivate::pauseConnection().
Reimplemented from QIODevicePrivate.
Definition at line 2782 of file qsslsocket.cpp.
References autoStartHandshake, QIODevice::peek(), QIODevicePrivate::QRingBufferRef::peek(), QIODevicePrivate::peek(), plainSocket, r2, QIODevicePrivate::transactionPos, and QSslSocket::UnencryptedMode.
|
overridevirtual |
Reimplemented from QIODevicePrivate.
Definition at line 2809 of file qsslsocket.cpp.
References autoStartHandshake, QIODevice::peek(), QIODevicePrivate::peek(), plainSocket, QByteArray(), QByteArray::reserve(), ret, QIODevicePrivate::transactionPos, and QSslSocket::UnencryptedMode.
QTcpSocket * QSslSocketPrivate::plainTcpSocket | ( | ) | const |
Definition at line 3151 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 2769 of file qsslsocket.cpp.
References readyReadEmittedPointer.
Referenced by QTlsPrivate::TlsCryptographOpenSSL::transmit(), QTlsPrivate::TlsCryptographSchannel::transmit(), and QTlsPrivate::TlsCryptographSecureTransport::transmit().
|
static |
Definition at line 2134 of file qsslsocket.cpp.
References setDefaultSupportedEllipticCurves(), tlsBackend, and tlsBackendInUse().
|
static |
Definition at line 2408 of file qsslsocket.cpp.
References QAbstractSocketPrivate::resumeSocketNotifiers(), and socket.
Referenced by QHttpNetworkConnectionPrivate::resumeConnection().
|
static |
Definition at line 2941 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 2910 of file qsslsocket.cpp.
References backend.
QSsl::SslProtocol QSslSocketPrivate::sessionProtocol | ( | ) | const |
Definition at line 2921 of file qsslsocket.cpp.
References backend, and QSsl::UnknownProtocol.
|
static |
Definition at line 2213 of file qsslsocket.cpp.
References certs, ensureInitialized(), mutex, and s_loadRootCertsOnDemand.
|
static |
Definition at line 2114 of file qsslsocket.cpp.
References mutex.
|
static |
Definition at line 2162 of file qsslsocket.cpp.
References mutex.
|
static |
Definition at line 2124 of file qsslsocket.cpp.
References mutex.
|
static |
Definition at line 2192 of file qsslsocket.cpp.
References mutex.
Referenced by resetDefaultEllipticCurves().
void QSslSocketPrivate::setEncrypted | ( | bool | enc | ) |
Definition at line 2737 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 2729 of file qsslsocket.cpp.
References QAbstractSocketPrivate::readBufferMaxSize.
Referenced by QTlsPrivate::TlsCryptographOpenSSL::disconnected(), and QTlsPrivate::TlsCryptographSchannel::disconnected().
void QSslSocketPrivate::setPaused | ( | bool | p | ) |
Definition at line 2420 of file qsslsocket.cpp.
References paused.
Referenced by QTlsPrivate::TlsCryptographOpenSSL::checkSslErrors().
void QSslSocketPrivate::setPendingClose | ( | bool | pc | ) |
Definition at line 2713 of file qsslsocket.cpp.
References QAbstractSocketPrivate::pendingClose.
Referenced by QTlsPrivate::TlsCryptographOpenSSL::continueHandshake(), QTlsPrivate::TlsCryptographSchannel::continueHandshake(), and QTlsPrivate::TlsCryptographSecureTransport::continueHandshake().
|
static |
Definition at line 2949 of file qsslsocket.cpp.
References s_loadRootCertsOnDemand.
Referenced by QSchannelBackend::ensureInitializedImplementation().
|
static |
Definition at line 2997 of file qsslsocket.cpp.
References backend, and socket.
Referenced by QHttpNetworkConnectionChannel::_q_connected().
void QSslSocketPrivate::startClientEncryption | ( | ) |
Definition at line 2865 of file qsslsocket.cpp.
References backend.
void QSslSocketPrivate::startServerEncryption | ( | ) |
Definition at line 2874 of file qsslsocket.cpp.
References backend.
|
static |
Definition at line 2104 of file qsslsocket.cpp.
References ensureInitialized(), and mutex.
Referenced by QSslConfiguration::supportedCiphers().
|
static |
Definition at line 2182 of file qsslsocket.cpp.
References ensureInitialized(), and mutex.
Referenced by QSslConfiguration::supportedEllipticCurves().
|
static |
Definition at line 2013 of file qsslsocket.cpp.
References QSsl::Socket, tlsBackend, and tlsBackendInUse().
Referenced by ensureInitialized(), and QSslSocket::supportsSsl().
|
static |
Definition at line 3159 of file qsslsocket.cpp.
References tlsBackend, and tlsBackendInUse().
Referenced by QSslConfiguration::systemCaCertificates(), and QTlsPrivate::X509CertificateOpenSSL::verify().
|
static |
Definition at line 3094 of file qsslsocket.cpp.
References activeBackendName, backendMutex, QObject::connect(), QTlsBackend::defaultBackendName(), QObject::destroyed(), Qt::DirectConnection, QTlsBackend::findBackend(), qCWarning, 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 2753 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 2761 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 3146 of file qsslsocket.cpp.
References QAbstractSocketPrivate::hostName.
QSslSocket::SslMode QSslSocketPrivate::tlsMode | ( | ) | const |
Definition at line 3122 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 2745 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 2883 of file qsslsocket.cpp.
References backend.
Referenced by _q_errorSlot(), _q_flushReadBuffer(), _q_readyReadSlot(), _q_resumeImplementation(), and flush().
|
static |
Definition at line 2957 of file qsslsocket.cpp.
References ba, QByteArray::fromRawData(), QList< T >::fromReadOnlyData(), isVxworks, and qgetenv().
Referenced by QTlsPrivate::systemCaCertificates().
QString QSslSocketPrivate::verificationName | ( | ) | const |
Definition at line 3138 of file qsslsocket.cpp.
References verificationPeerName.
Referenced by QTlsPrivate::TlsCryptographOpenSSL::startHandshake().
bool QSslSocketPrivate::verifyErrorsHaveBeenIgnored | ( | ) |
Definition at line 2668 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 2066 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().