NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
back-end-osx.cpp File Reference
#include "ndn-cxx/security/tpm/impl/back-end-osx.hpp"
#include "ndn-cxx/security/tpm/impl/key-handle-osx.hpp"
#include "ndn-cxx/security/transform/private-key.hpp"
#include "ndn-cxx/detail/cf-string-osx.hpp"
#include "ndn-cxx/encoding/buffer-stream.hpp"
#include <Security/Security.h>
#include <cstring>
#include <boost/lexical_cast.hpp>
Include dependency graph for back-end-osx.cpp:

Go to the source code of this file.

Classes

class  ndn::security::tpm::BackEndOsx::Impl
 

Namespaces

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

Functions

static CFReleaser< CFDataRef > ndn::security::tpm::makeCFDataNoCopy (const uint8_t *buf, size_t buflen)
 
static CFReleaser< CFMutableDictionaryRef > ndn::security::tpm::makeCFMutableDictionary ()
 
static std::string ndn::security::tpm::getErrorMessage (OSStatus status)
 
static std::string ndn::security::tpm::getFailureReason (CFErrorRef err)
 
static CFTypeRef ndn::security::tpm::getAsymKeyType (KeyType keyType)
 
static CFTypeRef ndn::security::tpm::getDigestAlgorithm (DigestAlgorithm digestAlgo)
 
static int ndn::security::tpm::getDigestSize (DigestAlgorithm digestAlgo)
 
static KeyRefOsx ndn::security::tpm::getKeyRef (const Name &keyName)
 Get reference to private key with name keyName. More...
 
static void ndn::security::tpm::exportItem (const KeyRefOsx &keyRef, transform::PrivateKey &outKey)
 Export a private key from the Keychain to outKey. More...