Public Member Functions | Static Public Member Functions

dtn::api::SecurityManager Class Reference

#include <SecurityManager.h>

List of all members.

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)

Detailed Description

Definition at line 17 of file SecurityManager.h.


Constructor & Destructor Documentation

dtn::api::SecurityManager::~SecurityManager (  )  [virtual]

Definition at line 23 of file SecurityManager.cpp.


Member Function Documentation

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.


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