Classes | |
| class | BackEnd |
| Abstract interface for a TPM backend implementation. More... | |
| class | BackEndFile |
| The back-end implementation of a file-based TPM. More... | |
| class | BackEndMem |
| The back-end implementation of an in-memory TPM. More... | |
| class | BackEndOsx |
| The back-end implementation of TPM based on macOS Keychain Services. More... | |
| 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 macOS Keychain Services. More... | |
| class | Tpm |
| represents the front-end of TPM More... | |
Typedefs | |
| using | KeyRefOsx = detail::CFReleaser< SecKeyRef > |
Functions | |
| static void | exportItem (const KeyRefOsx &keyRef, transform::PrivateKey &outKey) |
Export a private key from the Keychain to outKey. More... | |
| static CFTypeRef | getAsymKeyType (KeyType keyType) |
| static CFTypeRef | getDigestAlgorithm (DigestAlgorithm digestAlgo) |
| static int | getDigestSize (DigestAlgorithm digestAlgo) |
| static std::string | getErrorMessage (OSStatus status) |
| static std::string | getFailureReason (CFErrorRef err) |
| static KeyRefOsx | getKeyRef (const Name &keyName) |
Get reference to private key with name keyName. More... | |
| static CFReleaser< CFDataRef > | makeCFDataNoCopy (const uint8_t *buf, size_t buflen) |
| static CFReleaser< CFMutableDictionaryRef > | makeCFMutableDictionary () |
Variables | |
| static class ndn::security::tpm::NdnCxxAutoBackEndFileTpmRegistrationClass | ndnCxxAutoBackEndFileTpmRegistrationVariable |
| static class ndn::security::tpm::NdnCxxAutoBackEndMemTpmRegistrationClass | ndnCxxAutoBackEndMemTpmRegistrationVariable |
| using ndn::security::tpm::KeyRefOsx = typedef detail::CFReleaser<SecKeyRef> |
Definition at line 39 of file key-ref-osx.hpp.
|
static |
Export a private key from the Keychain to outKey.
Definition at line 158 of file back-end-osx.cpp.
|
static |
Definition at line 81 of file back-end-osx.cpp.
|
static |
Definition at line 94 of file back-end-osx.cpp.
|
static |
Definition at line 108 of file back-end-osx.cpp.
|
static |
Definition at line 61 of file back-end-osx.cpp.
|
static |
Definition at line 71 of file back-end-osx.cpp.
Get reference to private key with name keyName.
Definition at line 128 of file back-end-osx.cpp.
|
static |
Definition at line 47 of file back-end-osx.cpp.
|
static |
Definition at line 53 of file back-end-osx.cpp.
|
static |
|
static |