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 <qtls_schannel_p.h>
Public Member Functions | |
TlsCryptographSchannel () | |
~TlsCryptographSchannel () | |
void | init (QSslSocket *q, QSslSocketPrivate *d) override |
void | startClientEncryption () override |
void | startServerEncryption () override |
void | transmit () override |
void | disconnectFromHost () override |
void | disconnected () override |
QSslCipher | sessionCipher () const override |
QSsl::SslProtocol | sessionProtocol () const override |
void | continueHandshake () override |
QList< QSslError > | tlsErrors () const override |
Private Member Functions | |
bool | hasUndecryptedData () const override |
Definition at line 40 of file qtls_schannel_p.h.
QTlsPrivate::TlsCryptographSchannel::TlsCryptographSchannel | ( | ) |
Definition at line 992 of file qtls_schannel.cpp.
References QSchannelBackend::ensureInitializedImplementation().
QTlsPrivate::TlsCryptographSchannel::~TlsCryptographSchannel | ( | ) |
Definition at line 999 of file qtls_schannel.cpp.
|
override |
Definition at line 2122 of file qtls_schannel.cpp.
References QAbstractSocket::bytesAvailable(), continueHandshake(), disconnectFromHost(), emit, QSslSocketPrivate::isPendingClose(), QSslSocketPrivate::plainTcpSocket(), Q_ASSERT, Q_FALLTHROUGH, QSslSocketPrivate::setEncrypted(), QSslSocketPrivate::setPendingClose(), QByteArray::size(), QSslSocket::SslServerMode, QSslSocketPrivate::tlsMode(), and transmit().
Referenced by continueHandshake(), startClientEncryption(), startServerEncryption(), and transmit().
|
override |
Definition at line 2074 of file qtls_schannel.cpp.
References QAbstractSocket::bytesAvailable(), hasUndecryptedData(), QSslSocketPrivate::maxReadBufferSize(), QSslSocketPrivate::plainTcpSocket(), Q_ASSERT, QSslSocketPrivate::setEncrypted(), QSslSocketPrivate::setMaxReadBufferSize(), and transmit().
|
override |
Definition at line 2055 of file qtls_schannel.cpp.
References QAbstractSocket::disconnectFromHost(), QSslSocketPrivate::plainTcpSocket(), Q_ASSERT, QAbstractSocket::state(), transmit(), and QAbstractSocket::UnconnectedState.
Referenced by continueHandshake(), and transmit().
|
inlineoverrideprivate |
Definition at line 91 of file qtls_schannel_p.h.
References QByteArray::size().
Referenced by disconnected().
|
override |
Definition at line 1007 of file qtls_schannel.cpp.
References Q_ASSERT.
|
override |
Definition at line 2097 of file qtls_schannel.cpp.
References QTlsPrivate::ciphersByName(), Q_ASSERT, and sessionProtocol().
|
override |
Definition at line 2115 of file qtls_schannel.cpp.
References QSsl::UnknownProtocol.
Referenced by sessionCipher().
|
override |
Definition at line 1740 of file qtls_schannel.cpp.
References continueHandshake(), and Q_ASSERT.
|
override |
Definition at line 1750 of file qtls_schannel.cpp.
References continueHandshake(), and Q_ASSERT.
Definition at line 2190 of file qtls_schannel.cpp.
|
override |
Definition at line 1760 of file qtls_schannel.cpp.
References arg, QAbstractSocket::bytesAvailable(), continueHandshake(), disconnectFromHost(), emit, QAbstractSocket::error(), QIODevice::errorString(), headerSize, QIODevice::isOpen(), QAbstractSocket::isValid(), QByteArray::length(), QSslSocketPrivate::maxReadBufferSize(), QSslSocketPrivate::plainTcpSocket(), Q_ASSERT, qCDebug, qCWarning, QSslSocketPrivate::readyReadPointer(), QByteArray::resize(), QAbstractSocket::SslInternalError, QAbstractSocket::state(), QSslSocketPrivate::tlsBuffer(), QSslSocketPrivate::tlsEmittedBytesWritten(), QSslSocketPrivate::tlsMode(), QSslSocketPrivate::tlsWriteBuffer(), QAbstractSocket::UnconnectedState, QSslSocket::UnencryptedMode, Qt::Uninitialized, and QIODevice::write().
Referenced by continueHandshake(), disconnected(), and disconnectFromHost().