ED2KPacket::PublicKey Class Reference

PublicKey packet is the expected response to SecIdentState packet which requested PublicKey; it contains - the remote client's public key ofcourse. More...

#include <packets.h>

Inheritance diagram for ED2KPacket::PublicKey:

ED2KPacket::Packet List of all members.

Public Member Functions

 PublicKey (const ::PublicKey &pubKey)
 PublicKey (std::istream &i)
 operator std::string ()
::PublicKey getKey () const

Private Attributes

::PublicKey m_pubKey
 Public key.

Detailed Description

PublicKey packet is the expected response to SecIdentState packet which requested PublicKey; it contains - the remote client's public key ofcourse.

Definition at line 965 of file packets.h.


Constructor & Destructor Documentation

ED2KPacket::PublicKey::PublicKey const ::PublicKey pubKey  ) 
 

Definition at line 1236 of file packets.cpp.

References PR_EMULE.

ED2KPacket::PublicKey::PublicKey std::istream &  i  ) 
 

Definition at line 1238 of file packets.cpp.


Member Function Documentation

ED2KPacket::PublicKey::operator std::string  ) 
 

Definition at line 1242 of file packets.cpp.

References m_pubKey, ED2KPacket::Packet::makePacket(), and OP_PUBLICKEY.

::PublicKey ED2KPacket::PublicKey::getKey  )  const [inline]
 

Definition at line 971 of file packets.h.

References m_pubKey.


Member Data Documentation

::PublicKey ED2KPacket::PublicKey::m_pubKey [private]
 

Public key.

Definition at line 973 of file packets.h.

Referenced by getKey(), and operator std::string().


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