key-chain.hpp File Reference
+ 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::Error
 
class  ndn::security::v2::KeyChain::InvalidSigningInfoError
 Error indicating that the supplied SigningInfo is invalid. More...
 
class  ndn::security::v2::KeyChain
 The main interface for signing key management. More...
 
class  ndn::security::v2::KeyChain::LocatorMismatchError
 Error indicating that the supplied TPM locator does not match the locator stored in PIB. More...
 
struct  ndn::security::MakeCertificateOptions
 Options to KeyChain::makeCertificate() . More...
 

Namespaces

 ndn
 
 ndn::security
 
 ndn::security::v2
 

Macros

#define NDN_CXX_KEYCHAIN_REGISTER_PIB_BACKEND(PibType)
 Register Pib backend class in KeyChain. More...
 
#define NDN_CXX_KEYCHAIN_REGISTER_TPM_BACKEND(TpmType)
 Register Tpm backend class in KeyChain. More...
 

Macro Definition Documentation

◆ NDN_CXX_KEYCHAIN_REGISTER_PIB_BACKEND

#define NDN_CXX_KEYCHAIN_REGISTER_PIB_BACKEND (   PibType)
Value:
static class NdnCxxAuto ## PibType ## PibRegistrationClass \
{ \
public: \
NdnCxxAuto ## PibType ## PibRegistrationClass() \
{ \
::ndn::security::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, inside the namespace where the type is declared.

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

◆ NDN_CXX_KEYCHAIN_REGISTER_TPM_BACKEND

#define NDN_CXX_KEYCHAIN_REGISTER_TPM_BACKEND (   TpmType)
Value:
static class NdnCxxAuto ## TpmType ## TpmRegistrationClass \
{ \
public: \
NdnCxxAuto ## TpmType ## TpmRegistrationClass() \
{ \
::ndn::security::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, inside the namespace where the type is declared.

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