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

kleopatra

  • Kleo
  • KeyCache
Classes | Public Types | Public Slots | Signals | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Kleo::KeyCache Class Reference

#include <keycache.h>

Inherits QObject.

Classes

class  RefreshKeysJob
 

Public Types

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

Public Slots

void cancelKeyListing ()
 
void clear ()
 
void reload (GpgME::Protocol proto=GpgME::UnknownProtocol)
 
void startKeyListing (GpgME::Protocol proto=GpgME::UnknownProtocol)
 

Signals

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

Public Member Functions

 ~KeyCache ()
 
void addFileSystemWatcher (const boost::shared_ptr< FileSystemWatcher > &watcher)
 
void enableFileSystemWatcher (bool enable)
 
std::vector< GpgME::Key > findByEMailAddress (const char *email) const
 
std::vector< GpgME::Key > findByEMailAddress (const std::string &email) const
 
const GpgME::Key & findByFingerprint (const char *fpr) const
 
const GpgME::Key & findByFingerprint (const std::string &fpr) const
 
std::vector< GpgME::Key > findByFingerprint (const std::vector< std::string > &fprs) const
 
const GpgME::Key & findByKeyIDOrFingerprint (const char *id) const
 
const GpgME::Key & findByKeyIDOrFingerprint (const std::string &id) const
 
std::vector< GpgME::Key > findByKeyIDOrFingerprint (const std::vector< std::string > &ids) const
 
const GpgME::Key & findByShortKeyID (const char *id) const
 
const GpgME::Key & findByShortKeyID (const std::string &id) const
 
std::vector< GpgME::Key > findEncryptionKeysByMailbox (const KMime::Types::Mailbox &mb) const
 
std::vector< GpgME::Key > findIssuers (const GpgME::Key &key, Options options=RecursiveSearch) const
 
std::vector< GpgME::Key > findIssuers (const std::vector< GpgME::Key > &keys, Options options=RecursiveSearch) 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 > findRecipients (const GpgME::DecryptionResult &result) const
 
std::vector< GpgME::Key > findSigners (const GpgME::VerificationResult &result) const
 
std::vector< GpgME::Key > findSigningKeysByMailbox (const KMime::Types::Mailbox &mb) const
 
std::vector< GpgME::Key > findSubjects (const GpgME::Key &key, Options option=RecursiveSearch) const
 
std::vector< GpgME::Key > findSubjects (const std::vector< GpgME::Key > &keys, Options options=RecursiveSearch) 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::Subkey > findSubkeysByKeyID (const std::vector< std::string > &ids) const
 
void insert (const GpgME::Key &key)
 
void insert (const std::vector< GpgME::Key > &keys)
 
const std::vector< GpgME::Key > & keys () const
 
void refresh (const std::vector< GpgME::Key > &keys)
 
void remove (const GpgME::Key &key)
 
void remove (const std::vector< GpgME::Key > &keys)
 
std::vector< GpgME::Key > secretKeys () const
 

Static Public Member Functions

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

Protected Member Functions

 KeyCache ()
 

Detailed Description

Definition at line 65 of file keycache.h.

Member Enumeration Documentation

enum Kleo::KeyCache::Option
Enumerator
NoOption 
RecursiveSearch 
IncludeSubject 

Definition at line 119 of file keycache.h.

Constructor & Destructor Documentation

KeyCache::KeyCache ( )
explicitprotected

Definition at line 204 of file keycache.cpp.

KeyCache::~KeyCache ( )

Definition at line 210 of file keycache.cpp.

Member Function Documentation

void Kleo::KeyCache::aboutToRemove ( const GpgME::Key &  key)
signal
void Kleo::KeyCache::added ( const GpgME::Key &  key)
signal
void KeyCache::addFileSystemWatcher ( const boost::shared_ptr< FileSystemWatcher > &  watcher)

Definition at line 238 of file keycache.cpp.

void KeyCache::cancelKeyListing ( )
slot

Definition at line 231 of file keycache.cpp.

void KeyCache::clear ( )
slot

Definition at line 834 of file keycache.cpp.

void KeyCache::enableFileSystemWatcher ( bool  enable)

Definition at line 212 of file keycache.cpp.

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

Definition at line 283 of file keycache.cpp.

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

Definition at line 296 of file keycache.cpp.

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

Definition at line 257 of file keycache.cpp.

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

Definition at line 91 of file keycache.h.

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

Definition at line 267 of file keycache.cpp.

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

Definition at line 308 of file keycache.cpp.

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

Definition at line 106 of file keycache.h.

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

Definition at line 324 of file keycache.cpp.

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

Definition at line 300 of file keycache.cpp.

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

Definition at line 101 of file keycache.h.

std::vector< Key > KeyCache::findEncryptionKeysByMailbox ( const KMime::Types::Mailbox &  mb) const

Definition at line 402 of file keycache.cpp.

std::vector<GpgME::Key> Kleo::KeyCache::findIssuers ( const GpgME::Key &  key,
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 ( std::vector< GpgME::Key >::const_iterator  first,
std::vector< GpgME::Key >::const_iterator  last,
Options  options = RecursiveSearch 
) const
std::vector< Key > KeyCache::findRecipients ( const GpgME::DecryptionResult &  result) const

Definition at line 375 of file keycache.cpp.

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

Definition at line 390 of file keycache.cpp.

std::vector< Key > KeyCache::findSigningKeysByMailbox ( const KMime::Types::Mailbox &  mb) const

Definition at line 398 of file keycache.cpp.

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

Definition at line 472 of file keycache.cpp.

std::vector<GpgME::Key> Kleo::KeyCache::findSubjects ( const std::vector< GpgME::Key > &  keys,
Options  options = RecursiveSearch 
) 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< Subkey > KeyCache::findSubkeysByKeyID ( const std::vector< std::string > &  ids) const

Definition at line 359 of file keycache.cpp.

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

Definition at line 189 of file keycache.cpp.

void Kleo::KeyCache::keyListingDone ( const GpgME::KeyListResult &  result)
signal
const std::vector< GpgME::Key > & KeyCache::keys ( ) const

Definition at line 685 of file keycache.cpp.

void Kleo::KeyCache::keysMayHaveChanged ( )
signal
shared_ptr< KeyCache > KeyCache::mutableInstance ( )
static

Definition at line 193 of file keycache.cpp.

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

Definition at line 697 of file keycache.cpp.

void KeyCache::reload ( GpgME::Protocol  proto = GpgME::UnknownProtocol)
slot

Definition at line 218 of file keycache.cpp.

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

Definition at line 690 of file keycache.cpp.

void Kleo::KeyCache::startKeyListing ( GpgME::Protocol  proto = GpgME::UnknownProtocol)
inlineslot

Definition at line 136 of file keycache.h.


The documentation for this class was generated from the following files:
  • keycache.h
  • keycache.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:56:43 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kleopatra

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

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal