IBR-DTN  1.0.0
dtn::security::HashProtocol Class Reference

#include <HashProtocol.h>

Inheritance diagram for dtn::security::HashProtocol:
Inheritance graph
Collaboration diagram for dtn::security::HashProtocol:
Collaboration graph

Public Member Functions

 HashProtocol (KeyExchangeManager &manager)
 
virtual ~HashProtocol ()
 
virtual KeyExchangeSessioncreateSession (const dtn::data::EID &peer, unsigned int uniqueId)
 
virtual void begin (KeyExchangeSession &session, KeyExchangeData &data)
 
virtual void step (KeyExchangeSession &session, KeyExchangeData &data)
 
- Public Member Functions inherited from dtn::security::KeyExchangeProtocol
 KeyExchangeProtocol (KeyExchangeManager &manager, int protocol_id)
 
virtual ~KeyExchangeProtocol ()
 
int getProtocol () const
 
void add (std::map< int, KeyExchangeProtocol * > &list)
 
virtual void initialize ()
 

Additional Inherited Members

- Static Public Member Functions inherited from dtn::security::KeyExchangeProtocol
static void sha256 (std::ostream &stream, const std::string &data)
 
static std::string toHex (const std::string &data)
 
- Protected Attributes inherited from dtn::security::KeyExchangeProtocol
KeyExchangeManagermanager
 

Detailed Description

Definition at line 33 of file HashProtocol.h.

Constructor & Destructor Documentation

dtn::security::HashProtocol::HashProtocol ( KeyExchangeManager manager)

Definition at line 41 of file HashProtocol.cpp.

dtn::security::HashProtocol::~HashProtocol ( )
virtual

Definition at line 46 of file HashProtocol.cpp.

Member Function Documentation

KeyExchangeSession * dtn::security::HashProtocol::createSession ( const dtn::data::EID peer,
unsigned int  uniqueId 
)
virtual

Create a new session for the given peer

Reimplemented from dtn::security::KeyExchangeProtocol.

Definition at line 50 of file HashProtocol.cpp.

References dtn::security::KeyExchangeProtocol::getProtocol().

Here is the call graph for this function:


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