22 #ifndef NDN_SECURITY_TPM_BACK_END_MEM_HPP 23 #define NDN_SECURITY_TPM_BACK_END_MEM_HPP 57 static const std::string&
66 doHasKey(
const Name& keyName)
const final;
72 doGetKeyHandle(
const Name& keyName)
const final;
85 doCreateKey(
const Name& identityName,
const KeyParams& params)
final;
93 doDeleteKey(
const Name& keyName)
final;
100 doExportKey(
const Name& keyName,
const char* pw,
size_t pwLen)
final;
113 doImportKey(
const Name& keyName,
const uint8_t* buf,
size_t size,
const char* pw,
size_t pwLen)
final;
117 const unique_ptr<Impl> m_impl;
124 #endif // NDN_SECURITY_TPM_BACK_END_MEM_HPP Copyright (c) 2013-2017 Regents of the University of California.
Error(const std::string &what)
BackEndMem(const std::string &location="")
Create memory-based TPM backend.
Abstraction of Tpm back-end.
The back-end implementation of in-memory TPM.
Represents an absolute name.
static const std::string & getScheme()
Base class of key parameters.
shared_ptr< const Buffer > ConstBufferPtr