v1/key-chain.hpp File Reference
#include "sec-public-info.hpp"
#include "sec-tpm.hpp"
#include "secured-bag.hpp"
#include "../key-params.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/random.hpp"
#include <initializer_list>
+ Include dependency graph for v1/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::v1::KeyChain::Error
 
class  ndn::security::v1::KeyChain
 The packet signing interface. More...
 
class  ndn::security::v1::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) 2013-2017 Regents of the University of California.
 
 ndn::security
 
 ndn::security::v1
 

Macros

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

Macro Definition Documentation

#define NDN_CXX_V1_KEYCHAIN_REGISTER_PIB (   PibType,
  ... 
)
Value:
static class NdnCxxAuto ## PibType ## PibRegistrationClass \
{ \
public: \
NdnCxxAuto ## PibType ## PibRegistrationClass() \
{ \
::ndn::security::v1::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 936 of file v1/key-chain.hpp.

#define NDN_CXX_V1_KEYCHAIN_REGISTER_TPM (   TpmType,
  ... 
)
Value:
static class NdnCxxAuto ## TpmType ## TpmRegistrationClass \
{ \
public: \
NdnCxxAuto ## TpmType ## TpmRegistrationClass() \
{ \
::ndn::security::v1::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 952 of file v1/key-chain.hpp.