|
| QGpgMESignKeyJob (GpgME::Context *context) |
|
GpgME::Error | start (const GpgME::Key &key) Q_DECL_OVERRIDE |
|
void | setUserIDsToSign (const std::vector< unsigned int > &idsToSign) Q_DECL_OVERRIDE |
|
void | setCheckLevel (unsigned int checkLevel) Q_DECL_OVERRIDE |
|
void | setExportable (bool exportable) Q_DECL_OVERRIDE |
|
void | setSigningKey (const GpgME::Key &key) Q_DECL_OVERRIDE |
|
void | setNonRevocable (bool nonRevocable) Q_DECL_OVERRIDE |
|
virtual QString | auditLogAsHtml () const |
|
virtual GpgME::Error | auditLogError () const |
|
bool | isAuditLogSupported () const |
|
|
typedef ThreadedJobMixin< SignKeyJob, std::tuple< GpgME::Error, QString, GpgME::Error > > | mixin_type |
|
typedef std::tuple< GpgME::Error, QString, GpgME::Error > | result_type |
|
void | result (const GpgME::Error &result, 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 |
|
| SignKeyJob (QObject *parent) |
|
| Job (QObject *parent) |
|
◆ setCheckLevel()
void QGpgMESignKeyJob::setCheckLevel |
( |
unsigned int |
checkLevel | ) |
|
|
virtual |
sets the check level
- Parameters
-
the | check level, ranges from 0 (no claim) and 3 (extensively checked), default is 0 |
Implements QGpgME::SignKeyJob.
◆ setExportable()
void QGpgMESignKeyJob::setExportable |
( |
bool |
exportable | ) |
|
|
virtual |
sets whether the signature should be exportable, or local only. default is local.
Implements QGpgME::SignKeyJob.
◆ setNonRevocable()
void QGpgMESignKeyJob::setNonRevocable |
( |
bool |
nonRevocable | ) |
|
|
virtual |
if set, the created signature won't be revocable. By default signatures can be revoked.
Implements QGpgME::SignKeyJob.
◆ setSigningKey()
void QGpgMESignKeyJob::setSigningKey |
( |
const GpgME::Key & |
key | ) |
|
|
virtual |
◆ setUserIDsToSign()
void QGpgMESignKeyJob::setUserIDsToSign |
( |
const std::vector< unsigned int > & |
idsToSign | ) |
|
|
virtual |
If explicitly specified, only the listed user IDs will be signed. Otherwise all user IDs are signed.
- Parameters
-
list | of user ID indexes (of the key to be signed). |
Implements QGpgME::SignKeyJob.
◆ start()
Error QGpgMESignKeyJob::start |
( |
const GpgME::Key & |
keyToSign | ) |
|
|
virtual |
Starts the key signing operation. key is the key to sign.
- Parameters
-
keyToSign | the key to be signed |
idsToSign | the user IDs to sign |
signingKey | the secret key to use for signing |
option | the signing mode, either local or exportable |
Implements QGpgME::SignKeyJob.
The documentation for this class was generated from the following files: