• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kio/kssl
 

kio/kssl

Public Member Functions | Static Public Member Functions | List of all members
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.

Author
George Staikos staik.nosp@m.os@k.nosp@m.de.or.nosp@m.g
See Also
KSSL, KSSLCertificate, KSSLPKCS12 KDE Key Generation Dialog

Definition at line 44 of file ksslkeygen.h.

Constructor & Destructor Documentation

KSSLKeyGen::KSSLKeyGen ( TQWidget *  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 TQString &  name,
const TQString &  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.

TQStringList 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/kssl

Skip menu "kio/kssl"
  • Main Page
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

kio/kssl

Skip menu "kio/kssl"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kio/kssl by doxygen 1.8.1.2
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |