NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
ndn::security::tpm Namespace Reference

Classes

class  BackEnd
 Abstraction of Tpm back-end. More...
 
class  BackEndFile
 The back-end implementation of file-based TPM. More...
 
class  BackEndMem
 The back-end implementation of in-memory TPM. More...
 
class  BackEndOsx
 The back-end implementation of TPM based on macOS Keychain Services. More...
 
class  DummyKeyHandle
 
class  KeyHandle
 Abstraction of TPM key handle. More...
 
class  KeyHandleMem
 A TPM key handle that keeps the private key in memory. More...
 
class  KeyHandleOsx
 Abstraction of TPM key handle used by the TPM based on OS X Keychain Service. More...
 
class  Tpm
 represents the front-end of TPM More...
 

Typedefs

using KeyRefOsx = util::CFReleaser< SecKeyRef >
 

Functions

static CFTypeRef getAsymKeyType (KeyType keyType)
 
static CFTypeRef getDigestAlgorithm (DigestAlgorithm digestAlgo)
 
static long getDigestSize (DigestAlgorithm digestAlgo)
 
 NDN_CXX_V2_KEYCHAIN_REGISTER_TPM_BACKEND (BackEndFile)
 
 NDN_CXX_V2_KEYCHAIN_REGISTER_TPM_BACKEND (BackEndMem)
 

Typedef Documentation

using ndn::security::tpm::KeyRefOsx = typedef util::CFReleaser<SecKeyRef>

Definition at line 32 of file key-ref-osx.hpp.

Function Documentation

static CFTypeRef ndn::security::tpm::getAsymKeyType ( KeyType  keyType)
static

Definition at line 88 of file back-end-osx.cpp.

References ndn::EC, and ndn::RSA.

Referenced by ndn::security::tpm::BackEndOsx::derivePublicKey().

static CFTypeRef ndn::security::tpm::getDigestAlgorithm ( DigestAlgorithm  digestAlgo)
static

Definition at line 101 of file back-end-osx.cpp.

References ndn::SHA224, ndn::SHA256, ndn::SHA384, and ndn::SHA512.

Referenced by ndn::security::tpm::BackEndOsx::sign().

static long ndn::security::tpm::getDigestSize ( DigestAlgorithm  digestAlgo)
static

Definition at line 115 of file back-end-osx.cpp.

References ndn::SHA224, ndn::SHA256, ndn::SHA384, and ndn::SHA512.

Referenced by ndn::security::tpm::BackEndOsx::sign().

ndn::security::tpm::NDN_CXX_V2_KEYCHAIN_REGISTER_TPM_BACKEND ( BackEndFile  )
ndn::security::tpm::NDN_CXX_V2_KEYCHAIN_REGISTER_TPM_BACKEND ( BackEndMem  )