• Skip to content
  • Skip to link menu
KDE 4.3 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

KIO

KSSLKeyGen Class Reference

KDE Key Generation dialog. More...

#include <ksslkeygen.h>

Inheritance diagram for KSSLKeyGen:
QWizard

List of all members.

Public Member Functions

int generateCSR (const QString &name, const QString &pass, int bits, int e=0x10001)
 KSSLKeyGen (QWidget *parent=0L)
void setKeySize (int idx)
virtual ~KSSLKeyGen ()

Static Public Member Functions

static QStringList supportedKeySizes ()

Detailed Description

KDE Key Generation dialog.

This is used to display a key generation dialog for cases such as the html <keygen> tag. It also does the certificate signing request generation.

Author:
George Staikos <staikos@kde.org>
See also:
KSSL, KSSLCertificate, KSSLPKCS12 KDE Key Generation Dialog

Definition at line 43 of file ksslkeygen.h.


Constructor & Destructor Documentation

KSSLKeyGen::KSSLKeyGen ( QWidget *  parent = 0L  )  [explicit]

Construct a keygen dialog.

Parameters:
parent the parent widget

Definition at line 77 of file ksslkeygen.cpp.

KSSLKeyGen::~KSSLKeyGen (  )  [virtual]

Destroy this dialog.

Definition at line 98 of file ksslkeygen.cpp.


Member Function Documentation

int KSSLKeyGen::generateCSR ( const QString &  name,
const QString &  pass,
int  bits,
int  e = 0x10001 
)

Generate the certificate signing request.

Parameters:
name the name for the certificate
pass the password for the request
bits the bitsize for the key
e the value of the "e" parameter in RSA
Returns:
0 on success, non-zero on error

Definition at line 161 of file ksslkeygen.cpp.

void KSSLKeyGen::setKeySize ( int  idx  ) 

Set the key size.

Parameters:
idx an index into supportedKeySizes()

Definition at line 272 of file ksslkeygen.cpp.

QStringList KSSLKeyGen::supportedKeySizes (  )  [static]

List the supported key sizes.

Returns:
the supported key sizes

Definition at line 257 of file ksslkeygen.cpp.


The documentation for this class was generated from the following files:
  • ksslkeygen.h
  • ksslkeygen.cpp

KIO

Skip menu "KIO"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.6.1
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal