libktorrent
2.1.1
|
#include <encryptedauthenticate.h>
Public Member Functions | |
EncryptedAuthenticate (const net::Address &addr, bt::TransportProtocol proto, const bt::SHA1Hash &info_hash, const bt::PeerID &peer_id, bt::PeerConnector::WPtr pcon) | |
![]() | |
Authenticate (const net::Address &addr, TransportProtocol proto, const SHA1Hash &info_hash, const PeerID &peer_id, PeerConnector::WPtr pcon) | |
const PeerID & | getPeerID () const |
bool | isSuccesfull () const |
See if the authentication is succesfull. | |
![]() | |
AuthenticateBase (mse::EncryptedPacketSocket::Ptr s) | |
mse::EncryptedPacketSocket::Ptr | getSocket () const |
get the socket | |
bool | isFinished () const |
See if the authentication is finished. | |
bool | isLocal () const |
Is this a local peer. | |
virtual void | onReadyRead () |
We can read from the socket. | |
virtual void | onReadyWrite () |
We can write to the socket (used to detect a succesfull connection) | |
void | setLocal (bool loc) |
Set whether this is a local peer. | |
Uint32 | supportedExtensions () const |
Flags indicating which extensions are supported. | |
Additional Inherited Members | |
![]() | |
void | stop () |
Stop the authentication. | |
![]() | |
void | onReadyRead () override |
void | onReadyWrite () override |
![]() | |
void | onError (int err) |
void | onTimeout () |
![]() | |
virtual void | connected () |
void | handshakeReceived (bool full) override |
void | onFinish (bool succes) override |
![]() | |
void | makeHandshake (bt::Uint8 *buf, const SHA1Hash &info_hash, const PeerID &our_peer_id) |
void | sendHandshake (const SHA1Hash &info_hash, const PeerID &our_peer_id) |
![]() | |
net::Address | addr |
SHA1Hash | info_hash |
PeerID | our_peer_id |
PeerConnector::WPtr | pcon |
PeerID | peer_id |
net::Socks * | socks |
bool | succes |
![]() | |
Uint32 | bytes_of_handshake_received |
Uint32 | ext_support |
bool | finished |
Uint8 | handshake [68] |
bool | local |
mse::EncryptedPacketSocket::Ptr | sock |
QTimer | timer |
Encrypted version of the Authenticate class
Definition at line 58 of file encryptedauthenticate.h.