NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
key-chain.hpp File Reference
#include "sec-public-info.hpp"
#include "sec-tpm.hpp"
#include "key-params.hpp"
#include "secured-bag.hpp"
#include "signature-sha256-with-rsa.hpp"
#include "signature-sha256-with-ecdsa.hpp"
#include "digest-sha256.hpp"
#include "signing-info.hpp"
#include "../interest.hpp"
#include "../util/crypto.hpp"
#include "../util/random.hpp"
#include <initializer_list>
Include dependency graph for key-chain.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ndn::security::KeyChain
 The packet signing interface. More...
 
class  ndn::security::KeyChain::Error
 
class  ndn::security::KeyChain::MismatchError
 Error thrown when the supplied TPM locator to KeyChain constructor does not match the locator stored in PIB. More...
 

Namespaces

 ndn
 Copyright (c) 2011-2015 Regents of the University of California.
 
 ndn::security
 

Macros

#define NDN_CXX_KEYCHAIN_REGISTER_PIB(PibType, ...)
 Register SecPib class in ndn-cxx KeyChain. More...
 
#define NDN_CXX_KEYCHAIN_REGISTER_TPM(TpmType, ...)
 Register SecTpm class in ndn-cxx KeyChain. More...
 

Macro Definition Documentation

#define NDN_CXX_KEYCHAIN_REGISTER_PIB (   PibType,
  ... 
)
Value:
static class NdnCxxAuto ## PibType ## PibRegistrationClass \
{ \
public: \
NdnCxxAuto ## PibType ## PibRegistrationClass() \
{ \
::ndn::KeyChain::registerPib<PibType>({__VA_ARGS__}); \
} \
} ndnCxxAuto ## PibType ## PibRegistrationVariable

Register SecPib class in ndn-cxx KeyChain.

This macro should be placed once in the implementation file of the SecPib type within the namespace where the type is declared.

Definition at line 934 of file key-chain.hpp.

#define NDN_CXX_KEYCHAIN_REGISTER_TPM (   TpmType,
  ... 
)
Value:
static class NdnCxxAuto ## TpmType ## TpmRegistrationClass \
{ \
public: \
NdnCxxAuto ## TpmType ## TpmRegistrationClass() \
{ \
::ndn::KeyChain::registerTpm<TpmType>({__VA_ARGS__}); \
} \
} ndnCxxAuto ## TpmType ## TpmRegistrationVariable

Register SecTpm class in ndn-cxx KeyChain.

This macro should be placed once in the implementation file of the SecTpm type within the namespace where the type is declared.

Definition at line 950 of file key-chain.hpp.