Imports the (encrypted) key stored in the file @a _file and copies it to the managed directory.
| 75 | bytesSec secret(Address const& _address, std::function<std::string()> const& _pass) const; |
| 76 | /// Imports the (encrypted) key stored in the file @a _file and copies it to the managed directory. |
| 77 | h128 importKey(std::string const& _file) { auto ret = readKey(_file, false); if (ret) save(); return ret; } |
| 78 | /// Imports the (encrypted) key contained in the json formatted @a _content and stores it in |
| 79 | /// the managed directory. |
| 80 | h128 importKeyContent(std::string const& _content) { auto ret = readKeyContent(_content, std::string()); if (ret) save(); return ret; } |
no outgoing calls