Kleo::DefaultKeyGenerationJob
#include <defaultkeygenerationjob.h>
Signals | |
void | result (const GpgME::KeyGenerationResult &result, const QByteArray &pubkeyData, const QString &auditLogAsHtml, const GpgME::Error &auditLogError) |
Public Slots | |
void | slotCancel () override |
Public Member Functions | |
DefaultKeyGenerationJob (QObject *parent=nullptr) | |
QString | auditLogAsHtml () const override |
GpgME::Error | auditLogError () const override |
void | setPassphrase (const QString &passphrase) |
GpgME::Error | start (const QString &email, const QString &name) |
Protected Member Functions | |
bool | eventFilter (QObject *watched, QEvent *event) override |
Detailed Description
Generates a PGP RSA/2048 bit key pair for given name and email address.
- Since
- 5.4
This class is deprecated. GnuPG defaults to ECC keys and RSA 2048 is no longer allowed by some entities. Use QuickJob::startCreate from QGpgME instead.
Definition at line 32 of file defaultkeygenerationjob.h.
Constructor & Destructor Documentation
◆ DefaultKeyGenerationJob()
|
explicit |
Definition at line 41 of file defaultkeygenerationjob.cpp.
Member Function Documentation
◆ auditLogAsHtml()
|
override |
Definition at line 49 of file defaultkeygenerationjob.cpp.
◆ auditLogError()
|
override |
Definition at line 54 of file defaultkeygenerationjob.cpp.
◆ eventFilter()
Definition at line 113 of file defaultkeygenerationjob.cpp.
◆ setPassphrase()
void DefaultKeyGenerationJob::setPassphrase | ( | const QString & | passphrase | ) |
Set key passphrase.
Use this method to specify custom passphrase, including an empty one. If no passphrase (not even empty) is specified, gpg me will automatically prompt for passphrase using Pinentry dialog.
Definition at line 66 of file defaultkeygenerationjob.cpp.
◆ slotCancel
|
overrideslot |
Definition at line 59 of file defaultkeygenerationjob.cpp.
◆ start()
Definition at line 88 of file defaultkeygenerationjob.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:14 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.