Qt 4.8
|
#include <qsslsocket_openssl_p.h>
Public Functions | |
void | destroySslContext () |
void | disconnected () |
void | disconnectFromHost () |
bool | initSslContext () |
QSslSocketBackendPrivate () | |
QSslCipher | sessionCipher () const |
void | startClientEncryption () |
bool | startHandshake () |
void | startServerEncryption () |
void | transmit () |
Transmits encrypted data between the BIOs and the socket. More... | |
virtual | ~QSslSocketBackendPrivate () |
Public Functions inherited from QSslSocketPrivate | |
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) |
void | init () |
virtual qint64 | peek (char *data, qint64 maxSize) |
virtual QByteArray | peek (qint64 maxSize) |
QSslSocketPrivate () | |
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 () |
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 **) |
Static Public Variables inherited from QSslSocketPrivate | |
static PtrSecCertificateGetData | ptrSecCertificateGetData = 0 |
static PtrSecTrustCopyAnchorCertificates | ptrSecTrustCopyAnchorCertificates = 0 |
static PtrSecTrustSettingsCopyCertificates | ptrSecTrustSettingsCopyCertificates = 0 |
Static Protected Functions inherited from QSslSocketPrivate | |
static QList< QByteArray > | unixRootCertDirectories () |
Static Protected Variables inherited from QSslSocketPrivate | |
static bool | s_loadRootCertsOnDemand = false |
Definition at line 93 of file qsslsocket_openssl_p.h.
QSslSocketBackendPrivate::QSslSocketBackendPrivate | ( | ) |
Definition at line 173 of file qsslsocket_openssl.cpp.
|
virtual |
Definition at line 185 of file qsslsocket_openssl.cpp.
void QSslSocketBackendPrivate::destroySslContext | ( | ) |
Definition at line 485 of file qsslsocket_openssl.cpp.
Referenced by disconnected(), and ~QSslSocketBackendPrivate().
|
virtual |
Implements QSslSocketPrivate.
Definition at line 1473 of file qsslsocket_openssl.cpp.
|
virtual |
Implements QSslSocketPrivate.
Definition at line 1461 of file qsslsocket_openssl.cpp.
|
static |
Definition at line 1507 of file qsslsocket_openssl.cpp.
Referenced by initSslContext(), startHandshake(), and transmit().
bool QSslSocketBackendPrivate::initSslContext | ( | ) |
Definition at line 248 of file qsslsocket_openssl.cpp.
Referenced by startClientEncryption(), and startServerEncryption().
|
static |
Definition at line 1520 of file qsslsocket_openssl.cpp.
Referenced by startHandshake().
|
static |
Definition at line 190 of file qsslsocket_openssl.cpp.
Referenced by QSslSocketPrivate::resetDefaultCiphers(), and sessionCipher().
|
virtual |
Implements QSslSocketPrivate.
Definition at line 1481 of file qsslsocket_openssl.cpp.
|
static |
Definition at line 1496 of file qsslsocket_openssl.cpp.
Referenced by startHandshake().
|
virtual |
Implements QSslSocketPrivate.
Definition at line 980 of file qsslsocket_openssl.cpp.
bool QSslSocketBackendPrivate::startHandshake | ( | ) |
Definition at line 1254 of file qsslsocket_openssl.cpp.
Referenced by startClientEncryption(), startServerEncryption(), and transmit().
|
virtual |
Implements QSslSocketPrivate.
Definition at line 993 of file qsslsocket_openssl.cpp.
|
virtual |
Transmits encrypted data between the BIOs and the socket.
Implements QSslSocketPrivate.
Definition at line 1014 of file qsslsocket_openssl.cpp.
Referenced by disconnectFromHost(), startClientEncryption(), and startServerEncryption().
X509_STORE* QSslSocketBackendPrivate::certificateStore |
Definition at line 109 of file qsslsocket_openssl_p.h.
X509_STORE_CTX* QSslSocketBackendPrivate::certificateStoreCtx |
Definition at line 110 of file qsslsocket_openssl_p.h.
SSL_CTX* QSslSocketBackendPrivate::ctx |
Definition at line 104 of file qsslsocket_openssl_p.h.
Referenced by destroySslContext(), initSslContext(), sessionCipher(), and transmit().
Definition at line 111 of file qsslsocket_openssl_p.h.
Referenced by initSslContext(), and startHandshake().
EVP_PKEY* QSslSocketBackendPrivate::pkey |
Definition at line 105 of file qsslsocket_openssl_p.h.
Referenced by destroySslContext(), and initSslContext().
BIO* QSslSocketBackendPrivate::readBio |
Definition at line 106 of file qsslsocket_openssl_p.h.
Referenced by initSslContext(), and transmit().
SSL_SESSION* QSslSocketBackendPrivate::session |
Definition at line 108 of file qsslsocket_openssl_p.h.
SSL* QSslSocketBackendPrivate::ssl |
Definition at line 103 of file qsslsocket_openssl_p.h.
Referenced by destroySslContext(), disconnectFromHost(), initSslContext(), sessionCipher(), startHandshake(), and transmit().
BIO* QSslSocketBackendPrivate::writeBio |
Definition at line 107 of file qsslsocket_openssl_p.h.
Referenced by initSslContext(), and transmit().