.TH "KSSLKeyGen" kde3 "11 Jun 2005" "Version Version 3.4.1" "kio Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KSSLKeyGen \- \fBKDE\fP Key Generation dialog \fBKDE\fP Key Generation Dialog.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <ksslkeygen.h>\fP
.PP
Inherits \fBKWizard\fP.
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBKSSLKeyGen\fP (\fBQWidget\fP *parent=0L, const char *name=0L, bool modal=false)"
.br
.ti -1c
.RI "virtual \fB~KSSLKeyGen\fP ()"
.br
.ti -1c
.RI "int \fBgenerateCSR\fP (const \fBQString\fP &name, const \fBQString\fP &pass, int bits, int e=0x10001)"
.br
.ti -1c
.RI "void \fBsetKeySize\fP (int idx)"
.br
.in -1c
.SS "Static Public Member Functions"

.in +1c
.ti -1c
.RI "static \fBQStringList\fP \fBsupportedKeySizes\fP ()"
.br
.in -1c
.SH "Detailed Description"
.PP 
\fBKDE\fP Key Generation dialog \fBKDE\fP 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.
.PP
\fBAuthor:\fP
.RS 4
George Staikos <staikos@kde.org> 
.RE
.PP
\fBSee also:\fP
.RS 4
\fBKSSL\fP, \fBKSSLCertificate\fP, \fBKSSLPKCS12\fP 
.RE
.PP

.PP
Definition at line 44 of file ksslkeygen.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "KSSLKeyGen::KSSLKeyGen (\fBQWidget\fP * parent = \fC0L\fP, const char * name = \fC0L\fP, bool modal = \fCfalse\fP)"
.PP
Construct a keygen dialog. 
.PP
\fBParameters:\fP
.RS 4
\fIparent\fP the parent widget 
.br
\fIname\fP the internal name of this instance 
.br
\fImodal\fP true if the dialog should be modal
.RE
.PP

.PP
Definition at line 42 of file ksslkeygen.cc.
.PP
References QWizard::addPage(), QWizard::finishButton(), QWizard::setFinishEnabled(), and QWizard::setHelpEnabled().
.SS "KSSLKeyGen::~\fBKSSLKeyGen\fP ()\fC [virtual]\fP"
.PP
Destroy this dialog. 
.PP

.PP
Definition at line 63 of file ksslkeygen.cc.
.SH "Member Function Documentation"
.PP 
.SS "\fBQStringList\fP KSSLKeyGen::supportedKeySizes ()\fC [static]\fP"
.PP
List the supported key sizes. 
.PP
\fBReturns:\fP
.RS 4
the supported key sizes
.RE
.PP

.PP
Definition at line 206 of file ksslkeygen.cc.
.SS "int KSSLKeyGen::generateCSR (const \fBQString\fP & name, const \fBQString\fP & pass, int bits, int e = \fC0x10001\fP)"
.PP
Generate the certificate signing request. 
.PP
\fBParameters:\fP
.RS 4
\fIname\fP the name for the certificate 
.br
\fIpass\fP the password for the request 
.br
\fIbits\fP the bitsize for the key 
.br
\fIe\fP the value of the 'e' parameter in RSA 
.RE
.PP
\fBReturns:\fP
.RS 4
0 on success, non-zero on error
.RE
.PP

.PP
Definition at line 122 of file ksslkeygen.cc.
.PP
References KStandardDirs::addResourceType(), KGlobal::dirs(), KTempFile::fstream(), QString::local8Bit(), and KStandardDirs::saveLocation().
.SS "void KSSLKeyGen::setKeySize (int idx)\fC [inline]\fP"
.PP
Set the key size. 
.PP
\fBParameters:\fP
.RS 4
\fIidx\fP an index into \fBsupportedKeySizes()\fP
.RE
.PP

.PP
Definition at line 80 of file ksslkeygen.h.

.SH "Author"
.PP 
Generated automatically by Doxygen for kio Library from the source code.
