kleopatra
certificateresolver.cpp
Go to the documentation of this file.
60 std::vector< std::vector<Key> > CertificateResolver::resolveRecipients( const std::vector<Mailbox> & recipients, Protocol proto ) {
67 std::vector<Key> CertificateResolver::resolveRecipient( const Mailbox & recipient, Protocol proto ) {
80 std::vector< std::vector<Key> > CertificateResolver::resolveSigners( const std::vector<Mailbox> & signers, Protocol proto ) {
121 KConfigBasedRecipientPreferences::Private::Private( KSharedConfigPtr config , KConfigBasedRecipientPreferences* qq ) : q( qq ), m_config( config ), m_parsed( false ), m_dirty( false )
156 const QStringList groups = m_config->groupList().filter( QRegExp( QLatin1String("^EncryptionPreference_\\d+$") ) );
170 KConfigBasedRecipientPreferences::KConfigBasedRecipientPreferences( KSharedConfigPtr config ) : d( new Private( config, this ) )
180 Key KConfigBasedRecipientPreferences::preferredCertificate( const Mailbox& recipient, Protocol protocol )
184 const QByteArray keyId = ( protocol == CMS ? d->cmsPrefs : d->pgpPrefs ).value( recipient.address() );
188 void KConfigBasedRecipientPreferences::setPreferredCertificate( const Mailbox& recipient, Protocol protocol, const Key& certificate )
193 ( protocol == CMS ? d->cmsPrefs : d->pgpPrefs ).insert( recipient.address(), certificate.keyID() );
217 KConfigBasedSigningPreferences::Private::Private( KSharedConfigPtr config , KConfigBasedSigningPreferences* qq ) : q( qq ), m_config( config ), m_parsed( false ), m_dirty( false )
248 KConfigBasedSigningPreferences::KConfigBasedSigningPreferences( KSharedConfigPtr config ) : d( new Private( config, this ) )
262 const QByteArray keyId = ( protocol == CMS ? d->cmsSigningCertificate : d->pgpSigningCertificate );
267 void KConfigBasedSigningPreferences::setPreferredCertificate( Protocol protocol, const Key& certificate )
270 ( protocol == CMS ? d->cmsSigningCertificate : d->pgpSigningCertificate ) = certificate.keyID();
void setPreferredCertificate(GpgME::Protocol protocol, const GpgME::Key &certificate)
Definition: certificateresolver.cpp:267
~KConfigBasedSigningPreferences()
Definition: certificateresolver.cpp:253
static std::vector< std::vector< GpgME::Key > > resolveRecipients(const std::vector< KMime::Types::Mailbox > &recipients, GpgME::Protocol proto)
Definition: certificateresolver.cpp:60
~KConfigBasedRecipientPreferences()
Definition: certificateresolver.cpp:175
void setPreferredCertificate(const KMime::Types::Mailbox &recipient, GpgME::Protocol protocol, const GpgME::Key &certificate)
Definition: certificateresolver.cpp:188
static std::vector< std::vector< GpgME::Key > > resolveSigners(const std::vector< KMime::Types::Mailbox > &signers, GpgME::Protocol proto)
Definition: certificateresolver.cpp:80
static std::vector< GpgME::Key > resolveRecipient(const KMime::Types::Mailbox &recipient, GpgME::Protocol proto)
Definition: certificateresolver.cpp:67
KConfigBasedSigningPreferences(KSharedConfigPtr config)
Definition: certificateresolver.cpp:248
Definition: classify.h:48
GpgME::Key preferredCertificate(const KMime::Types::Mailbox &recipient, GpgME::Protocol protocol)
Definition: certificateresolver.cpp:180
static boost::shared_ptr< const KeyCache > instance()
Definition: keycache.cpp:189
static std::vector< GpgME::Key > resolveSigner(const KMime::Types::Mailbox &signer, GpgME::Protocol proto)
Definition: certificateresolver.cpp:87
KConfigBasedRecipientPreferences(KSharedConfigPtr config)
Definition: certificateresolver.cpp:170
GpgME::Key preferredCertificate(GpgME::Protocol protocol)
Definition: certificateresolver.cpp:258
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:56:40 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:56:40 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.