Qt 6.x
The Qt SDK
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
QSocks5Authenticator Class Reference

#include <qsocks5socketengine_p.h>

+ Inheritance diagram for QSocks5Authenticator:
+ Collaboration diagram for QSocks5Authenticator:

Public Member Functions

 QSocks5Authenticator ()
 
virtual ~QSocks5Authenticator ()
 
virtual char methodId ()
 
virtual bool beginAuthenticate (QTcpSocket *socket, bool *completed)
 
virtual bool continueAuthenticate (QTcpSocket *socket, bool *completed)
 
bool seal (const QByteArray &buf, QByteArray *sealedBuf)
 
bool unSeal (const QByteArray &sealedBuf, QByteArray *buf)
 
bool unSeal (QTcpSocket *sealedSocket, QByteArray *buf)
 
virtual QString errorString ()
 

Detailed Description

Definition at line 115 of file qsocks5socketengine_p.h.

Constructor & Destructor Documentation

◆ QSocks5Authenticator()

QSocks5Authenticator::QSocks5Authenticator ( )

Definition at line 373 of file qsocks5socketengine.cpp.

◆ ~QSocks5Authenticator()

QSocks5Authenticator::~QSocks5Authenticator ( )
virtual

Definition at line 377 of file qsocks5socketengine.cpp.

Member Function Documentation

◆ beginAuthenticate()

bool QSocks5Authenticator::beginAuthenticate ( QTcpSocket socket,
bool *  completed 
)
virtual

Reimplemented in QSocks5PasswordAuthenticator.

Definition at line 386 of file qsocks5socketengine.cpp.

References Q_UNUSED, and socket.

◆ continueAuthenticate()

bool QSocks5Authenticator::continueAuthenticate ( QTcpSocket socket,
bool *  completed 
)
virtual

Reimplemented in QSocks5PasswordAuthenticator.

Definition at line 393 of file qsocks5socketengine.cpp.

References Q_UNUSED, and socket.

◆ errorString()

virtual QString QSocks5Authenticator::errorString ( )
inlinevirtual

Reimplemented in QSocks5PasswordAuthenticator.

Definition at line 128 of file qsocks5socketengine_p.h.

◆ methodId()

char QSocks5Authenticator::methodId ( )
virtual

Reimplemented in QSocks5PasswordAuthenticator.

Definition at line 381 of file qsocks5socketengine.cpp.

◆ seal()

bool QSocks5Authenticator::seal ( const QByteArray buf,
QByteArray sealedBuf 
)

Definition at line 400 of file qsocks5socketengine.cpp.

◆ unSeal() [1/2]

bool QSocks5Authenticator::unSeal ( const QByteArray sealedBuf,
QByteArray buf 
)

Definition at line 406 of file qsocks5socketengine.cpp.

Referenced by unSeal().

+ Here is the caller graph for this function:

◆ unSeal() [2/2]

bool QSocks5Authenticator::unSeal ( QTcpSocket sealedSocket,
QByteArray buf 
)

Definition at line 412 of file qsocks5socketengine.cpp.

References QIODevice::readAll(), and unSeal().

+ Here is the call graph for this function:

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