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

#include <SecurityKeyManager.h>

List of all members.

Classes

class  KeyNotFoundException

Public Member Functions

virtual ~SecurityKeyManager ()
void initialize (const ibrcommon::File &path, const ibrcommon::File &ca, const ibrcommon::File &key)
void prefetchKey (const dtn::data::EID &ref, const dtn::security::SecurityKey::KeyType type=dtn::security::SecurityKey::KEY_UNSPEC)
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 25 of file SecurityKeyManager.h.


Constructor & Destructor Documentation


Member Function Documentation

void dtn::security::SecurityKeyManager::initialize ( const ibrcommon::File path,
const ibrcommon::File ca,
const ibrcommon::File key 
)

Definition at line 36 of file SecurityKeyManager.cpp.

References ibrcommon::File::getPath(), IBRCOMMON_LOGGER, and IBRCOMMON_LOGGER_ENDL.

Referenced by __daemon_run().

Here is the call graph for this function:


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