libkleo
qgpgmesignjob.cpp
Go to the documentation of this file.
128 Error QGpgMESignJob::start( const std::vector<Key> & signers, const QByteArray & plainText, SignatureMode mode ) {
133 void QGpgMESignJob::start( const std::vector<Key> & signers, const shared_ptr<QIODevice> & plainText, const shared_ptr<QIODevice> & signature, SignatureMode mode ) {
134 run( boost::bind( &sign, _1, _2, signers, _3, _4, mode, mOutputIsBase64Encoded ), plainText, signature );
137 SigningResult QGpgMESignJob::exec( const std::vector<Key> & signers, const QByteArray & plainText, SignatureMode mode, QByteArray & signature ) {
QGpgMESignJob(GpgME::Context *context)
Definition: qgpgmesignjob.cpp:55
GpgME::Context * context() const
Definition: threadedjobmixin.h:178
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:68
void resultHook(const result_type &r)
Definition: qgpgmesignjob.cpp:144
void setOutputIsBase64Encoded(bool on)
Definition: qgpgmesignjob.cpp:64
void lateInitialization()
Definition: threadedjobmixin.h:146
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:116
boost::tuple< GpgME::SigningResult, QByteArray, QString, GpgME::Error > result_type
Definition: threadedjobmixin.h:117
void run(const T_binder &func)
Definition: threadedjobmixin.h:153
void showErrorDialog(QWidget *parent, const QString &caption) const
Definition: qgpgmesignjob.cpp:148
GpgME::SigningResult exec(const std::vector< GpgME::Key > &signers, const QByteArray &plainText, GpgME::SignatureMode mode, QByteArray &signature)
Definition: qgpgmesignjob.cpp:137
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:33:38 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:33:38 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.