blob: e93e99669da9d13f74156333c844ba0c1e72387d [file] [log] [blame]
akmhoque66e66182014-02-21 17:56:03 -06001#ifndef NLSR_KM_HPP
2#define NLSR_KM_HPP
3
4#include <ndn-cpp-dev/face.hpp>
5#include <ndn-cpp-dev/security/key-chain.hpp>
6#include <ndn-cpp-dev/util/scheduler.hpp>
7
8#include "nlsr_conf_param.hpp"
9
10namespace nlsr
11{
12 class KeyManager
13 {
14 public:
15 KeyManager()
16 :kChain()
17 {
18 }
19
20 ndn::KeyChain& getKeyChain()
21 {
22 return kChain;
23 }
24
25 void initKeyManager(ConfParameter &cp);
26
27 private:
28 ndn::KeyChain kChain;
29 };
30}
31
32#endif