#include <SecurityManager.h>
Public Member Functions | |
| virtual | ~SecurityManager () |
Static Public Member Functions | |
| static void | initialize (string privKey, string pubKey, string ca) |
| static void | setDefault (Bundle::BUNDLE_SECURITY s) |
| static Bundle::BUNDLE_SECURITY | getDefault () |
| static bool | validate (dtn::api::Bundle b) |
Definition at line 17 of file SecurityManager.h.
| dtn::api::SecurityManager::~SecurityManager | ( | ) | [virtual] |
Definition at line 23 of file SecurityManager.cpp.
| Bundle::BUNDLE_SECURITY dtn::api::SecurityManager::getDefault | ( | ) | [static] |
Get the default security for new bundles.
Definition at line 38 of file SecurityManager.cpp.
Referenced by dtn::api::Bundle::Bundle().
| static void dtn::api::SecurityManager::initialize | ( | string | privKey, | |
| string | pubKey, | |||
| string | ca | |||
| ) | [static] |
Set the keys for encryption and signing.
| void dtn::api::SecurityManager::setDefault | ( | Bundle::BUNDLE_SECURITY | s | ) | [static] |
Set the default security for new bundles.
Definition at line 33 of file SecurityManager.cpp.
| bool dtn::api::SecurityManager::validate | ( | dtn::api::Bundle | b | ) | [static] |
Check the security blocks of a bundle
Definition at line 43 of file SecurityManager.cpp.
1.7.1