33 #ifndef QCA_KEYSTORE_H
34 #define QCA_KEYSTORE_H
41 class KeyStoreTracker;
42 class KeyStoreManagerPrivate;
43 class KeyStorePrivate;
200 bool isAvailable()
const;
217 bool isAccessible()
const;
227 QString name()
const;
237 QString storeName()
const;
244 QString storeId()
const;
249 QString toString()
const;
283 PGPKey pgpSecretKey()
const;
290 PGPKey pgpPublicKey()
const;
310 bool ensureAvailable();
328 friend class KeyStoreTracker;
390 friend class Private;
447 bool isValid()
const;
457 QString name()
const;
469 bool isReadOnly()
const;
484 void startAsynchronousMode();
500 bool holdsTrustedCertificates()
const;
505 bool holdsIdentities()
const;
510 bool holdsPGPPublicKeys()
const;
540 QString writeEntry(
const CRL &crl);
549 QString writeEntry(
const PGPKey &key);
562 bool removeEntry(
const QString &
id);
585 void entryWritten(
const QString &entryId);
593 void entryRemoved(
bool success);
598 friend class KeyStorePrivate;
601 friend class KeyStoreManagerPrivate;
645 KeyStoreInfo(
KeyStore::Type type,
const QString &
id,
const QString &name);
652 KeyStoreInfo(
const KeyStoreInfo &from);
661 KeyStoreInfo & operator=(
const KeyStoreInfo &from);
686 QString name()
const;
690 QSharedDataPointer<Private> d;
731 static void start(
const QString &provider);
741 void waitForBusyFinished();
746 QStringList keyStores()
const;
752 static QString diagnosticText();
757 static void clearDiagnosticText();
781 void keyStoreAvailable(
const QString &
id);
786 friend class KeyStoreManagerPrivate;
787 KeyStoreManagerPrivate *d;
790 friend class KeyStorePrivate;
793 static void shutdown();