#include <ksslkeygen.h>

Inherits KWizard.

List of all members.

Public Member Functions

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

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

Constructor & Destructor Documentation

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

Construct a keygen dialog.

Parameters:
parentthe parent widget
namethe internal name of this instance
modaltrue 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:
namethe name for the certificate
passthe password for the request
bitsthe bitsize for the key
ethe 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:
idxan 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:
KDE Home | KDE Accessibility Home | Description of Access Keys