![]() |
Qt 4.8
|
#include <qsslsocket_p.h>
Public Functions | |
| void | _q_bytesWrittenSlot (qint64) |
| void | _q_connectedSlot () |
| void | _q_disconnectedSlot () |
| void | _q_errorSlot (QAbstractSocket::SocketError) |
| void | _q_flushReadBuffer () |
| void | _q_flushWriteBuffer () |
| void | _q_hostFoundSlot () |
| void | _q_readyReadSlot () |
| void | _q_stateChangedSlot (QAbstractSocket::SocketState) |
| void | createPlainSocket (QIODevice::OpenMode openMode) |
| virtual void | disconnected ()=0 |
| virtual void | disconnectFromHost ()=0 |
| void | init () |
| virtual qint64 | peek (char *data, qint64 maxSize) |
| virtual QByteArray | peek (qint64 maxSize) |
| QSslSocketPrivate () | |
| virtual QSslCipher | sessionCipher () const =0 |
| virtual void | startClientEncryption ()=0 |
| virtual void | startServerEncryption ()=0 |
| virtual void | transmit ()=0 |
| virtual | ~QSslSocketPrivate () |
Public Functions inherited from QAbstractSocketPrivate | |
| void | _q_abortConnectionAttempt () |
| This function is called after a certain number of seconds has passed while waiting for a connection. More... | |
| void | _q_connectToNextAddress () |
| Called by a queued or direct connection from _q_startConnecting() or _q_testConnection(), this function takes the first address of the pending addresses list and tries to connect to it. More... | |
| void | _q_forceDisconnect () |
| void | _q_startConnecting (const QHostInfo &hostInfo) |
| Slot connected to QHostInfo::lookupHost() in connectToHost(). More... | |
| void | _q_testConnection () |
| Tests if a connection has been established. More... | |
| bool | canReadNotification () |
| Slot connected to the read socket notifier. More... | |
| bool | canWriteNotification () |
| Slot connected to the write socket notifier. More... | |
| void | connectionNotification () |
| Slot connected to a notification of connection status change. More... | |
| void | exceptionNotification () |
| void | fetchConnectionParameters () |
| Sets up the internal state after the connection has succeeded. More... | |
| bool | flush () |
| Writes pending data in the write buffers to the socket. More... | |
| bool | initSocketLayer (QAbstractSocket::NetworkLayerProtocol protocol) |
| Initializes the socket layer to by of type type, using the network layer protocol protocol. More... | |
| void | proxyAuthenticationRequired (const QNetworkProxy &proxy, QAuthenticator *authenticator) |
| QAbstractSocketPrivate () | |
| Constructs a QAbstractSocketPrivate. More... | |
| bool | readFromSocket () |
| Reads data from the socket layer into the read buffer. More... | |
| void | readNotification () |
| void | resetSocketLayer () |
| Resets the socket layer, clears the read and write buffers and deletes any socket notifiers. More... | |
| void | resolveProxy (const QString &hostName, quint16 port) |
| Resolve the proxy to its final value. More... | |
| void | resolveProxy (quint16 port) |
| void | setupSocketNotifiers () |
| void | startConnectingByName (const QString &host) |
| Starts the connection to host, like _q_startConnecting below, but without hostname resolution. More... | |
| void | writeNotification () |
| virtual | ~QAbstractSocketPrivate () |
| Destructs the QAbstractSocket. More... | |
Public Functions inherited from QIODevicePrivate | |
| bool | isSequential () const |
| virtual bool | putCharHelper (char c) |
| QIODevicePrivate () | |
| virtual | ~QIODevicePrivate () |
Public Functions inherited from QObjectPrivate | |
| void | _q_reregisterTimers (void *pointer) |
| void | addConnection (int signal, Connection *c) |
| void | cleanConnectionLists () |
| void | connectNotify (const char *signal) |
| void | deleteChildren () |
| void | disconnectNotify (const char *signal) |
| bool | isSender (const QObject *receiver, const char *signal) const |
| bool | isSignalConnected (uint signalIdx) const |
| Returns true if the signal with index signal_index from object sender is connected. More... | |
| void | moveToThread_helper () |
| QObjectPrivate (int version=QObjectPrivateVersion) | |
| QObjectList | receiverList (const char *signal) const |
| QObjectList | senderList () const |
| void | setParent_helper (QObject *) |
| void | setThreadData_helper (QThreadData *currentData, QThreadData *targetData) |
| int | signalIndex (const char *signalName) const |
| Returns the signal index used in the internal connectionLists vector. More... | |
| virtual | ~QObjectPrivate () |
Public Functions inherited from QObjectData | |
| virtual | ~QObjectData ()=0 |
Public Functions inherited from QAbstractSocketEngineReceiver | |
| virtual | ~QAbstractSocketEngineReceiver () |
Static Public Variables | |
| static PtrSecCertificateGetData | ptrSecCertificateGetData = 0 |
| static PtrSecTrustCopyAnchorCertificates | ptrSecTrustCopyAnchorCertificates = 0 |
| static PtrSecTrustSettingsCopyCertificates | ptrSecTrustSettingsCopyCertificates = 0 |
Static Protected Functions | |
| static QList< QByteArray > | unixRootCertDirectories () |
Static Protected Variables | |
| static bool | s_loadRootCertsOnDemand = false |
Static Private Functions | |
| static void | ensureCiphersAndCertsLoaded () |
| static bool | ensureLibraryLoaded () |
Static Private Attributes | |
| static bool | s_libraryLoaded = false |
| static bool | s_loadedCiphersAndCerts = false |
Additional Inherited Members | |
Public Types inherited from QIODevicePrivate | |
| enum | AccessMode { Unset, Sequential, RandomAccess } |
Public Types inherited from QObjectPrivate | |
| typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
Definition at line 98 of file qsslsocket_p.h.
| QSslSocketPrivate::QSslSocketPrivate | ( | ) |
Definition at line 1915 of file qsslsocket.cpp.
|
virtual |
Definition at line 1932 of file qsslsocket.cpp.
| void QSslSocketPrivate::_q_bytesWrittenSlot | ( | qint64 | written | ) |
Definition at line 2288 of file qsslsocket.cpp.
Referenced by createPlainSocket().
| void QSslSocketPrivate::_q_connectedSlot | ( | ) |
Definition at line 2183 of file qsslsocket.cpp.
Referenced by createPlainSocket().
| void QSslSocketPrivate::_q_disconnectedSlot | ( | ) |
Definition at line 2226 of file qsslsocket.cpp.
Referenced by createPlainSocket().
| void QSslSocketPrivate::_q_errorSlot | ( | QAbstractSocket::SocketError | error | ) |
Definition at line 2253 of file qsslsocket.cpp.
Referenced by createPlainSocket().
| void QSslSocketPrivate::_q_flushReadBuffer | ( | ) |
Definition at line 2316 of file qsslsocket.cpp.
| void QSslSocketPrivate::_q_flushWriteBuffer | ( | ) |
Definition at line 2306 of file qsslsocket.cpp.
| void QSslSocketPrivate::_q_hostFoundSlot | ( | ) |
Definition at line 2213 of file qsslsocket.cpp.
Referenced by createPlainSocket().
| void QSslSocketPrivate::_q_readyReadSlot | ( | ) |
Definition at line 2269 of file qsslsocket.cpp.
Referenced by createPlainSocket().
| void QSslSocketPrivate::_q_stateChangedSlot | ( | QAbstractSocket::SocketState | state | ) |
Definition at line 2240 of file qsslsocket.cpp.
Referenced by createPlainSocket().
|
static |
Definition at line 2041 of file qsslsocket.cpp.
Referenced by QSslSocket::addDefaultCaCertificate().
|
static |
Definition at line 2024 of file qsslsocket.cpp.
Referenced by QSslSocket::addDefaultCaCertificates().
|
static |
Definition at line 2052 of file qsslsocket.cpp.
| void QSslSocketPrivate::createPlainSocket | ( | QIODevice::OpenMode | openMode | ) |
Definition at line 2114 of file qsslsocket.cpp.
|
static |
Definition at line 1999 of file qsslsocket.cpp.
Referenced by QSslSocket::defaultCaCertificates().
|
static |
Definition at line 1960 of file qsslsocket.cpp.
Referenced by QSslSocket::defaultCiphers(), and QSslSocketBackendPrivate::initSslContext().
|
static |
Definition at line 504 of file qsslsocket_openssl.cpp.
Referenced by QOpenSslLocks::~QOpenSslLocks().
|
pure virtual |
Implemented in QSslSocketBackendPrivate.
Referenced by _q_disconnectedSlot(), and createPlainSocket().
|
pure virtual |
Implemented in QSslSocketBackendPrivate.
|
staticprivate |
Definition at line 574 of file qsslsocket_openssl.cpp.
Referenced by ensureInitialized().
|
static |
Declared static in QSslSocketPrivate, makes sure the SSL libraries have been initialized.
Definition at line 647 of file qsslsocket_openssl.cpp.
Referenced by addDefaultCaCertificate(), addDefaultCaCertificates(), QSslCertificatePrivate::certificatesFromDer(), QSslCertificatePrivate::certificatesFromPem(), QSslConfigurationPrivate::deepCopyDefaultConfiguration(), defaultCaCertificates(), QSslConfigurationPrivate::defaultConfiguration(), QSslCertificate::QSslCertificate(), QSslCertificatePrivate::QSslCertificatePrivate(), QSslSocketBackendPrivate::QSslSocketBackendPrivate(), setDefaultCaCertificates(), QSslConfigurationPrivate::setDefaultConfiguration(), QSslSocketBackendPrivate::STACKOFX509_to_QSslCertificates(), supportedCiphers(), and systemCaCertificates().
|
staticprivate |
Definition at line 525 of file qsslsocket_openssl.cpp.
Referenced by supportsSsl().
| void QSslSocketPrivate::init | ( | ) |
Definition at line 1939 of file qsslsocket.cpp.
|
static |
Definition at line 2166 of file qsslsocket.cpp.
Referenced by QHttpNetworkConnectionPrivate::pauseConnection().
Reimplemented from QIODevicePrivate.
Definition at line 2326 of file qsslsocket.cpp.
|
virtual |
Reimplemented from QIODevicePrivate.
Definition at line 2353 of file qsslsocket.cpp.
|
static |
Declared static in QSslSocketPrivate, backend-dependent loading of application-wide global ciphers.
Definition at line 664 of file qsslsocket_openssl.cpp.
Referenced by ensureCiphersAndCertsLoaded().
|
static |
Definition at line 2173 of file qsslsocket.cpp.
Referenced by QHttpNetworkConnectionPrivate::resumeConnection().
|
static |
Definition at line 2377 of file qsslsocket.cpp.
|
pure virtual |
Implemented in QSslSocketBackendPrivate.
|
static |
Definition at line 2010 of file qsslsocket.cpp.
Referenced by ensureCiphersAndCertsLoaded(), and QSslSocket::setDefaultCaCertificates().
|
static |
Definition at line 1979 of file qsslsocket.cpp.
Referenced by resetDefaultCiphers(), and QSslSocket::setDefaultCiphers().
|
static |
Definition at line 1989 of file qsslsocket.cpp.
Referenced by resetDefaultCiphers().
|
pure virtual |
Implemented in QSslSocketBackendPrivate.
|
pure virtual |
Implemented in QSslSocketBackendPrivate.
|
static |
Definition at line 1969 of file qsslsocket.cpp.
Referenced by resetDefaultCiphers(), and QSslSocket::supportedCiphers().
|
static |
Does the minimum amount of initialization to determine whether SSL is supported or not.
Definition at line 520 of file qsslsocket_openssl.cpp.
Referenced by ensureInitialized(), and QSslSocket::supportsSsl().
|
static |
Definition at line 865 of file qsslsocket_openssl.cpp.
Referenced by ensureCiphersAndCertsLoaded(), and QSslSocket::systemCaCertificates().
|
pure virtual |
Implemented in QSslSocketBackendPrivate.
Referenced by _q_flushReadBuffer(), and _q_readyReadSlot().
|
staticprotected |
Definition at line 2385 of file qsslsocket.cpp.
Referenced by ensureCiphersAndCertsLoaded(), QSslSocketBackendPrivate::initSslContext(), and systemCaCertificates().
| bool QSslSocketPrivate::allowRootCertOnDemandLoading |
Definition at line 123 of file qsslsocket_p.h.
Referenced by QSslSocketBackendPrivate::initSslContext().
| bool QSslSocketPrivate::autoStartHandshake |
Definition at line 109 of file qsslsocket_p.h.
Referenced by _q_connectedSlot(), init(), peek(), and QSslSocketBackendPrivate::startHandshake().
| QSslConfigurationPrivate QSslSocketPrivate::configuration |
Definition at line 116 of file qsslsocket_p.h.
Referenced by createPlainSocket(), init(), QSslSocketBackendPrivate::initSslContext(), QSslSocketPrivate(), and QSslSocketBackendPrivate::startHandshake().
| bool QSslSocketPrivate::connectionEncrypted |
Definition at line 110 of file qsslsocket_p.h.
Referenced by createPlainSocket(), init(), QSslSocketBackendPrivate::startHandshake(), and QSslSocketBackendPrivate::transmit().
| bool QSslSocketPrivate::ignoreAllSslErrors |
Definition at line 112 of file qsslsocket_p.h.
Referenced by init(), and QSslSocketBackendPrivate::startHandshake().
Definition at line 113 of file qsslsocket_p.h.
Referenced by QSslSocketBackendPrivate::startHandshake().
| bool QSslSocketPrivate::initialized |
Definition at line 106 of file qsslsocket_p.h.
| QSslSocket::SslMode QSslSocketPrivate::mode |
Definition at line 108 of file qsslsocket_p.h.
Referenced by _q_bytesWrittenSlot(), _q_flushReadBuffer(), _q_readyReadSlot(), createPlainSocket(), init(), QSslSocketBackendPrivate::initSslContext(), peek(), and QSslSocketBackendPrivate::startHandshake().
| QTcpSocket* QSslSocketPrivate::plainSocket |
Definition at line 153 of file qsslsocket_p.h.
Referenced by _q_connectedSlot(), _q_errorSlot(), _q_readyReadSlot(), createPlainSocket(), QSslSocketBackendPrivate::disconnected(), QSslSocketBackendPrivate::disconnectFromHost(), peek(), QSslSocketBackendPrivate::startHandshake(), and QSslSocketBackendPrivate::transmit().
|
static |
Definition at line 143 of file qsslsocket_p.h.
Referenced by ensureCiphersAndCertsLoaded(), and systemCaCertificates().
|
static |
Definition at line 145 of file qsslsocket_p.h.
Referenced by ensureCiphersAndCertsLoaded(), and systemCaCertificates().
|
static |
Definition at line 144 of file qsslsocket_p.h.
Referenced by ensureCiphersAndCertsLoaded(), and systemCaCertificates().
| bool* QSslSocketPrivate::readyReadEmittedPointer |
Definition at line 114 of file qsslsocket_p.h.
Referenced by _q_readyReadSlot(), and QSslSocketBackendPrivate::transmit().
|
staticprivate |
Definition at line 184 of file qsslsocket_p.h.
Referenced by ensureLibraryLoaded().
|
staticprivate |
Definition at line 185 of file qsslsocket_p.h.
Referenced by ensureCiphersAndCertsLoaded().
|
staticprotected |
Definition at line 187 of file qsslsocket_p.h.
Referenced by ensureCiphersAndCertsLoaded(), QSslSocketBackendPrivate::initSslContext(), rootCertOnDemandLoadingSupported(), and setDefaultCaCertificates().
| bool QSslSocketPrivate::shutdown |
Definition at line 111 of file qsslsocket_p.h.
Referenced by QSslSocketBackendPrivate::disconnectFromHost(), init(), and QSslSocketBackendPrivate::transmit().
Definition at line 117 of file qsslsocket_p.h.
Referenced by QSslSocketBackendPrivate::startHandshake().
| QString QSslSocketPrivate::verificationPeerName |
Definition at line 121 of file qsslsocket_p.h.
Referenced by QSslSocketBackendPrivate::initSslContext(), and QSslSocketBackendPrivate::startHandshake().