org.kde.koala

Class KSSLKeyGen

public class KSSLKeyGen extends KWizard

KDE Key Generation dialog This is used to display a key generation dialog for cases such as the html \ tag. It also does the certificate signing request generation.

Author: George Staikos

See Also: KSSL KSSLCertificate KSSLPKCS12

UNKNOWN: KDE Key Generation Dialog.

Constructor Summary
protected KSSLKeyGen(Class dummy)
KSSLKeyGen(QWidget parent, String name, boolean modal)
Construct a keygen dialog.
KSSLKeyGen(QWidget parent, String name)
KSSLKeyGen(QWidget parent)
KSSLKeyGen()
Method Summary
StringclassName()
voiddispose()
Delete the wrapped C++ instance ahead of finalize()
protected voidfinalize()
Deletes the wrapped C++ instance
intgenerateCSR(String name, String pass, int bits, int e)
Generate the certificate signing request.
intgenerateCSR(String name, String pass, int bits)
booleanisDisposed()
Has the wrapped C++ instance been deleted?
QMetaObjectmetaObject()
voidsetKeySize(int idx)
Set the key size.
static ArrayListsupportedKeySizes()
List the supported key sizes.

Constructor Detail

KSSLKeyGen

protected KSSLKeyGen(Class dummy)

KSSLKeyGen

public KSSLKeyGen(QWidget parent, String name, boolean modal)
Construct a keygen dialog.

Parameters: parent the parent widget name the internal name of this instance modal true if the dialog should be modal

UNKNOWN: Construct a keygen dialog.

KSSLKeyGen

public KSSLKeyGen(QWidget parent, String name)

KSSLKeyGen

public KSSLKeyGen(QWidget parent)

KSSLKeyGen

public KSSLKeyGen()

Method Detail

className

public String className()

dispose

public void dispose()
Delete the wrapped C++ instance ahead of finalize()

finalize

protected void finalize()
Deletes the wrapped C++ instance

generateCSR

public int generateCSR(String name, String pass, int bits, int e)
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

UNKNOWN: Generate the certificate signing request.

generateCSR

public int generateCSR(String name, String pass, int bits)

isDisposed

public boolean isDisposed()
Has the wrapped C++ instance been deleted?

metaObject

public QMetaObject metaObject()

setKeySize

public void setKeySize(int idx)
Set the key size.

Parameters: idx an index into supportedKeySizes()

UNKNOWN: Set the key size.

supportedKeySizes

public static ArrayList supportedKeySizes()
List the supported key sizes.

Returns: the supported key sizes

UNKNOWN: List the supported key sizes.