qca
QCA::KeyStoreManager Class Reference
[QCA user API]
Access keystores, and monitor keystores for changes. More...
#include <QtCrypto>

Signals | |
| void | busyFinished () |
| void | busyStarted () |
| void | keyStoreAvailable (const QString &id) |
Public Member Functions | |
| KeyStoreManager (QObject *parent=0) | |
| ~KeyStoreManager () | |
| bool | isBusy () const |
| QStringList | keyStores () const |
| void | sync () |
| void | waitForBusyFinished () |
Static Public Member Functions | |
| static void | clearDiagnosticText () |
| static QString | diagnosticText () |
| static void | start (const QString &provider) |
| static void | start () |
Detailed Description
Access keystores, and monitor keystores for changes.
Before you can access a KeyStore, you must create a KeyStoreManager. You then need to start() the KeyStoreManager, and either wait for the busyFinished() signal, or block using waitForBusyFinished().
If you know the KeyStoreEntry that you need, you can use KeyStore passively, as described in the KeyStoreEntry documentation.
Definition at line 709 of file qca_keystore.h.
Constructor & Destructor Documentation
| QCA::KeyStoreManager::KeyStoreManager | ( | QObject * | parent = 0 |
) |
Create a new KeyStoreManager.
- Parameters:
-
parent the parent for this object
Definition at line 1612 of file qca_keystore.cpp.
| QCA::KeyStoreManager::~KeyStoreManager | ( | ) |
Definition at line 1621 of file qca_keystore.cpp.
Member Function Documentation
| void QCA::KeyStoreManager::busyFinished | ( | ) | [signal] |
emitted when the manager has finished looking for key stores
| void QCA::KeyStoreManager::busyStarted | ( | ) | [signal] |
emitted when the manager has started looking for key stores
| void QCA::KeyStoreManager::clearDiagnosticText | ( | ) | [static] |
Clears the diagnostic result log.
Definition at line 1354 of file qca_keystore.cpp.
| QString QCA::KeyStoreManager::diagnosticText | ( | ) | [static] |
The diagnostic result of key store operations, such as warnings and errors.
Definition at line 1342 of file qca_keystore.cpp.
| bool QCA::KeyStoreManager::isBusy | ( | ) | const |
Indicates if the manager is busy looking for key stores.
Definition at line 1628 of file qca_keystore.cpp.
| void QCA::KeyStoreManager::keyStoreAvailable | ( | const QString & | id | ) | [signal] |
emitted when a new key store becomes available
- Parameters:
-
id the name of the key store that has become available
| QStringList QCA::KeyStoreManager::keyStores | ( | ) | const |
A list of all the key stores.
Definition at line 1646 of file qca_keystore.cpp.
| void QCA::KeyStoreManager::start | ( | const QString & | provider | ) | [static] |
Initialize a specific key store provider.
- Parameters:
-
provider the name of the provider to start
Definition at line 1335 of file qca_keystore.cpp.
| void QCA::KeyStoreManager::start | ( | ) | [static] |
Initialize all key store providers.
Definition at line 1328 of file qca_keystore.cpp.
| void QCA::KeyStoreManager::sync | ( | ) |
If you are not using the eventloop, call this to update the object state to the present.
Definition at line 1654 of file qca_keystore.cpp.
| void QCA::KeyStoreManager::waitForBusyFinished | ( | ) |
Blocks until the manager is done looking for key stores.
Definition at line 1633 of file qca_keystore.cpp.
The documentation for this class was generated from the following files:
KDE 4.4 API Reference