• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

kleopatra

  • sources
  • kde-4.12
  • kdepim
  • kleopatra
  • newcertificatewizard
Namespaces | Macros | Enumerations | Functions | Variables
newcertificatewizard.cpp File Reference
#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"
Include dependency graph for newcertificatewizard.cpp:

Go to the source code of this file.

Namespaces

 Kleo
 
 Kleo::NewCertificateUi
 

Macros

#define FIELD(type, name)   type name() const { return field( QLatin1String(#name) ).value<type>(); }
 

Enumerations

enum  KeyAlgo { RSA, DSA, ELG }
 

Functions

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)
 

Variables

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"
 

Macro Definition Documentation

#define FIELD (   type,
  name 
)    type name() const { return field( QLatin1String(#name) ).value<type>(); }

Definition at line 196 of file newcertificatewizard.cpp.

Enumeration Type Documentation

enum KeyAlgo
Enumerator
RSA 
DSA 
ELG 

Definition at line 106 of file newcertificatewizard.cpp.

Function Documentation

static int add_row ( QGridLayout *  l,
QList< QWidget * > *  wl 
)
static

Definition at line 1049 of file newcertificatewizard.cpp.

static QLineEdit* adjust_row ( QGridLayout *  l,
int  row,
const QString &  label,
const QString &  preset,
QValidator *  validator,
bool  readonly,
bool  required 
)
static

Definition at line 1018 of file newcertificatewizard.cpp.

static QString attributeFromKey ( QString  key)
static

Definition at line 956 of file newcertificatewizard.cpp.

static QString attributeLabel ( const QString &  attr,
bool  pgp 
)
static

Definition at line 931 of file newcertificatewizard.cpp.

static QString encode_dns ( const QString &  dns)
static

Definition at line 1336 of file newcertificatewizard.cpp.

static QString encode_email ( const QString &  email)
static

Definition at line 1340 of file newcertificatewizard.cpp.

static void fill_combobox ( QComboBox &  cb,
const QList< int > &  sizes,
const QStringList &  labels 
)
static

Definition at line 1384 of file newcertificatewizard.cpp.

static void force_set_checked ( QAbstractButton *  b,
bool  on 
)
static

Definition at line 137 of file newcertificatewizard.cpp.

static unsigned int get_keysize ( const QComboBox *  cb)
static

Definition at line 154 of file newcertificatewizard.cpp.

static bool has_intermediate_input ( const QLineEdit *  le)
static

Definition at line 1171 of file newcertificatewizard.cpp.

static bool is_algo ( gpgme_pubkey_algo_t  algo,
KeyAlgo  what 
)
static

Definition at line 108 of file newcertificatewizard.cpp.

static bool is_dsa ( unsigned int  algo)
static

Definition at line 129 of file newcertificatewizard.cpp.

static bool is_elg ( unsigned int  algo)
static

Definition at line 133 of file newcertificatewizard.cpp.

static bool is_rsa ( unsigned int  algo)
static

Definition at line 125 of file newcertificatewizard.cpp.

static const char* oidForAttributeName ( const QString &  attr)
static

Definition at line 960 of file newcertificatewizard.cpp.

static QString pgpLabel ( const QString &  attr)
static

Definition at line 921 of file newcertificatewizard.cpp.

static bool requirementsAreMet ( const QVector< Line > &  list,
QString &  error 
)
static

Definition at line 1178 of file newcertificatewizard.cpp.

static int row_index_of ( QWidget *  w,
QGridLayout *  l 
)
static

Definition at line 1011 of file newcertificatewizard.cpp.

static void set_keysize ( QComboBox *  cb,
unsigned int  strength 
)
static

Definition at line 145 of file newcertificatewizard.cpp.

static void set_tab_order ( const QList< QWidget * > &  wl)
static

Definition at line 102 of file newcertificatewizard.cpp.

Variable Documentation

const char CMS_KEY_TYPE_ENTRY[] = "CMSKeyType"
static

Definition at line 100 of file newcertificatewizard.cpp.

const char DSA_KEYSIZE_LABELS_ENTRY[] = "DSAKeySizeLabels"
static

Definition at line 96 of file newcertificatewizard.cpp.

const char DSA_KEYSIZES_ENTRY[] = "DSAKeySizes"
static

Definition at line 92 of file newcertificatewizard.cpp.

const char ELG_KEYSIZE_LABELS_ENTRY[] = "ELGKeySizeLabels"
static

Definition at line 97 of file newcertificatewizard.cpp.

const char ELG_KEYSIZES_ENTRY[] = "ELGKeySizes"
static

Definition at line 93 of file newcertificatewizard.cpp.

const char PGP_KEY_TYPE_ENTRY[] = "PGPKeyType"
static

Definition at line 99 of file newcertificatewizard.cpp.

const char RSA_KEYSIZE_LABELS_ENTRY[] = "RSAKeySizeLabels"
static

Definition at line 95 of file newcertificatewizard.cpp.

const char RSA_KEYSIZES_ENTRY[] = "RSAKeySizes"
static

Definition at line 91 of file newcertificatewizard.cpp.

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.

kleopatra

Skip menu "kleopatra"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal