#include <qgpgmewkspublishjob.h>
|
| QGpgMEWKSPublishJob (GpgME::Context *context) |
|
void | startCheck (const QString &mailbox) Q_DECL_OVERRIDE |
|
void | startCreate (const char *fpr, const QString &mailbox) Q_DECL_OVERRIDE |
|
void | startReceive (const QByteArray &response) Q_DECL_OVERRIDE |
|
virtual QString | auditLogAsHtml () const |
|
virtual GpgME::Error | auditLogError () const |
|
bool | isAuditLogSupported () const |
|
|
typedef ThreadedJobMixin< WKSPublishJob, std::tuple< GpgME::Error, QByteArray, QByteArray, QString, GpgME::Error > > | mixin_type |
|
typedef std::tuple< GpgME::Error, QByteArray, QByteArray, QString, GpgME::Error > | result_type |
|
void | result (const GpgME::Error &error, const QByteArray &returnedData, const QByteArray &returnedError, const QString &auditLogAsHtml=QString(), const GpgME::Error &auditLogError=GpgME::Error()) |
|
void | progress (const QString &what, int current, int total) |
|
void | done () |
|
static GpgME::Context * | context (Job *job) |
|
| ThreadedJobMixin (GpgME::Context *ctx) |
|
void | lateInitialization () |
|
void | run (const T_binder &func) |
|
void | run (const T_binder &func, const std::shared_ptr< QIODevice > &io) |
|
void | run (const T_binder &func, const std::shared_ptr< QIODevice > &io1, const std::shared_ptr< QIODevice > &io2) |
|
GpgME::Context * | context () const |
|
virtual void | resultHook (const result_type &) |
|
void | slotFinished () |
|
void | slotCancel () Q_DECL_OVERRIDE |
|
QString | auditLogAsHtml () const Q_DECL_OVERRIDE |
|
GpgME::Error | auditLogError () const Q_DECL_OVERRIDE |
|
void | showProgress (const char *, int, int current, int total) Q_DECL_OVERRIDE |
|
| WKSPublishJob (QObject *parent) |
|
| Job (QObject *parent) |
|
Handles Web Key Service Publishing. Needs WKS tools installed and server support.
◆ startCheck()
void QGpgMEWKSPublishJob::startCheck |
( |
const QString & |
mailbox | ) |
|
|
virtual |
Start a check if WKS Publishing is supported. As this involves an HTTP Query it might take a while. Returns GPG_ERR_NOT_SUPPORED result if GnuPG is too old or the required tools are not installed.
The error GPG_ERR_NOT_ENABLED indicates that wks-tools failed to detect a working wks service for this.
- Parameters
-
Implements QGpgME::WKSPublishJob.
◆ startCreate()
void QGpgMEWKSPublishJob::startCreate |
( |
const char * |
fpr, |
|
|
const QString & |
mailbox |
|
) |
| |
|
virtual |
Create a publish request. The returnedData from the result signal will contain the full Request as returned by gpg-wks-client –create
- Parameters
-
fpr | the fingerprint of the key to create the request for. |
mailbox | A simple mail address without a Name. |
Implements QGpgME::WKSPublishJob.
◆ startReceive()
void QGpgMEWKSPublishJob::startReceive |
( |
const QByteArray & |
response | ) |
|
|
virtual |
Handle a submission response. The returnedData in the result singnal will contain the confirmation response as returned by gpg-wks-client –receive
- Parameters
-
response | The response of the server. |
Implements QGpgME::WKSPublishJob.
The documentation for this class was generated from the following files: