1 #ifndef QTDATASYNC_KEYSTORE_H     2 #define QTDATASYNC_KEYSTORE_H     4 #include <QtCore/qobject.h>     6 #include "QtDataSync/qtdatasync_global.h"     7 #include "QtDataSync/exception.h"    20     QString storeProviderName() 
const;
    22     QByteArray className() 
const noexcept 
override;
    24     void raise() 
const override;
    35 class KeyStorePrivate;
    51     virtual QString providerName() 
const = 0;
    54     virtual bool isOpen() 
const = 0;
    56     virtual void openStore() = 0;
    58     virtual void closeStore() = 0;
    61     virtual bool contains(
const QString &key) 
const = 0;
    67     virtual void remove(
const QString &key) = 0;
    86     virtual bool keystoreAvailable(
const QString &provider) 
const = 0;
    94 #define QtDataSync_KeyStorePlugin_Iid "de.skycoder42.QtDataSync.KeyStorePlugin"    97 #endif // QTDATASYNC_KEYSTORE_H QString setupName() const
Returns the name of the setup the exception was thrown from. 
The base class for all exceptions of QtDataSync. 
An interface for a generic keystore to securely store secret cryptographic keys. 
The keystore plugin to be implemented to provide custom keystores. 
The primary namespace of the QtDataSync library. 
#define QtDataSync_KeyStorePlugin_Iid
The IID to be used to create a keystore plugin. 
A helper class to get defaults per datasync instance (threadsafe) 
An exception to be thrown from within a keystore if an error occurs.