6 #ifndef IROHA_KEYS_MANAGER_IMPL_HPP 7 #define IROHA_KEYS_MANAGER_IMPL_HPP 11 #include <boost/filesystem.hpp> 12 #include <boost/optional.hpp> 28 const boost::filesystem::path &path_to_keypair,
38 bool createKeys(
const boost::optional<std::string> &pass_phrase)
override;
41 loadKeys(
const boost::optional<std::string> &pass_phrase)
override;
53 bool store(std::string_view pub, std::string_view priv);
55 boost::filesystem::path path_to_keypair_;
56 std::string account_id_;
60 #endif // IROHA_KEYS_MANAGER_IMPL_HPP bool createKeys(const boost::optional< std::string > &pass_phrase) override
Definition: keys_manager_impl.cpp:108
Definition: keys_manager.hpp:19
iroha::expected::Result< shared_model::crypto::Keypair, std::string > loadKeys(const boost::optional< std::string > &pass_phrase) override
Definition: keys_manager_impl.cpp:80
Definition: result_fwd.hpp:27
std::shared_ptr< Logger > LoggerPtr
Definition: logger_fwd.hpp:22
Definition: keys_manager_impl.hpp:18
static const std::string kPublicKeyExtension
Definition: keys_manager_impl.hpp:43
KeysManagerImpl(const std::string &account_id, const boost::filesystem::path &path_to_keypair, logger::LoggerPtr log)
Definition: keys_manager_impl.cpp:63
Definition: block_query.hpp:15
static const std::string kPrivateKeyExtension
Definition: keys_manager_impl.hpp:44