|
IBR-DTN
1.0.0
|
#include <NoneProtocol.h>


Public Member Functions | |
| NoneProtocol (KeyExchangeManager &manager) | |
| virtual | ~NoneProtocol () |
| 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 KeyExchangeSession * | createSession (const dtn::data::EID &peer, unsigned int uniqueId) |
| 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 | |
| KeyExchangeManager & | manager |
Definition at line 32 of file NoneProtocol.h.
| dtn::security::NoneProtocol::NoneProtocol | ( | KeyExchangeManager & | manager | ) |
Definition at line 31 of file NoneProtocol.cpp.
|
virtual |
Definition at line 36 of file NoneProtocol.cpp.
|
virtual |
Implements dtn::security::KeyExchangeProtocol.
Definition at line 40 of file NoneProtocol.cpp.
References dtn::security::SecurityKeyManager::get(), dtn::security::SecurityKey::getData(), dtn::security::SecurityKeyManager::getInstance(), dtn::security::SecurityKey::KEY_PUBLIC, dtn::core::BundleCore::local, dtn::security::KeyExchangeProtocol::manager, dtn::security::KeyExchangeData::REQUEST, and dtn::security::KeyExchangeManager::submit().

|
virtual |
Implements dtn::security::KeyExchangeProtocol.
Definition at line 55 of file NoneProtocol.cpp.
References dtn::security::KeyExchangeManager::finish(), dtn::security::SecurityKeyManager::get(), dtn::security::KeyExchangeData::getAction(), dtn::security::SecurityKey::getData(), dtn::security::SecurityKeyManager::getInstance(), dtn::security::SecurityKey::KEY_PUBLIC, dtn::core::BundleCore::local, dtn::security::SecurityKey::LOW, dtn::security::KeyExchangeProtocol::manager, dtn::security::KeyExchangeSession::putKey(), dtn::security::KeyExchangeData::REQUEST, dtn::security::KeyExchangeData::RESPONSE, and dtn::security::KeyExchangeManager::submit().
