NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
key-chain.hpp File Reference
#include "../security-common.hpp"
#include "certificate.hpp"
#include "../key-params.hpp"
#include "../pib/pib.hpp"
#include "../safe-bag.hpp"
#include "../signing-info.hpp"
#include "../tpm/tpm.hpp"
#include "../../interest.hpp"
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::v2::KeyChain
 The interface of signing key management. More...
 
class  ndn::security::v2::KeyChain::Error
 
class  ndn::security::v2::KeyChain::LocatorMismatchError
 Error indicating that the supplied TPM locator does not match the locator stored in PIB. More...
 
class  ndn::security::v2::KeyChain::InvalidSigningInfoError
 Error indicating that the supplied SigningInfo is invalid. More...
 

Namespaces

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

Macros

#define NDN_CXX_V2_KEYCHAIN_REGISTER_PIB_BACKEND(PibType)
 Register Pib backend class in KeyChain. More...
 
#define NDN_CXX_V2_KEYCHAIN_REGISTER_TPM_BACKEND(TpmType)
 Register Tpm backend class in KeyChain. More...
 

Macro Definition Documentation

#define NDN_CXX_V2_KEYCHAIN_REGISTER_PIB_BACKEND (   PibType)
Value:
static class NdnCxxAuto ## PibType ## PibRegistrationClass \
{ \
public: \
NdnCxxAuto ## PibType ## PibRegistrationClass() \
{ \
::ndn::security::v2::KeyChain::registerPibBackend<PibType>(PibType::getScheme()); \
} \
} ndnCxxAuto ## PibType ## PibRegistrationVariable

Register Pib backend class in KeyChain.

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

Note
This interface is implementation detail and may change without notice.

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

#define NDN_CXX_V2_KEYCHAIN_REGISTER_TPM_BACKEND (   TpmType)
Value:
static class NdnCxxAuto ## TpmType ## TpmRegistrationClass \
{ \
public: \
NdnCxxAuto ## TpmType ## TpmRegistrationClass() \
{ \
::ndn::security::v2::KeyChain::registerTpmBackend<TpmType>(TpmType::getScheme()); \
} \
} ndnCxxAuto ## TpmType ## TpmRegistrationVariable

Register Tpm backend class in KeyChain.

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

Note
This interface is implementation detail and may change without notice.

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