IBR-DTN
1.0.0
|
#include <NFCProtocol.h>
Public Member Functions | |
NFCProtocol (KeyExchangeManager &manager) | |
virtual | ~NFCProtocol () |
virtual void | begin (KeyExchangeSession &session, KeyExchangeData &data) |
virtual void | step (KeyExchangeSession &session, KeyExchangeData &data) |
![]() | |
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 void | sha256 (std::ostream &stream, const std::string &data) |
static std::string | toHex (const std::string &data) |
![]() | |
KeyExchangeManager & | manager |
Definition at line 32 of file NFCProtocol.h.
dtn::security::NFCProtocol::NFCProtocol | ( | KeyExchangeManager & | manager | ) |
Definition at line 29 of file NFCProtocol.cpp.
|
virtual |
Definition at line 34 of file NFCProtocol.cpp.
|
virtual |
Implements dtn::security::KeyExchangeProtocol.
Definition at line 38 of file NFCProtocol.cpp.
References dtn::security::KeyExchangeManager::finish(), dtn::security::SecurityKey::HIGH, dtn::security::SecurityKey::KEY_PUBLIC, dtn::security::KeyExchangeProtocol::manager, and dtn::security::KeyExchangeSession::putKey().
|
virtual |
Implements dtn::security::KeyExchangeProtocol.
Definition at line 47 of file NFCProtocol.cpp.