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

kleopatra

  • sources
  • kde-4.12
  • kdepim
  • kleopatra
  • models
Macros | Functions | Variables
keycache.cpp File Reference
#include <config-kleopatra.h>
#include "keycache.h"
#include "keycache_p.h"
#include "predicates.h"
#include "smimevalidationpreferences.h"
#include <utils/filesystemwatcher.h>
#include <utils/progressmanager.h>
#include <kleo/stl_util.h>
#include <kleo/cryptobackendfactory.h>
#include <kleo/dn.h>
#include <kleo/keylistjob.h>
#include <kleo/listallkeysjob.h>
#include <gpgme++/error.h>
#include <gpgme++/key.h>
#include <gpgme++/decryptionresult.h>
#include <gpgme++/verificationresult.h>
#include <gpgme++/keylistresult.h>
#include <gpg-error.h>
#include <kmime/kmime_header_parsing.h>
#include <KLocale>
#include <QPointer>
#include <QStringList>
#include <QTimer>
#include <boost/bind.hpp>
#include <boost/mem_fn.hpp>
#include <boost/range.hpp>
#include <boost/weak_ptr.hpp>
#include <boost/iterator/filter_iterator.hpp>
#include <utility>
#include <algorithm>
#include <functional>
#include <iterator>
#include "moc_keycache_p.cpp"
#include "moc_keycache.cpp"
Include dependency graph for keycache.cpp:

Go to the source code of this file.

Macros

#define ACCEPT(meth)   DO( !!, meth, !meth )
 
#define DO(op, meth, meth2)   if ( op key.meth() ) {} else { qDebug( "rejecting for signing: %s: %s", #meth2, key.primaryFingerprint() ); return false; }
 
#define DO(op, meth, meth2)   if ( op key.meth() ) {} else { qDebug( "rejecting for encrypting: %s: %s", #meth2, key.primaryFingerprint() ); return false; }
 
#define REJECT(meth)   DO( !, meth, meth )
 

Functions

static std::string email (const UserID &uid)
 
static std::vector< std::string > emails (const Key &key)
 

Variables

static const unsigned int hours2ms = 1000 * 60 * 60
 
static const unsigned int LIKELY_CHAIN_DEPTH = 3
 

Macro Definition Documentation

#define ACCEPT (   meth)    DO( !!, meth, !meth )

Definition at line 408 of file keycache.cpp.

#define DO (   op,
  meth,
  meth2 
)    if ( op key.meth() ) {} else { qDebug( "rejecting for signing: %s: %s", #meth2, key.primaryFingerprint() ); return false; }

Definition at line 429 of file keycache.cpp.

#define DO (   op,
  meth,
  meth2 
)    if ( op key.meth() ) {} else { qDebug( "rejecting for encrypting: %s: %s", #meth2, key.primaryFingerprint() ); return false; }

Definition at line 429 of file keycache.cpp.

#define REJECT (   meth)    DO( !, meth, meth )

Definition at line 409 of file keycache.cpp.

Function Documentation

static std::string email ( const UserID &  uid)
static

Definition at line 593 of file keycache.cpp.

static std::vector<std::string> emails ( const Key &  key)
static

Definition at line 603 of file keycache.cpp.

Variable Documentation

const unsigned int hours2ms = 1000 * 60 * 60
static

Definition at line 83 of file keycache.cpp.

const unsigned int LIKELY_CHAIN_DEPTH = 3
static

Definition at line 513 of file 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:42 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