certmanager/lib

Kleo::KeySelectionDialog Class Reference

List of all members.

Detailed Description

Definition at line 65 of file keyselectiondialog.h.


Public Types

enum  KeyUsage {
  PublicKeys = 1, SecretKeys = 2, EncryptionKeys = 4, SigningKeys = 8,
  ValidKeys = 16, TrustedKeys = 32, CertificationKeys = 64, AuthenticationKeys = 128,
  OpenPGPKeys = 256, SMIMEKeys = 512, AllKeys = PublicKeys | SecretKeys | OpenPGPKeys | SMIMEKeys, ValidTrustedEncryptionKeys = AllKeys | EncryptionKeys | ValidKeys | TrustedKeys
}

Public Member Functions

 KeySelectionDialog (const QString &title, const QString &text, const std::vector< GpgME::Key > &selectedKeys=std::vector< GpgME::Key >(), unsigned int keyUsage=AllKeys, bool extendedSelection=false, bool rememberChoice=false, QWidget *parent=0, const char *name=0, bool modal=true)
 KeySelectionDialog (const QString &title, const QString &text, const QString &initialPattern, unsigned int keyUsage=AllKeys, bool extendedSelection=false, bool rememberChoice=false, QWidget *parent=0, const char *name=0, bool modal=true)
 ~KeySelectionDialog ()
const GpgME::Key & selectedKey () const
QString fingerprint () const
const std::vector< GpgME::Key > & selectedKeys () const
QStringList fingerprints () const
QStringList pgpKeyFingerprints () const
QStringList smimeFingerprints () const
bool rememberSelection () const

Member Function Documentation

const GpgME::Key & Kleo::KeySelectionDialog::selectedKey (  )  const

Returns the key ID of the selected key in single selection mode.

Otherwise it returns a null key.

Definition at line 431 of file keyselectiondialog.cpp.

const std::vector<GpgME::Key>& Kleo::KeySelectionDialog::selectedKeys (  )  const [inline]

Returns a list of selected key IDs.

Definition at line 109 of file keyselectiondialog.h.

QStringList Kleo::KeySelectionDialog::fingerprints (  )  const

Return all the selected fingerprints.

Definition at line 441 of file keyselectiondialog.cpp.

QStringList Kleo::KeySelectionDialog::pgpKeyFingerprints (  )  const

Return the selected openpgp fingerprints.

Definition at line 449 of file keyselectiondialog.cpp.

QStringList Kleo::KeySelectionDialog::smimeFingerprints (  )  const

Return the selected smime fingerprints.

Definition at line 458 of file keyselectiondialog.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys