22 #ifndef NDN_SECURITY_TPM_BACK_END_MEM_HPP 23 #define NDN_SECURITY_TPM_BACK_END_MEM_HPP 47 static const std::string&
52 doHasKey(
const Name& keyName)
const final;
55 doGetKeyHandle(
const Name& keyName)
const final;
58 doCreateKey(
const Name& identityName,
const KeyParams& params)
final;
61 doDeleteKey(
const Name& keyName)
final;
64 doExportKey(
const Name& keyName,
const char* pw,
size_t pwLen)
final;
67 doImportKey(
const Name& keyName,
const uint8_t* buf,
size_t size,
const char* pw,
size_t pwLen)
final;
71 const unique_ptr<Impl> m_impl;
78 #endif // NDN_SECURITY_TPM_BACK_END_MEM_HPP
BackEndMem(const std::string &location="")
Create memory-based TPM backend.
Abstract interface for a TPM backend implementation.
The back-end implementation of an in-memory TPM.
Represents an absolute name.
static const std::string & getScheme()
Base class of key parameters.
shared_ptr< const Buffer > ConstBufferPtr