• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdelibs API Reference
  • KDE Home
  • Contact Us
 

KIO

Public Member Functions | Static Public Member Functions | List of all members
KSSLKeyGen Class Reference

#include <ksslkeygen.h>

Inheritance diagram for KSSLKeyGen:
Inheritance graph
[legend]

Public Member Functions

 KSSLKeyGen (QWidget *parent=0L)
 
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 staik.nosp@m.os@k.nosp@m.de.or.nosp@m.g
See also
KSSL, KSSLCertificate, KSSLPKCS12 KDE Key Generation Dialog

Definition at line 43 of file ksslkeygen.h.

Constructor & Destructor Documentation

KSSLKeyGen::KSSLKeyGen ( QWidget *  parent = 0L)
explicit

Construct a keygen dialog.

Parameters
parentthe parent widget

Definition at line 76 of file ksslkeygen.cpp.

KSSLKeyGen::~KSSLKeyGen ( )
virtual

Destroy this dialog.

Definition at line 97 of file ksslkeygen.cpp.

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 160 of file ksslkeygen.cpp.

void KSSLKeyGen::setKeySize ( int  idx)

Set the key size.

Parameters
idxan index into supportedKeySizes()

Definition at line 271 of file ksslkeygen.cpp.

QStringList KSSLKeyGen::supportedKeySizes ( )
static

List the supported key sizes.

Returns
the supported key sizes

Definition at line 256 of file ksslkeygen.cpp.


The documentation for this class was generated from the following files:
  • ksslkeygen.h
  • ksslkeygen.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:04 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KIO

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

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal