#include "back-end-osx.hpp"
#include "key-handle-osx.hpp"
#include "tpm.hpp"
#include "../transform/private-key.hpp"
#include "../../util/cf-string-osx.hpp"
#include <Security/Security.h>
#include <cstring>
Go to the source code of this file.
Namespaces | |
ndn | |
Copyright (c) 2013-2017 Regents of the University of California. | |
ndn::security | |
ndn::security::tpm | |
Functions | |
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 () |