QCA::KeyStoreManager Class Reference

Access keystores, and monitor keystores for changes. More...

#include <QtCrypto>

Inheritance diagram for QCA::KeyStoreManager:

QObject Collaboration diagram for QCA::KeyStoreManager:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 KeyStoreManager (QObject *parent=0)
bool isBusy () const
void waitForBusyFinished ()
QStringList keyStores () const
void sync ()
void busyFinished ()
void keyStoreAvailable (const QString &id)

Static Public Member Functions

static void start ()
static void start (const QString &provider)
static QString diagnosticText ()
static void clearDiagnosticText ()

Public Attributes

Q_SIGNALS __pad0__: void busyStarted()

Friends

class KeyStoreManagerPrivate
class Global
class KeyStorePrivate

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.


Constructor & Destructor Documentation

QCA::KeyStoreManager::KeyStoreManager QObject parent = 0  ) 
 

Create a new KeyStoreManager.

Parameters:
parent the parent for this object


Member Function Documentation

static void QCA::KeyStoreManager::start  )  [static]
 

Initialize all key store providers.

static void QCA::KeyStoreManager::start const QString provider  )  [static]
 

Initialize a specific key store provider.

bool QCA::KeyStoreManager::isBusy  )  const
 

Indicates if the manager is busy looking for key stores.

void QCA::KeyStoreManager::waitForBusyFinished  ) 
 

Blocks until the manager is done looking for key stores.

QStringList QCA::KeyStoreManager::keyStores  )  const
 

A list of all the key stores.

static QString QCA::KeyStoreManager::diagnosticText  )  [static]
 

The diagnostic result of key store operations, such as warnings and errors.

static void QCA::KeyStoreManager::clearDiagnosticText  )  [static]
 

Clears the diagnostic result log.

void QCA::KeyStoreManager::sync  ) 
 

If you are not using the eventloop, call this to update the object state to the present.

void QCA::KeyStoreManager::busyFinished  ) 
 

emitted when the manager has finished looking for key stores

void QCA::KeyStoreManager::keyStoreAvailable const QString id  ) 
 

emitted when a new key store becomes available


The documentation for this class was generated from the following file:
Generated on Fri Jul 6 13:23:57 2007 for Qt Cryptographic Architecture by  doxygen 1.4.6