|
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) | |
Public Member Functions inherited from bt::Authenticate | |
| 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. | |
Public Member Functions inherited from bt::AuthenticateBase | |
| 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 | |
Public Slots inherited from bt::Authenticate | |
| void | stop () |
| Stop the authentication. | |
Protected Slots inherited from bt::Authenticate | |
| void | onReadyRead () override |
| void | onReadyWrite () override |
Protected Slots inherited from bt::AuthenticateBase | |
| void | onError (int err) |
| void | onTimeout () |
Protected Member Functions inherited from bt::Authenticate | |
| virtual void | connected () |
| void | handshakeReceived (bool full) override |
| void | onFinish (bool succes) override |
Protected Member Functions inherited from bt::AuthenticateBase | |
| 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) |
Protected Attributes inherited from bt::Authenticate | |
| net::Address | addr |
| SHA1Hash | info_hash |
| PeerID | our_peer_id |
| PeerConnector::WPtr | pcon |
| PeerID | peer_id |
| net::Socks * | socks |
| bool | succes |
Protected Attributes inherited from bt::AuthenticateBase | |
| 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.
1.8.18