#include "ndn-cxx/security/tpm/back-end-osx.hpp"
#include "ndn-cxx/security/tpm/key-handle-osx.hpp"
#include "ndn-cxx/security/tpm/tpm.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>
Go to the source code of this file.
Namespaces | |
ndn | |
ndn::security | |
ndn::security::tpm | |
Functions | |
static void | ndn::security::tpm::exportItem (const KeyRefOsx &keyRef, transform::PrivateKey &outKey) |
Export a private key from the Keychain to outKey . More... | |
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 std::string | ndn::security::tpm::getErrorMessage (OSStatus status) |
static std::string | ndn::security::tpm::getFailureReason (CFErrorRef err) |
static KeyRefOsx | ndn::security::tpm::getKeyRef (const Name &keyName) |
Get reference to private key with name keyName . More... | |
static CFReleaser< CFDataRef > | ndn::security::tpm::makeCFDataNoCopy (const uint8_t *buf, size_t buflen) |
static CFReleaser< CFMutableDictionaryRef > | ndn::security::tpm::makeCFMutableDictionary () |