• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

kleopatra

Kleo::KeyCache

Kleo::KeyCache Class Reference

#include <keycache.h>

Inheritance diagram for Kleo::KeyCache:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 57 of file keycache.h.


Public Types

enum  Option { NoOption = 0, RecursiveSearch = 1, IncludeSubject = 2 }

Public Slots

void cancelKeyListing ()
void clear ()
void startKeyListing ()

Signals

void aboutToRemove (const GpgME::Key &key)
void added (const GpgME::Key &key)
void keyListingDone (const GpgME::KeyListResult &result)
void keysMayHaveChanged ()

Public Member Functions

void addFileSystemWatcher (const boost::shared_ptr< FileSystemWatcher > &watcher)
std::vector< GpgME::Key > findByEMailAddress (const std::string &email) const
std::vector< GpgME::Key > findByEMailAddress (const char *email) const
std::vector< GpgME::Key > findByFingerprint (const std::vector< std::string > &fprs) const
const GpgME::Key & findByFingerprint (const std::string &fpr) const
const GpgME::Key & findByFingerprint (const char *fpr) const
std::vector< GpgME::Key > findByKeyIDOrFingerprint (const std::vector< std::string > &ids) const
const GpgME::Key & findByKeyIDOrFingerprint (const std::string &id) const
const GpgME::Key & findByKeyIDOrFingerprint (const char *id) const
const GpgME::Key & findByShortKeyID (const std::string &id) const
const GpgME::Key & findByShortKeyID (const char *id) const
std::vector< GpgME::Key > findIssuers (std::vector< GpgME::Key >::const_iterator first, std::vector< GpgME::Key >::const_iterator last, Options options=RecursiveSearch) const
std::vector< GpgME::Key > findIssuers (const std::vector< GpgME::Key > &keys, Options options=RecursiveSearch) const
std::vector< GpgME::Key > findIssuers (const GpgME::Key &key, Options options=RecursiveSearch) const
std::vector< GpgME::Key > findRecipients (const GpgME::DecryptionResult &result) const
std::vector< GpgME::Key > findSigners (const GpgME::VerificationResult &result) const
std::vector< GpgME::Key > findSubjects (std::vector< GpgME::Key >::const_iterator first, std::vector< GpgME::Key >::const_iterator last, Options options=RecursiveSearch) const
std::vector< GpgME::Key > findSubjects (const std::vector< GpgME::Key > &keys, Options options=RecursiveSearch) const
std::vector< GpgME::Key > findSubjects (const GpgME::Key &key, Options option=RecursiveSearch) const
std::vector< GpgME::Subkey > findSubkeysByKeyID (const std::vector< std::string > &ids) const
void insert (const std::vector< GpgME::Key > &keys)
void insert (const GpgME::Key &key)
std::vector< GpgME::Key > keys () const
void refresh (const std::vector< GpgME::Key > &keys)
void remove (const std::vector< GpgME::Key > &keys)
void remove (const GpgME::Key &key)
std::vector< GpgME::Key > secretKeys () const
 ~KeyCache ()

Static Public Member Functions

static boost::shared_ptr
< const KeyCache > 
instance ()
static boost::shared_ptr
< KeyCache > 
mutableInstance ()

Protected Member Functions

 KeyCache ()

Member Enumeration Documentation

enum Kleo::KeyCache::Option

Enumerator:
NoOption 
RecursiveSearch 
IncludeSubject 

Definition at line 106 of file keycache.h.


Constructor & Destructor Documentation

Kleo::KeyCache::KeyCache (  )  [explicit, protected]

Kleo::KeyCache::~KeyCache (  ) 


Member Function Documentation

void Kleo::KeyCache::aboutToRemove ( const GpgME::Key &  key  )  [signal]

void Kleo::KeyCache::added ( const GpgME::Key &  key  )  [signal]

void Kleo::KeyCache::addFileSystemWatcher ( const boost::shared_ptr< FileSystemWatcher > &  watcher  ) 

void Kleo::KeyCache::cancelKeyListing (  )  [slot]

void Kleo::KeyCache::clear (  )  [slot]

std::vector<GpgME::Key> Kleo::KeyCache::findByEMailAddress ( const std::string &  email  )  const

std::vector<GpgME::Key> Kleo::KeyCache::findByEMailAddress ( const char *  email  )  const

std::vector<GpgME::Key> Kleo::KeyCache::findByFingerprint ( const std::vector< std::string > &  fprs  )  const

const GpgME::Key& Kleo::KeyCache::findByFingerprint ( const std::string &  fpr  )  const [inline]

Definition at line 81 of file keycache.h.

const GpgME::Key& Kleo::KeyCache::findByFingerprint ( const char *  fpr  )  const

std::vector<GpgME::Key> Kleo::KeyCache::findByKeyIDOrFingerprint ( const std::vector< std::string > &  ids  )  const

const GpgME::Key& Kleo::KeyCache::findByKeyIDOrFingerprint ( const std::string &  id  )  const [inline]

Definition at line 96 of file keycache.h.

const GpgME::Key& Kleo::KeyCache::findByKeyIDOrFingerprint ( const char *  id  )  const

const GpgME::Key& Kleo::KeyCache::findByShortKeyID ( const std::string &  id  )  const [inline]

Definition at line 91 of file keycache.h.

const GpgME::Key& Kleo::KeyCache::findByShortKeyID ( const char *  id  )  const

std::vector<GpgME::Key> Kleo::KeyCache::findIssuers ( std::vector< GpgME::Key >::const_iterator  first,
std::vector< GpgME::Key >::const_iterator  last,
Options  options = RecursiveSearch 
) const

std::vector<GpgME::Key> Kleo::KeyCache::findIssuers ( const std::vector< GpgME::Key > &  keys,
Options  options = RecursiveSearch 
) const

std::vector<GpgME::Key> Kleo::KeyCache::findIssuers ( const GpgME::Key &  key,
Options  options = RecursiveSearch 
) const

std::vector<GpgME::Key> Kleo::KeyCache::findRecipients ( const GpgME::DecryptionResult &  result  )  const

std::vector<GpgME::Key> Kleo::KeyCache::findSigners ( const GpgME::VerificationResult &  result  )  const

std::vector<GpgME::Key> Kleo::KeyCache::findSubjects ( std::vector< GpgME::Key >::const_iterator  first,
std::vector< GpgME::Key >::const_iterator  last,
Options  options = RecursiveSearch 
) const

std::vector<GpgME::Key> Kleo::KeyCache::findSubjects ( const std::vector< GpgME::Key > &  keys,
Options  options = RecursiveSearch 
) const

std::vector<GpgME::Key> Kleo::KeyCache::findSubjects ( const GpgME::Key &  key,
Options  option = RecursiveSearch 
) const

std::vector<GpgME::Subkey> Kleo::KeyCache::findSubkeysByKeyID ( const std::vector< std::string > &  ids  )  const

void Kleo::KeyCache::insert ( const std::vector< GpgME::Key > &  keys  ) 

void Kleo::KeyCache::insert ( const GpgME::Key &  key  ) 

static boost::shared_ptr<const KeyCache> Kleo::KeyCache::instance (  )  [static]

void Kleo::KeyCache::keyListingDone ( const GpgME::KeyListResult &  result  )  [signal]

std::vector<GpgME::Key> Kleo::KeyCache::keys (  )  const

void Kleo::KeyCache::keysMayHaveChanged (  )  [signal]

static boost::shared_ptr<KeyCache> Kleo::KeyCache::mutableInstance (  )  [static]

void Kleo::KeyCache::refresh ( const std::vector< GpgME::Key > &  keys  ) 

void Kleo::KeyCache::remove ( const std::vector< GpgME::Key > &  keys  ) 

void Kleo::KeyCache::remove ( const GpgME::Key &  key  ) 

std::vector<GpgME::Key> Kleo::KeyCache::secretKeys (  )  const

void Kleo::KeyCache::startKeyListing (  )  [slot]


The documentation for this class was generated from the following file:
  • keycache.h

kleopatra

Skip menu "kleopatra"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  •   doc
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal