kleopatra
#include <config-kleopatra.h>
#include "newcertificatewizard.h"
#include "ui_chooseprotocolpage.h"
#include "ui_enterdetailspage.h"
#include "ui_overviewpage.h"
#include "ui_keycreationpage.h"
#include "ui_resultpage.h"
#include "ui_advancedsettingsdialog.h"
#include <models/keycache.h>
#include <commands/exportsecretkeycommand.h>
#include <commands/exportopenpgpcertstoservercommand.h>
#include <commands/exportcertificatecommand.h>
#include <utils/formatting.h>
#include <utils/validation.h>
#include <utils/filedialog.h>
#include <kleo/stl_util.h>
#include <kleo/dn.h>
#include <kleo/oidmap.h>
#include <kleo/keygenerationjob.h>
#include <kleo/cryptobackendfactory.h>
#include <kleo/cryptobackend.h>
#include <gpgme++/global.h>
#include <gpgme++/keygenerationresult.h>
#include <gpgme.h>
#include <KConfigGroup>
#include <KGlobal>
#include <KLocale>
#include <KDebug>
#include <KTempDir>
#include <KMessageBox>
#include <QRegExpValidator>
#include <QLineEdit>
#include <QMetaProperty>
#include <QDir>
#include <QFile>
#include <QUrl>
#include <QDesktopServices>
#include <boost/range.hpp>
#include <algorithm>
#include "moc_newcertificatewizard.cpp"
#include "newcertificatewizard.moc"
Go to the source code of this file.
|
#define | FIELD(type, name) type name() const { return field( QLatin1String(#name) ).value<type>(); } |
|
|
static int | add_row (QGridLayout *l, QList< QWidget * > *wl) |
|
static QLineEdit * | adjust_row (QGridLayout *l, int row, const QString &label, const QString &preset, QValidator *validator, bool readonly, bool required) |
|
static QString | attributeFromKey (QString key) |
|
static QString | attributeLabel (const QString &attr, bool pgp) |
|
static QString | encode_dns (const QString &dns) |
|
static QString | encode_email (const QString &email) |
|
static void | fill_combobox (QComboBox &cb, const QList< int > &sizes, const QStringList &labels) |
|
static void | force_set_checked (QAbstractButton *b, bool on) |
|
static unsigned int | get_keysize (const QComboBox *cb) |
|
static bool | has_intermediate_input (const QLineEdit *le) |
|
static bool | is_algo (gpgme_pubkey_algo_t algo, KeyAlgo what) |
|
static bool | is_dsa (unsigned int algo) |
|
static bool | is_elg (unsigned int algo) |
|
static bool | is_rsa (unsigned int algo) |
|
static const char * | oidForAttributeName (const QString &attr) |
|
static QString | pgpLabel (const QString &attr) |
|
static bool | requirementsAreMet (const QVector< Line > &list, QString &error) |
|
static int | row_index_of (QWidget *w, QGridLayout *l) |
|
static void | set_keysize (QComboBox *cb, unsigned int strength) |
|
static void | set_tab_order (const QList< QWidget * > &wl) |
|
#define FIELD |
( |
|
type, |
|
|
|
name |
|
) |
| type name() const { return field( QLatin1String(#name) ).value<type>(); } |
static int add_row |
( |
QGridLayout * |
l, |
|
|
QList< QWidget * > * |
wl |
|
) |
| |
|
static |
static QLineEdit* adjust_row |
( |
QGridLayout * |
l, |
|
|
int |
row, |
|
|
const QString & |
label, |
|
|
const QString & |
preset, |
|
|
QValidator * |
validator, |
|
|
bool |
readonly, |
|
|
bool |
required |
|
) |
| |
|
static |
static QString attributeFromKey |
( |
QString |
key | ) |
|
|
static |
static QString attributeLabel |
( |
const QString & |
attr, |
|
|
bool |
pgp |
|
) |
| |
|
static |
static QString encode_dns |
( |
const QString & |
dns | ) |
|
|
static |
static QString encode_email |
( |
const QString & |
email | ) |
|
|
static |
static void fill_combobox |
( |
QComboBox & |
cb, |
|
|
const QList< int > & |
sizes, |
|
|
const QStringList & |
labels |
|
) |
| |
|
static |
static void force_set_checked |
( |
QAbstractButton * |
b, |
|
|
bool |
on |
|
) |
| |
|
static |
static unsigned int get_keysize |
( |
const QComboBox * |
cb | ) |
|
|
static |
static bool has_intermediate_input |
( |
const QLineEdit * |
le | ) |
|
|
static |
static bool is_algo |
( |
gpgme_pubkey_algo_t |
algo, |
|
|
KeyAlgo |
what |
|
) |
| |
|
static |
static bool is_dsa |
( |
unsigned int |
algo | ) |
|
|
static |
static bool is_elg |
( |
unsigned int |
algo | ) |
|
|
static |
static bool is_rsa |
( |
unsigned int |
algo | ) |
|
|
static |
static const char* oidForAttributeName |
( |
const QString & |
attr | ) |
|
|
static |
static QString pgpLabel |
( |
const QString & |
attr | ) |
|
|
static |
static bool requirementsAreMet |
( |
const QVector< Line > & |
list, |
|
|
QString & |
error |
|
) |
| |
|
static |
static int row_index_of |
( |
QWidget * |
w, |
|
|
QGridLayout * |
l |
|
) |
| |
|
static |
static void set_keysize |
( |
QComboBox * |
cb, |
|
|
unsigned int |
strength |
|
) |
| |
|
static |
const char CMS_KEY_TYPE_ENTRY[] = "CMSKeyType" |
|
static |
const char DSA_KEYSIZE_LABELS_ENTRY[] = "DSAKeySizeLabels" |
|
static |
const char DSA_KEYSIZES_ENTRY[] = "DSAKeySizes" |
|
static |
const char ELG_KEYSIZE_LABELS_ENTRY[] = "ELGKeySizeLabels" |
|
static |
const char ELG_KEYSIZES_ENTRY[] = "ELGKeySizes" |
|
static |
const char PGP_KEY_TYPE_ENTRY[] = "PGPKeyType" |
|
static |
const char RSA_KEYSIZE_LABELS_ENTRY[] = "RSAKeySizeLabels" |
|
static |
const char RSA_KEYSIZES_ENTRY[] = "RSAKeySizes" |
|
static |
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:56:42 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.