Qt 6.x
The Qt SDK
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 989 of file qtls_schannel.cpp.

References QSchannelBackend::ensureInitializedImplementation().

+ Here is the call graph for this function:

◆ ~TlsCryptographSchannel()

QTlsPrivate::TlsCryptographSchannel::~TlsCryptographSchannel ( )

Definition at line 996 of file qtls_schannel.cpp.

Member Function Documentation

◆ continueHandshake()

void QTlsPrivate::TlsCryptographSchannel::continueHandshake ( )
override

Definition at line 2106 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 2058 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 2039 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 1004 of file qtls_schannel.cpp.

References Q_ASSERT.

◆ sessionCipher()

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

Definition at line 2081 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 2099 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 1730 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 1740 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 2174 of file qtls_schannel.cpp.

◆ transmit()

void QTlsPrivate::TlsCryptographSchannel::transmit ( )
override

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