libkleo
qgpgmesignjob.cpp
Go to the documentation of this file.
126 Error QGpgMESignJob::start( const std::vector<Key> & signers, const QByteArray & plainText, SignatureMode mode ) {
131 void QGpgMESignJob::start( const std::vector<Key> & signers, const shared_ptr<QIODevice> & plainText, const shared_ptr<QIODevice> & signature, SignatureMode mode ) {
132 run( boost::bind( &sign, _1, _2, signers, _3, _4, mode, mOutputIsBase64Encoded ), plainText, signature );
135 SigningResult QGpgMESignJob::exec( const std::vector<Key> & signers, const QByteArray & plainText, SignatureMode mode, QByteArray & signature ) {
QGpgMESignJob(GpgME::Context *context)
Definition: qgpgmesignjob.cpp:53
GpgME::Context * context() const
Definition: threadedjobmixin.h:176
GpgME::Error start(const std::vector< GpgME::Key > &signers, const QByteArray &plainText, GpgME::SignatureMode mode)
static void error(QWidget *parent, const GpgME::SigningResult &result, const Kleo::Job *job, const QString &caption, KMessageBox::Options options=KMessageBox::Notify)
static QGpgMESignJob::result_type sign(Context *ctx, QThread *thread, const std::vector< Key > &signers, const weak_ptr< QIODevice > &plainText_, const weak_ptr< QIODevice > &signature_, SignatureMode mode, bool outputIsBsse64Encoded)
Definition: qgpgmesignjob.cpp:66
void resultHook(const result_type &r)
Definition: qgpgmesignjob.cpp:142
void setOutputIsBase64Encoded(bool on)
Definition: qgpgmesignjob.cpp:62
void lateInitialization()
Definition: threadedjobmixin.h:144
QString audit_log_as_html(GpgME::Context *ctx, GpgME::Error &err)
static QGpgMESignJob::result_type sign_qba(Context *ctx, const std::vector< Key > &signers, const QByteArray &plainText, SignatureMode mode, bool outputIsBsse64Encoded)
Definition: qgpgmesignjob.cpp:114
boost::tuple< GpgME::SigningResult, QByteArray, QString, GpgME::Error > result_type
Definition: threadedjobmixin.h:115
void run(const T_binder &func)
Definition: threadedjobmixin.h:151
void showErrorDialog(QWidget *parent, const QString &caption) const
Definition: qgpgmesignjob.cpp:146
GpgME::SigningResult exec(const std::vector< GpgME::Key > &signers, const QByteArray &plainText, GpgME::SignatureMode mode, QByteArray &signature)
Definition: qgpgmesignjob.cpp:135
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:57:49 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:57:49 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.