QGpgME 21.6.2.0000005
Qt API for GpgME
|
#include <qgpgmewkspublishjob.h>
Public Member Functions | |
QGpgMEWKSPublishJob (GpgME::Context *context) | |
void | startCheck (const QString &mailbox) override |
void | startCreate (const char *fpr, const QString &mailbox) override |
void | startReceive (const QByteArray &response) override |
![]() | |
void | run () |
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) |
![]() | |
bool | isAuditLogSupported () const |
GpgME::Error | startIt () |
void | startNow () |
Additional Inherited Members | |
![]() | |
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 | jobProgress (int current, int total) |
void | rawProgress (const QString &what, int type, int current, int total) |
QGPGME_DEPRECATED void | progress (const QString &what, int current, int total) |
void | done () |
![]() | |
static GpgME::Context * | context (Job *job) |
![]() | |
ThreadedJobMixin (GpgME::Context *ctx) | |
void | lateInitialization () |
void | setWorkerFunction (const T_binder &func) |
GpgME::Context * | context () const |
virtual void | resultHook (const result_type &) |
void | slotFinished () |
void | slotCancel () override |
QString | auditLogAsHtml () const override |
GpgME::Error | auditLogError () const override |
void | showProgress (const char *what, int type, int current, int total) override |
![]() | |
WKSPublishJob (QObject *parent) | |
![]() | |
Job (QObject *parent) | |
Handles Web Key Service Publishing. Needs WKS tools installed and server support.
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.
the | mailbox to check for. |
Implements QGpgME::WKSPublishJob.
Create a publish request. The returnedData from the result signal will contain the full Request as returned by gpg-wks-client –create
fpr | the fingerprint of the key to create the request for. |
mailbox | A simple mail address without a Name. |
Implements QGpgME::WKSPublishJob.
|
overridevirtual |
Handle a submission response. The returnedData in the result singnal will contain the confirmation response as returned by gpg-wks-client –receive
response | The response of the server. |
Implements QGpgME::WKSPublishJob.