certmanager/lib

Kleo::KeySelectionDialog Class Reference

Inherits KDialogBase.

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 Enumeration Documentation

Enumerator:
PublicKeys 
SecretKeys 
EncryptionKeys 
SigningKeys 
ValidKeys 
TrustedKeys 
CertificationKeys 
AuthenticationKeys 
OpenPGPKeys 
SMIMEKeys 
AllKeys 
ValidTrustedEncryptionKeys 

Definition at line 69 of file keyselectiondialog.h.


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 435 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 445 of file keyselectiondialog.cpp.

QStringList Kleo::KeySelectionDialog::pgpKeyFingerprints (  )  const

Return the selected openpgp fingerprints.

Definition at line 453 of file keyselectiondialog.cpp.

QStringList Kleo::KeySelectionDialog::smimeFingerprints (  )  const

Return the selected smime fingerprints.

Definition at line 462 of file keyselectiondialog.cpp.


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