summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/KSSLSettings.java
diff options
context:
space:
mode:
Diffstat (limited to 'kdejava/koala/org/kde/koala/KSSLSettings.java')
-rw-r--r--kdejava/koala/org/kde/koala/KSSLSettings.java191
1 files changed, 191 insertions, 0 deletions
diff --git a/kdejava/koala/org/kde/koala/KSSLSettings.java b/kdejava/koala/org/kde/koala/KSSLSettings.java
new file mode 100644
index 00000000..41ad6b08
--- /dev/null
+++ b/kdejava/koala/org/kde/koala/KSSLSettings.java
@@ -0,0 +1,191 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.koala;
+
+import org.kde.qt.Qt;
+import org.kde.qt.QtSupport;
+
+/**
+
+ KDE SSL Settings
+ This class contains some of the SSL settings for easy use.
+ @author George Staikos <staikos@kde.org>
+
+ @short KDE SSL Settings.
+ @see KSSL
+
+*/
+public class KSSLSettings implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected KSSLSettings(Class dummy){}
+
+ /**
+ Construct a KSSL Settings object
+ @param readConfig read in the configuration immediately if true
+ @short Construct a KSSL Settings object
+ */
+ public KSSLSettings(boolean readConfig) {
+ newKSSLSettings(readConfig);
+ }
+ private native void newKSSLSettings(boolean readConfig);
+ public KSSLSettings() {
+ newKSSLSettings();
+ }
+ private native void newKSSLSettings();
+ /**
+ Does the user allow SSLv2
+ @return true if the user allows SSLv2
+
+ @short Does the user allow SSLv2
+ */
+ public native boolean sslv2();
+ /**
+ Does the user allow SSLv3
+ @return true if the user allows SSLv3
+
+ @short Does the user allow SSLv3
+ */
+ public native boolean sslv3();
+ /**
+ Does the user allow TLSv1
+ @return true if the user allows TLSv1
+
+ @short Does the user allow TLSv1
+ */
+ public native boolean tlsv1();
+ /**
+ Does the user want to be warned on entering SSL mode
+ @return true if the user wants to be warned
+
+ @short Does the user want to be warned on entering SSL mode
+ */
+ public native boolean warnOnEnter();
+ /**
+ Change the user's warnOnEnter() setting
+ @param x true if the user is to be warned
+ @short Change the user's warnOnEnter() setting
+ @see #warnOnEnter
+ */
+ public native void setWarnOnEnter(boolean x);
+ /**
+ Does the user want to be warned on sending unencrypted data
+ @return true if the user wants to be warned
+
+ @short Does the user want to be warned on sending unencrypted data
+ @see #setWarnOnUnencrypted
+ */
+ public native boolean warnOnUnencrypted();
+ /**
+ Change the user's warnOnUnencrypted() setting
+ @param x true if the user is to be warned
+ @short Change the user's warnOnUnencrypted() setting
+ @see #warnOnUnencrypted
+ */
+ public native void setWarnOnUnencrypted(boolean x);
+ /**
+ Does the user want to be warned on leaving SSL mode
+ @return true if the user wants to be warned
+
+ @short Does the user want to be warned on leaving SSL mode
+ */
+ public native boolean warnOnLeave();
+ /**
+ Change the user's warnOnLeave() setting
+ @param x true if the user is to be warned
+ @short Change the user's warnOnLeave() setting
+ @see #warnOnLeave
+ */
+ public native void setWarnOnLeave(boolean x);
+ /**
+ Does the user want to be warned during mixed SSL/non-SSL mode
+ @return true if the user wants to be warned
+
+ @short Does the user want to be warned during mixed SSL/non-SSL mode
+ */
+ public native boolean warnOnMixed();
+ /**
+ Does the user want to use the Entropy Gathering Daemon?
+ @return true if the user wants to use EGD
+
+ @short Does the user want to use the Entropy Gathering Daemon?
+ */
+ public native boolean useEGD();
+ /**
+ Does the user want to use an entropy file?
+ @return true if the user wants to use an entropy file
+
+ @short Does the user want to use an entropy file?
+ */
+ public native boolean useEFile();
+ /**
+ Change the user's TLSv1 preference
+ @param enabled true if TLSv1 is enabled
+ @short Change the user's TLSv1 preference
+ */
+ public native void setTLSv1(boolean enabled);
+ /**
+ Change the user's SSLv2 preference
+ @param enabled true if SSLv2 is enabled
+ @short Change the user's SSLv2 preference
+ */
+ public native void setSSLv2(boolean enabled);
+ /**
+ Change the user's SSLv3 preference
+ @param enabled true if SSLv3 is enabled
+ @short Change the user's SSLv3 preference
+ */
+ public native void setSSLv3(boolean enabled);
+ /**
+ Does the user want X.509 client certificates to always be sent when
+ possible?
+ @return true if the user always wants a certificate sent
+
+ @short Does the user want X.
+ */
+ public native boolean autoSendX509();
+ /**
+ Does the user want to be prompted to send X.509 client certificates
+ when possible?
+ @return true if the user wants to be prompted
+
+ @short Does the user want to be prompted to send X.
+ */
+ public native boolean promptSendX509();
+ /**
+ Get the OpenSSL cipher list for selecting the list of ciphers to
+ use in a connection.
+ @return the cipher list
+
+ @short Get the OpenSSL cipher list for selecting the list of ciphers to use in a connection.
+ */
+ public native String getCipherList();
+ /**
+ Get the configured path to the entropy gathering daemon or entropy
+ file.
+ @return the path
+
+ @short Get the configured path to the entropy gathering daemon or entropy file.
+ */
+ public native String getEGDPath();
+ /**
+ Load the user's settings.
+ @short Load the user's settings.
+ */
+ public native void load();
+ /**
+ Revert to default settings.
+ @short Revert to default settings.
+ */
+ public native void defaults();
+ /**
+ Save the current settings.
+ @short Save the current settings.
+ */
+ public native void save();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}