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

#include <JPAKEProtocol.h>

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

Public Member Functions

 JPAKEProtocol (KeyExchangeManager &manager)
 
virtual ~JPAKEProtocol ()
 
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 36 of file JPAKEProtocol.h.

Constructor & Destructor Documentation

dtn::security::JPAKEProtocol::JPAKEProtocol ( KeyExchangeManager manager)

Definition at line 48 of file JPAKEProtocol.cpp.

dtn::security::JPAKEProtocol::~JPAKEProtocol ( )
virtual

Definition at line 53 of file JPAKEProtocol.cpp.

Member Function Documentation

KeyExchangeSession * dtn::security::JPAKEProtocol::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 57 of file JPAKEProtocol.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: