* @brief Persists the verified certificate, encrypted, for the next launch. */
| 293 | * @brief Persists the verified certificate, encrypted, for the next launch. |
| 294 | */ |
| 295 | void Licensing::OfflineLicense::writeSettings(const QByteArray& framedCert) |
| 296 | { |
| 297 | m_settings.beginGroup("offlineLicense"); |
| 298 | m_settings.setValue("cert", m_simpleCrypt.encryptToString(framedCert)); |
| 299 | m_settings.endGroup(); |
| 300 | } |
| 301 | |
| 302 | /** |
| 303 | * @brief Restores the offline token when no valid commercial token is in effect |
nothing calls this directly
no test coverage detected