22 #ifndef NDN_SECURITY_TPM_BACK_END_FILE_HPP 23 #define NDN_SECURITY_TPM_BACK_END_FILE_HPP 64 static const std::string&
72 doHasKey(
const Name& keyName)
const final;
78 doGetKeyHandle(
const Name& keyName)
const final;
92 doCreateKey(
const Name& identityName,
const KeyParams& params)
final;
100 doDeleteKey(
const Name& keyName)
final;
107 doExportKey(
const Name& keyName,
const char* pw,
size_t pwLen)
final;
120 doImportKey(
const Name& keyName,
const uint8_t* buf,
size_t size,
const char* pw,
size_t pwLen)
final;
126 shared_ptr<transform::PrivateKey>
127 loadKey(
const Name& keyName)
const;
133 saveKey(
const Name& keyName, shared_ptr<transform::PrivateKey> key);
137 const unique_ptr<Impl> m_impl;
144 #endif // NDN_SECURITY_TPM_BACK_END_FILE_HPP Copyright (c) 2013-2017 Regents of the University of California.
The back-end implementation of file-based TPM.
Abstraction of Tpm back-end.
Represents an absolute name.
Base class of key parameters.
Error(const std::string &what)
shared_ptr< const Buffer > ConstBufferPtr