|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kde.koala.KSSLSettings
public class KSSLSettings
KDE SSL Settings This class contains some of the SSL settings for easy use.
KSSL
Constructor Summary | |
---|---|
|
KSSLSettings()
|
|
KSSLSettings(boolean readConfig)
Construct a KSSL Settings object |
protected |
KSSLSettings(java.lang.Class dummy)
|
Method Summary | |
---|---|
boolean |
autoSendX509()
Does the user want X.509 client certificates to always be sent when possible? |
void |
defaults()
Revert to default settings. |
void |
dispose()
Delete the wrapped C++ instance ahead of finalize() |
protected void |
finalize()
Deletes the wrapped C++ instance |
java.lang.String |
getCipherList()
Get the OpenSSL cipher list for selecting the list of ciphers to use in a connection. |
java.lang.String |
getEGDPath()
Get the configured path to the entropy gathering daemon or entropy file. |
boolean |
isDisposed()
Has the wrapped C++ instance been deleted? |
void |
load()
Load the user's settings. |
boolean |
promptSendX509()
Does the user want to be prompted to send X.509 client certificates when possible? |
void |
save()
Save the current settings. |
void |
setSSLv2(boolean enabled)
Change the user's SSLv2 preference |
void |
setSSLv3(boolean enabled)
Change the user's SSLv3 preference |
void |
setTLSv1(boolean enabled)
Change the user's TLSv1 preference |
void |
setWarnOnEnter(boolean x)
Change the user's warnOnEnter() setting |
void |
setWarnOnLeave(boolean x)
Change the user's warnOnLeave() setting |
void |
setWarnOnUnencrypted(boolean x)
Change the user's warnOnUnencrypted() setting |
boolean |
sslv2()
Does the user allow SSLv2 |
boolean |
sslv3()
Does the user allow SSLv3 |
boolean |
tlsv1()
Does the user allow TLSv1 |
boolean |
useEFile()
Does the user want to use an entropy file? |
boolean |
useEGD()
Does the user want to use the Entropy Gathering Daemon? |
boolean |
warnOnEnter()
Does the user want to be warned on entering SSL mode |
boolean |
warnOnLeave()
Does the user want to be warned on leaving SSL mode |
boolean |
warnOnMixed()
Does the user want to be warned during mixed SSL/non-SSL mode |
boolean |
warnOnUnencrypted()
Does the user want to be warned on sending unencrypted data |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected KSSLSettings(java.lang.Class dummy)
public KSSLSettings(boolean readConfig)
readConfig
- read in the configuration immediately if truepublic KSSLSettings()
Method Detail |
---|
public boolean sslv2()
public boolean sslv3()
public boolean tlsv1()
public boolean warnOnEnter()
public void setWarnOnEnter(boolean x)
x
- true if the user is to be warnedwarnOnEnter()
public boolean warnOnUnencrypted()
setWarnOnUnencrypted(boolean)
public void setWarnOnUnencrypted(boolean x)
x
- true if the user is to be warnedwarnOnUnencrypted()
public boolean warnOnLeave()
public void setWarnOnLeave(boolean x)
x
- true if the user is to be warnedwarnOnLeave()
public boolean warnOnMixed()
public boolean useEGD()
public boolean useEFile()
public void setTLSv1(boolean enabled)
enabled
- true if TLSv1 is enabledpublic void setSSLv2(boolean enabled)
enabled
- true if SSLv2 is enabledpublic void setSSLv3(boolean enabled)
enabled
- true if SSLv3 is enabledpublic boolean autoSendX509()
public boolean promptSendX509()
public java.lang.String getCipherList()
public java.lang.String getEGDPath()
public void load()
public void defaults()
public void save()
protected void finalize() throws java.lang.InternalError
finalize
in class java.lang.Object
java.lang.InternalError
public void dispose()
public boolean isDisposed()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |