TpmKeyHandleMemory extends TpmKeyHandle to implement a TPM key handle that keeps the private key in memory. More...
#include <tpm-key-handle-memory.hpp>
Public Member Functions | |
| TpmKeyHandleMemory (const ptr_lib::shared_ptr< TpmPrivateKey > &key) | |
| Create a TpmKeyHandleMemory to use the given in-memory key. More... | |
Public Member Functions inherited from ndn::TpmKeyHandle | |
| Blob | sign (DigestAlgorithm digestAlgorithm, const uint8_t *data, size_t dataLength) const |
| Compute a digital signature from the byte array using this key with digestAlgorithm. More... | |
| Blob | decrypt (const uint8_t *cipherText, size_t cipherTextLength) const |
| Return the plain text which is decrypted from cipherText using this key. More... | |
| Blob | derivePublicKey () const |
| Get the encoded public key derived from this key. More... | |
| void | setKeyName (const Name &keyName) |
| const Name & | getKeyName () const |
TpmKeyHandleMemory extends TpmKeyHandle to implement a TPM key handle that keeps the private key in memory.
| ndn::TpmKeyHandleMemory::TpmKeyHandleMemory | ( | const ptr_lib::shared_ptr< TpmPrivateKey > & | key | ) |
Create a TpmKeyHandleMemory to use the given in-memory key.
| key | The in-memory key. |
1.8.6