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>.
Loading...
Searching...
No Matches
QTlsPrivate::TlsCryptographSchannel Class Referencefinal

#include <qtls_schannel_p.h>

+ Inheritance diagram for QTlsPrivate::TlsCryptographSchannel:
+ Collaboration diagram for QTlsPrivate::TlsCryptographSchannel:

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< QSslErrortlsErrors () const override
 

Private Member Functions

bool hasUndecryptedData () const override
 

Detailed Description

Definition at line 40 of file qtls_schannel_p.h.

Constructor & Destructor Documentation

◆ TlsCryptographSchannel()

QTlsPrivate::TlsCryptographSchannel::TlsCryptographSchannel ( )

Definition at line 992 of file qtls_schannel.cpp.

References QSchannelBackend::ensureInitializedImplementation().

+ Here is the call graph for this function:

◆ ~TlsCryptographSchannel()

QTlsPrivate::TlsCryptographSchannel::~TlsCryptographSchannel ( )

Definition at line 999 of file qtls_schannel.cpp.

Member Function Documentation

◆ continueHandshake()

void QTlsPrivate::TlsCryptographSchannel::continueHandshake ( )
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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ disconnected()

void QTlsPrivate::TlsCryptographSchannel::disconnected ( )
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().

+ Here is the call graph for this function:

◆ disconnectFromHost()

void QTlsPrivate::TlsCryptographSchannel::disconnectFromHost ( )
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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ hasUndecryptedData()

bool QTlsPrivate::TlsCryptographSchannel::hasUndecryptedData ( ) const
inlineoverrideprivate

Definition at line 91 of file qtls_schannel_p.h.

References QByteArray::size().

Referenced by disconnected().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ init()

void QTlsPrivate::TlsCryptographSchannel::init ( QSslSocket * q,
QSslSocketPrivate * d )
override

Definition at line 1007 of file qtls_schannel.cpp.

References Q_ASSERT.

◆ sessionCipher()

QSslCipher QTlsPrivate::TlsCryptographSchannel::sessionCipher ( ) const
override

Definition at line 2097 of file qtls_schannel.cpp.

References QTlsPrivate::ciphersByName(), Q_ASSERT, and sessionProtocol().

+ Here is the call graph for this function:

◆ sessionProtocol()

QSsl::SslProtocol QTlsPrivate::TlsCryptographSchannel::sessionProtocol ( ) const
override

Definition at line 2115 of file qtls_schannel.cpp.

References QSsl::UnknownProtocol.

Referenced by sessionCipher().

+ Here is the caller graph for this function:

◆ startClientEncryption()

void QTlsPrivate::TlsCryptographSchannel::startClientEncryption ( )
override

Definition at line 1740 of file qtls_schannel.cpp.

References continueHandshake(), and Q_ASSERT.

+ Here is the call graph for this function:

◆ startServerEncryption()

void QTlsPrivate::TlsCryptographSchannel::startServerEncryption ( )
override

Definition at line 1750 of file qtls_schannel.cpp.

References continueHandshake(), and Q_ASSERT.

+ Here is the call graph for this function:

◆ tlsErrors()

QList< QSslError > QTlsPrivate::TlsCryptographSchannel::tlsErrors ( ) const
override

Definition at line 2190 of file qtls_schannel.cpp.

◆ transmit()


The documentation for this class was generated from the following files: