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 <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 |
Public Member Functions inherited from QSocks5Authenticator | |
QSocks5Authenticator () | |
virtual | ~QSocks5Authenticator () |
bool | seal (const QByteArray &buf, QByteArray *sealedBuf) |
bool | unSeal (const QByteArray &sealedBuf, QByteArray *buf) |
bool | unSeal (QTcpSocket *sealedSocket, QByteArray *buf) |
Definition at line 134 of file qsocks5socketengine_p.h.
QSocks5PasswordAuthenticator::QSocks5PasswordAuthenticator | ( | const QString & | userName, |
const QString & | password ) |
Definition at line 420 of file qsocks5socketengine.cpp.
|
overridevirtual |
Reimplemented from QSocks5Authenticator.
Definition at line 431 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 448 of file qsocks5socketengine.cpp.
References QAbstractSocket::bytesAvailable(), QAbstractSocket::close(), QIODevice::read(), S5_PASSWORDAUTH_VERSION, and socket.
|
overridevirtual |
Reimplemented from QSocks5Authenticator.
Definition at line 466 of file qsocks5socketengine.cpp.
|
overridevirtual |
Reimplemented from QSocks5Authenticator.
Definition at line 426 of file qsocks5socketengine.cpp.