KSSLKeyGen Class Reference
#include <ksslkeygen.h>
Inherits KWizard.
Public Member Functions | |
KSSLKeyGen (TQWidget *parent=0L, const char *name=0L, bool modal=false) | |
virtual | ~KSSLKeyGen () |
int | generateCSR (const TQString &name, const TQString &pass, int bits, int e=0x10001) |
void | setKeySize (int idx) |
Static Public Member Functions | |
static TQStringList | 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.
- See also
- KSSL, KSSLCertificate, KSSLPKCS12
KDE Key Generation Dialog
Definition at line 44 of file ksslkeygen.h.
Constructor & Destructor Documentation
◆ KSSLKeyGen()
KSSLKeyGen::KSSLKeyGen | ( | TQWidget * | 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.cpp.
◆ ~KSSLKeyGen()
|
virtual |
Destroy this dialog.
Definition at line 63 of file ksslkeygen.cpp.
Member Function Documentation
◆ generateCSR()
int KSSLKeyGen::generateCSR | ( | const TQString & | name, |
const TQString & | 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.cpp.
◆ setKeySize()
|
inline |
Set the key size.
- Parameters
-
idx an index into supportedKeySizes()
Definition at line 80 of file ksslkeygen.h.
◆ supportedKeySizes()
|
static |
List the supported key sizes.
- Returns
- the supported key sizes
Definition at line 205 of file ksslkeygen.cpp.
The documentation for this class was generated from the following files: