org.kde.koala

Class KSSLSettings

public class KSSLSettings extends Object implements QtSupport

KDE SSL Settings This class contains some of the SSL settings for easy use.

Author: George Staikos

See Also: KSSL

UNKNOWN: KDE SSL Settings.

Constructor Summary
protected KSSLSettings(Class dummy)
KSSLSettings(boolean readConfig)
Construct a KSSL Settings object
KSSLSettings()
Method Summary
booleanautoSendX509()
Does the user want X.509 client certificates to always be sent when possible?
voiddefaults()
Revert to default settings.
voiddispose()
Delete the wrapped C++ instance ahead of finalize()
protected voidfinalize()
Deletes the wrapped C++ instance
StringgetCipherList()
Get the OpenSSL cipher list for selecting the list of ciphers to use in a connection.
StringgetEGDPath()
Get the configured path to the entropy gathering daemon or entropy file.
booleanisDisposed()
Has the wrapped C++ instance been deleted?
voidload()
Load the user's settings.
booleanpromptSendX509()
Does the user want to be prompted to send X.509 client certificates when possible?
voidsave()
Save the current settings.
voidsetSSLv2(boolean enabled)
Change the user's SSLv2 preference
voidsetSSLv3(boolean enabled)
Change the user's SSLv3 preference
voidsetTLSv1(boolean enabled)
Change the user's TLSv1 preference
voidsetWarnOnEnter(boolean x)
Change the user's warnOnEnter() setting
voidsetWarnOnLeave(boolean x)
Change the user's warnOnLeave() setting
voidsetWarnOnUnencrypted(boolean x)
Change the user's warnOnUnencrypted() setting
booleansslv2()
Does the user allow SSLv2
booleansslv3()
Does the user allow SSLv3
booleantlsv1()
Does the user allow TLSv1
booleanuseEFile()
Does the user want to use an entropy file?
booleanuseEGD()
Does the user want to use the Entropy Gathering Daemon?
booleanwarnOnEnter()
Does the user want to be warned on entering SSL mode
booleanwarnOnLeave()
Does the user want to be warned on leaving SSL mode
booleanwarnOnMixed()
Does the user want to be warned during mixed SSL/non-SSL mode
booleanwarnOnUnencrypted()
Does the user want to be warned on sending unencrypted data

Constructor Detail

KSSLSettings

protected KSSLSettings(Class dummy)

KSSLSettings

public KSSLSettings(boolean readConfig)
Construct a KSSL Settings object

Parameters: readConfig read in the configuration immediately if true

UNKNOWN: Construct a KSSL Settings object

KSSLSettings

public KSSLSettings()

Method Detail

autoSendX509

public boolean autoSendX509()
Does the user want X.509 client certificates to always be sent when possible?

Returns: true if the user always wants a certificate sent

UNKNOWN: Does the user want X.

defaults

public void defaults()
Revert to default settings.

UNKNOWN: Revert to default settings.

dispose

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

finalize

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

getCipherList

public String getCipherList()
Get the OpenSSL cipher list for selecting the list of ciphers to use in a connection.

Returns: the cipher list

UNKNOWN: Get the OpenSSL cipher list for selecting the list of ciphers to use in a connection.

getEGDPath

public String getEGDPath()
Get the configured path to the entropy gathering daemon or entropy file.

Returns: the path

UNKNOWN: Get the configured path to the entropy gathering daemon or entropy file.

isDisposed

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

load

public void load()
Load the user's settings.

UNKNOWN: Load the user's settings.

promptSendX509

public boolean promptSendX509()
Does the user want to be prompted to send X.509 client certificates when possible?

Returns: true if the user wants to be prompted

UNKNOWN: Does the user want to be prompted to send X.

save

public void save()
Save the current settings.

UNKNOWN: Save the current settings.

setSSLv2

public void setSSLv2(boolean enabled)
Change the user's SSLv2 preference

Parameters: enabled true if SSLv2 is enabled

UNKNOWN: Change the user's SSLv2 preference

setSSLv3

public void setSSLv3(boolean enabled)
Change the user's SSLv3 preference

Parameters: enabled true if SSLv3 is enabled

UNKNOWN: Change the user's SSLv3 preference

setTLSv1

public void setTLSv1(boolean enabled)
Change the user's TLSv1 preference

Parameters: enabled true if TLSv1 is enabled

UNKNOWN: Change the user's TLSv1 preference

setWarnOnEnter

public void setWarnOnEnter(boolean x)
Change the user's warnOnEnter() setting

Parameters: x true if the user is to be warned

See Also: KSSLSettings

UNKNOWN: Change the user's warnOnEnter() setting

setWarnOnLeave

public void setWarnOnLeave(boolean x)
Change the user's warnOnLeave() setting

Parameters: x true if the user is to be warned

See Also: KSSLSettings

UNKNOWN: Change the user's warnOnLeave() setting

setWarnOnUnencrypted

public void setWarnOnUnencrypted(boolean x)
Change the user's warnOnUnencrypted() setting

Parameters: x true if the user is to be warned

See Also: KSSLSettings

UNKNOWN: Change the user's warnOnUnencrypted() setting

sslv2

public boolean sslv2()
Does the user allow SSLv2

Returns: true if the user allows SSLv2

UNKNOWN: Does the user allow SSLv2

sslv3

public boolean sslv3()
Does the user allow SSLv3

Returns: true if the user allows SSLv3

UNKNOWN: Does the user allow SSLv3

tlsv1

public boolean tlsv1()
Does the user allow TLSv1

Returns: true if the user allows TLSv1

UNKNOWN: Does the user allow TLSv1

useEFile

public boolean useEFile()
Does the user want to use an entropy file?

Returns: true if the user wants to use an entropy file

UNKNOWN: Does the user want to use an entropy file?

useEGD

public boolean useEGD()
Does the user want to use the Entropy Gathering Daemon?

Returns: true if the user wants to use EGD

UNKNOWN: Does the user want to use the Entropy Gathering Daemon?

warnOnEnter

public boolean warnOnEnter()
Does the user want to be warned on entering SSL mode

Returns: true if the user wants to be warned

UNKNOWN: Does the user want to be warned on entering SSL mode

warnOnLeave

public boolean warnOnLeave()
Does the user want to be warned on leaving SSL mode

Returns: true if the user wants to be warned

UNKNOWN: Does the user want to be warned on leaving SSL mode

warnOnMixed

public boolean warnOnMixed()
Does the user want to be warned during mixed SSL/non-SSL mode

Returns: true if the user wants to be warned

UNKNOWN: Does the user want to be warned during mixed SSL/non-SSL mode

warnOnUnencrypted

public boolean warnOnUnencrypted()
Does the user want to be warned on sending unencrypted data

Returns: true if the user wants to be warned

See Also: KSSLSettings

UNKNOWN: Does the user want to be warned on sending unencrypted data