![]() |
Qt 6.x
The Qt SDK
|
#include <qsocks5socketengine_p.h>
Public Member Functions | |
QSocks5PasswordAuthenticator (const QString &userName, const QString &password) | |
char | methodId () override |
bool | beginAuthenticate (QTcpSocket *socket, bool *completed) override |
bool | continueAuthenticate (QTcpSocket *socket, bool *completed) override |
QString | errorString () override |
![]() | |
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 () |
Definition at line 131 of file qsocks5socketengine_p.h.
QSocks5PasswordAuthenticator::QSocks5PasswordAuthenticator | ( | const QString & | userName, |
const QString & | password | ||
) |
Definition at line 417 of file qsocks5socketengine.cpp.
|
overridevirtual |
Reimplemented from QSocks5Authenticator.
Definition at line 428 of file qsocks5socketengine.cpp.
References QByteArray::data(), pos, S5_PASSWORDAUTH_VERSION, QByteArray::size(), socket, QString::toLatin1(), and QIODevice::write().
|
overridevirtual |
Reimplemented from QSocks5Authenticator.
Definition at line 445 of file qsocks5socketengine.cpp.
References QAbstractSocket::bytesAvailable(), QAbstractSocket::close(), QIODevice::read(), S5_PASSWORDAUTH_VERSION, and socket.
|
overridevirtual |
Reimplemented from QSocks5Authenticator.
Definition at line 463 of file qsocks5socketengine.cpp.
|
overridevirtual |
Reimplemented from QSocks5Authenticator.
Definition at line 423 of file qsocks5socketengine.cpp.