#pragma once #include #include namespace diality { struct Keys { QByteArray encKey32; QByteArray signSk32; // PC only QByteArray signPk32; // device }; bool loadKeysFromJsonFile(const QString& path, Keys* outKeys, QString* error); bool loadPcKeys(Keys* outKeys, QString* loadedPath, QString* error); bool loadDeviceKeys(Keys* outKeys, QString* loadedPath, QString* error); } // namespace diality