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


Public Member Functions | |
| QRCodeProtocol (KeyExchangeManager &manager) | |
| virtual | ~QRCodeProtocol () |
| 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 QRCodeProtocol.h.
| dtn::security::QRCodeProtocol::QRCodeProtocol | ( | KeyExchangeManager & | manager | ) |
Definition at line 32 of file QRCodeProtocol.cpp.
|
virtual |
Definition at line 37 of file QRCodeProtocol.cpp.
|
virtual |
Implements dtn::security::KeyExchangeProtocol.
Definition at line 41 of file QRCodeProtocol.cpp.
References dtn::security::KeyExchangeData::COMPLETE, dtn::security::KeyExchangeManager::finish(), dtn::security::SecurityKeyManager::get(), dtn::security::SecurityKey::getData(), dtn::security::SecurityKey::getFingerprint(), dtn::security::SecurityKeyManager::getInstance(), dtn::security::KeyExchangeSession::getPeer(), dtn::security::SecurityKey::HIGH, dtn::security::SecurityKey::KEY_PUBLIC, dtn::security::KeyExchangeProtocol::manager, dtn::security::KeyExchangeSession::putKey(), and dtn::security::SecurityKey::type.

|
virtual |
Implements dtn::security::KeyExchangeProtocol.
Definition at line 67 of file QRCodeProtocol.cpp.