#include <qca_keystore.h>
Collaboration diagram for QCA::KeyStoreInfo:
Public Member Functions | |
KeyStoreInfo () | |
KeyStoreInfo (KeyStore::Type type, const QString &id, const QString &name) | |
KeyStoreInfo (const KeyStoreInfo &from) | |
KeyStoreInfo & | operator= (const KeyStoreInfo &from) |
bool | isNull () const |
KeyStore::Type | type () const |
QString | id () const |
QString | name () const |
This class is used in conjunction with the Event class, and related classes such as PasswordAsker and TokenAsker, to describe the key store source of the Event.
Each KeyStoreInfo represents a single KeyStore, and describes the type of store (e.g. smartcard or PGP keyring - see KeyStore::Type), and a couple of names. The id() of a KeyStore is used to reference it, and is typically of the form "qca-mystorename". The name() of a KeyStore is used to describe it (i.e. this is the "pretty" name to show the user), and is typically of the form "My Store Name".
|
Constructor.
|
|
Standard constructor. This builds a KeyStoreInfo object that descibes a KeyStore.
|
|
Copy constructor.
|
|
Assignment operator.
|
|
Test if this object is valid.
|
|
The Type of KeyStore that this KeyStoreInfo object describes.
|
|
The unique identification of the KeyStore that this KeyStoreInfo object describes.
|
|
The descriptive name of the KeyStore that this KeyStoreInfo object describes.
|