IBR-DTNSuite  0.12
dtn::security::SecurityKeyManager Class Reference

#include <SecurityKeyManager.h>

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

Classes

class  KeyNotFoundException
 

Public Member Functions

virtual ~SecurityKeyManager ()
 
virtual void onConfigurationChanged (const dtn::daemon::Configuration &conf) throw ()
 
bool hasKey (const dtn::data::EID &ref, const dtn::security::SecurityKey::KeyType type=dtn::security::SecurityKey::KEY_UNSPEC) const
 
dtn::security::SecurityKey get (const dtn::data::EID &ref, const dtn::security::SecurityKey::KeyType type=dtn::security::SecurityKey::KEY_UNSPEC) const throw (SecurityKeyManager::KeyNotFoundException)
 
void store (const dtn::data::EID &ref, const std::string &data, const dtn::security::SecurityKey::KeyType type=dtn::security::SecurityKey::KEY_UNSPEC)
 

Static Public Member Functions

static SecurityKeyManagergetInstance ()
 

Detailed Description

Definition at line 39 of file SecurityKeyManager.h.

Constructor & Destructor Documentation

dtn::security::SecurityKeyManager::~SecurityKeyManager ( )
virtual

Definition at line 49 of file SecurityKeyManager.cpp.

Member Function Documentation

bool dtn::security::SecurityKeyManager::hasKey ( const dtn::data::EID ref,
const dtn::security::SecurityKey::KeyType  type = dtn::security::SecurityKey::KEY_UNSPEC 
) const

Definition at line 85 of file SecurityKeyManager.cpp.

References ibrcommon::File::exists(), ibrcommon::File::get(), and dtn::data::EID::getNode().

Here is the call graph for this function:

void dtn::security::SecurityKeyManager::store ( const dtn::data::EID ref,
const std::string &  data,
const dtn::security::SecurityKey::KeyType  type = dtn::security::SecurityKey::KEY_UNSPEC 
)

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