| 35 | namespace fs = boost::filesystem; |
| 36 | |
| 37 | KeyManager::KeyManager(string const& _keysFile, string const& _secretsPath): |
| 38 | m_keysFile(_keysFile), m_store(_secretsPath) |
| 39 | { |
| 40 | for (auto const& uuid: m_store.keys()) |
| 41 | { |
| 42 | auto addr = m_store.address(uuid); |
| 43 | m_addrLookup[addr] = uuid; |
| 44 | m_uuidLookup[uuid] = addr; |
| 45 | } |
| 46 | } |
| 47 | |
| 48 | KeyManager::~KeyManager() |
| 49 | {} |