23 #ifndef NDN_TPM_KEY_HANDLE_MEMORY_HPP
24 #define NDN_TPM_KEY_HANDLE_MEMORY_HPP
26 #include "tpm-key-handle.hpp"
48 (DigestAlgorithm digestAlgorithm,
const uint8_t* data,
size_t dataLength)
const;
51 doDecrypt(
const uint8_t* cipherText,
size_t cipherTextLength)
const;
54 doDerivePublicKey()
const;
56 ptr_lib::shared_ptr<TpmPrivateKey> key_;
TpmKeyHandle is an abstract base class for a TPM key handle, which provides an interface to perform c...
Definition: tpm-key-handle.hpp:35
TpmKeyHandleMemory extends TpmKeyHandle to implement a TPM key handle that keeps the private key in m...
Definition: tpm-key-handle-memory.hpp:36
A Blob holds a pointer to an immutable byte array implemented as const std::vector<uint8_t>.
Definition: blob.hpp:42
TpmKeyHandleMemory(const ptr_lib::shared_ptr< TpmPrivateKey > &key)
Create a TpmKeyHandleMemory to use the given in-memory key.
Definition: tpm-key-handle-memory.cpp:32