22 #ifndef NDN_SECURITY_TPM_BACK_END_FILE_HPP 23 #define NDN_SECURITY_TPM_BACK_END_FILE_HPP 55 static const std::string&
60 doHasKey(
const Name& keyName)
const final;
63 doGetKeyHandle(
const Name& keyName)
const final;
66 doCreateKey(
const Name& identityName,
const KeyParams& params)
final;
69 doDeleteKey(
const Name& keyName)
final;
72 doExportKey(
const Name& keyName,
const char* pw,
size_t pwLen)
final;
75 doImportKey(
const Name& keyName,
const uint8_t* buf,
size_t size,
const char* pw,
size_t pwLen)
final;
81 unique_ptr<transform::PrivateKey>
82 loadKey(
const Name& keyName)
const;
92 const unique_ptr<Impl> m_impl;
99 #endif // NDN_SECURITY_TPM_BACK_END_FILE_HPP
The back-end implementation of a file-based TPM.
Abstract interface for a TPM backend implementation.
Represents an absolute name.
Base class of key parameters.
shared_ptr< const Buffer > ConstBufferPtr