Abstraction of TPM key handle used by the TPM based on OS X Keychain Service.
More...
#include <key-handle-osx.hpp>
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.
ndn::security::tpm::KeyHandleOsx::KeyHandleOsx |
( |
const KeyRefOsx & |
key | ) |
|
|
explicit |
ConstBufferPtr ndn::security::tpm::KeyHandle::decrypt |
( |
const uint8_t * |
cipherText, |
|
|
size_t |
cipherTextLen |
|
) |
| const |
|
inherited |
- Returns
- plain text content decrypted from
cipherText
using this key.
Definition at line 37 of file key-handle.cpp.
ConstBufferPtr ndn::security::tpm::KeyHandle::derivePublicKey |
( |
| ) |
const |
|
inherited |
- Returns
- the PCKS#8 encoded public key bits derived from this key.
Definition at line 43 of file key-handle.cpp.
Name ndn::security::tpm::KeyHandle::getKeyName |
( |
| ) |
const |
|
inherited |
void ndn::security::tpm::KeyHandle::setKeyName |
( |
const Name & |
keyName | ) |
|
|
inherited |
- Returns
- a digital signature created on
buf
using this key with digestAlgorithm
.
Definition at line 31 of file key-handle.cpp.