kleopatra
#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
Enumerator | |
---|---|
NoOption | |
RecursiveSearch | |
IncludeSubject |
Definition at line 119 of file keycache.h.
Constructor & Destructor Documentation
|
explicitprotected |
Definition at line 204 of file keycache.cpp.
KeyCache::~KeyCache | ( | ) |
Definition at line 210 of file keycache.cpp.
Member Function Documentation
|
signal |
|
signal |
void KeyCache::addFileSystemWatcher | ( | const boost::shared_ptr< FileSystemWatcher > & | watcher | ) |
Definition at line 238 of file keycache.cpp.
|
slot |
Definition at line 231 of file keycache.cpp.
|
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 * | ) | const |
Definition at line 283 of file keycache.cpp.
std::vector< Key > KeyCache::findByEMailAddress | ( | const std::string & | ) | 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.
|
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.
|
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.
|
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 | ) |
|
static |
Definition at line 189 of file keycache.cpp.
|
signal |
const std::vector< GpgME::Key > & KeyCache::keys | ( | ) | const |
Definition at line 685 of file keycache.cpp.
|
signal |
|
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.
|
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.
|
inlineslot |
Definition at line 136 of file keycache.h.
The documentation for this class was generated from the following files:
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.