• Main Page
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

ibrdtn/ibrdtn/api/SecurityManager.cpp

Go to the documentation of this file.
00001 /*
00002  * SecurityManager.cpp
00003  *
00004  *  Created on: 27.07.2009
00005  *      Author: morgenro
00006  */
00007 
00008 #include "ibrdtn/config.h"
00009 #include "ibrdtn/api/SecurityManager.h"
00010 #include "ibrdtn/api/Bundle.h"
00011 
00012 namespace dtn
00013 {
00014         namespace api
00015         {
00016                 // default is sec off.
00017                 Bundle::BUNDLE_SECURITY SecurityManager::_default = Bundle::SEC_OFF;
00018 
00019                 SecurityManager::SecurityManager()
00020                 {
00021                 }
00022 
00023                 SecurityManager::~SecurityManager()
00024                 {
00025                 }
00026 
00027 
00028                 void SecurityManager::initialize(std::string, std::string, std::string)
00029                 {
00030 
00031                 }
00032 
00033                 void SecurityManager::setDefault(Bundle::BUNDLE_SECURITY s)
00034                 {
00035                         SecurityManager::_default = s;
00036                 }
00037 
00038                 Bundle::BUNDLE_SECURITY SecurityManager::getDefault()
00039                 {
00040                         return SecurityManager::_default;
00041                 }
00042 
00043                 bool SecurityManager::validate(dtn::api::Bundle)
00044                 {
00045                         return false;
00046                 }
00047 
00048         }
00049 }

Generated on Thu Nov 11 2010 09:49:47 for IBR-DTNSuite by  doxygen 1.7.1