| 46 | } |
| 47 | |
| 48 | void CryptoModule::generateOneTimeKeys(size_t oneTimeKeysAmount) { |
| 49 | try { |
| 50 | this->vodozemacAccount->generate_one_time_keys(oneTimeKeysAmount); |
| 51 | } catch (const std::exception &e) { |
| 52 | throw std::runtime_error( |
| 53 | "error generateOneTimeKeys => " + std::string(e.what())); |
| 54 | } |
| 55 | } |
| 56 | |
| 57 | // returns number of published keys |
| 58 | size_t CryptoModule::publishOneTimeKeys() { |
no test coverage detected