org.kde.koala

Class KSSLCertDlg

public class KSSLCertDlg extends KDialog

KDE X.509 Certificate Dialog This class is used to create and display a dialog which contains the user's X.509 certificates and allows the user to present it during SSL sessions.

Author: George Staikos

See Also: KSSL

UNKNOWN: KDE X.509 Certificate Dialog.

Constructor Summary
protected KSSLCertDlg(Class dummy)
KSSLCertDlg(QWidget parent, String name, boolean modal)
Construct a KSSL certificate dialog
KSSLCertDlg(QWidget parent, String name)
KSSLCertDlg(QWidget parent)
KSSLCertDlg()
Method Summary
StringclassName()
voiddispose()
Delete the wrapped C++ instance ahead of finalize()
protected voidfinalize()
Deletes the wrapped C++ instance
StringgetChoice()
Obtain the name of the certificate the user wants to send
booleanisDisposed()
Has the wrapped C++ instance been deleted?
QMetaObjectmetaObject()
booleansaveChoice()
Determine if the user wants to save the choice for the future.
voidsetHost(String host)
Set the hostname that we are connecting to.
voidsetupDialog(String[] certs, boolean saveChecked, boolean sendChecked)
Setup the dialog.
voidsetupDialog(String[] certs, boolean saveChecked)
voidsetupDialog(String[] certs)
booleanwantsToSend()
Determine if the user wants to send a certificate.

Constructor Detail

KSSLCertDlg

protected KSSLCertDlg(Class dummy)

KSSLCertDlg

public KSSLCertDlg(QWidget parent, String name, boolean modal)
Construct a KSSL certificate dialog

Parameters: parent the parent widget name the internal name of this instance modal create a modal dialog if set to true

UNKNOWN: Construct a KSSL certificate dialog

KSSLCertDlg

public KSSLCertDlg(QWidget parent, String name)

KSSLCertDlg

public KSSLCertDlg(QWidget parent)

KSSLCertDlg

public KSSLCertDlg()

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

getChoice

public String getChoice()
Obtain the name of the certificate the user wants to send

Returns: the name of the certificate

UNKNOWN: Obtain the name of the certificate the user wants to send

isDisposed

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

metaObject

public QMetaObject metaObject()

saveChoice

public boolean saveChoice()
Determine if the user wants to save the choice for the future.

Returns: true if the user wants to save the choice.

UNKNOWN: Determine if the user wants to save the choice for the future.

setHost

public void setHost(String host)
Set the hostname that we are connecting to.

Parameters: host the hostname

UNKNOWN: Set the hostname that we are connecting to.

setupDialog

public void setupDialog(String[] certs, boolean saveChecked, boolean sendChecked)
Setup the dialog. Call this before you display the dialog.

Parameters: certs the list of possible certificates saveChecked save the checked item for the future sendChecked send the checked item to the remote host

UNKNOWN: Setup the dialog.

setupDialog

public void setupDialog(String[] certs, boolean saveChecked)

setupDialog

public void setupDialog(String[] certs)

wantsToSend

public boolean wantsToSend()
Determine if the user wants to send a certificate.

Returns: true if the user wants to send a certificate

UNKNOWN: Determine if the user wants to send a certificate.