| 166 | } |
| 167 | |
| 168 | std::string CryptoModule::getPrekeySignature() { |
| 169 | try { |
| 170 | return std::string(this->vodozemacAccount->prekey_signature()); |
| 171 | } catch (const std::exception &e) { |
| 172 | throw std::runtime_error( |
| 173 | "error getPrekeySignature => " + std::string(e.what())); |
| 174 | } |
| 175 | } |
| 176 | |
| 177 | std::optional<std::string> CryptoModule::getUnpublishedPrekey() { |
| 178 | try { |
no test coverage detected