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

kio

KSSLKeyGen Class Reference

KDE Key Generation dialog. More...

#include <ksslkeygen.h>

Inheritance diagram for KSSLKeyGen:

Inheritance graph
[legend]

List of all members.


Public Member Functions

int generateCSR (const QString &name, const QString &pass, int bits, int e=0x10001)
 KSSLKeyGen (QWidget *parent=0L, const char *name=0L, bool modal=false)
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 44 of file ksslkeygen.h.


Constructor & Destructor Documentation

KSSLKeyGen::KSSLKeyGen ( QWidget *  parent = 0L,
const char *  name = 0L,
bool  modal = false 
)

Construct a keygen dialog.

Parameters:
parent the parent widget
name the internal name of this instance
modal true if the dialog should be modal

Definition at line 42 of file ksslkeygen.cc.

KSSLKeyGen::~KSSLKeyGen (  )  [virtual]

Destroy this dialog.

Definition at line 63 of file ksslkeygen.cc.


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 122 of file ksslkeygen.cc.

void KSSLKeyGen::setKeySize ( int  idx  )  [inline]

Set the key size.

Parameters:
idx an index into supportedKeySizes()

Definition at line 80 of file ksslkeygen.h.

QStringList KSSLKeyGen::supportedKeySizes (  )  [static]

List the supported key sizes.

Returns:
the supported key sizes

Definition at line 206 of file ksslkeygen.cc.


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

kio

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

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
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