Abstraction of TPM key handle used by the TPM based on OS X Keychain Service. More...
#include <key-handle-osx.hpp>
Public Member Functions | |
KeyHandleOsx (const KeyRefOsx &key) | |
Public Member Functions inherited from ndn::security::tpm::KeyHandle | |
virtual | ~KeyHandle () |
ConstBufferPtr | sign (DigestAlgorithm digestAlgorithm, const uint8_t *buf, size_t size) const |
ConstBufferPtr | decrypt (const uint8_t *cipherText, size_t cipherTextLen) const |
ConstBufferPtr | derivePublicKey () const |
void | setKeyName (const Name &keyName) |
Name | getKeyName () const |
Abstraction of TPM key handle used by the TPM based on OS X Keychain Service.
Definition at line 39 of file key-handle-osx.hpp.
|
explicit |
Definition at line 29 of file key-handle-osx.cpp.
References ndn::security::tpm::BackEndOsx::decrypt(), ndn::security::tpm::BackEndOsx::derivePublicKey(), ndn::util::CFReleaser< T >::get(), and ndn::security::tpm::BackEndOsx::sign().