summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/KSSLInfoDlg.java
diff options
context:
space:
mode:
Diffstat (limited to 'kdejava/koala/org/kde/koala/KSSLInfoDlg.java')
-rw-r--r--kdejava/koala/org/kde/koala/KSSLInfoDlg.java108
1 files changed, 108 insertions, 0 deletions
diff --git a/kdejava/koala/org/kde/koala/KSSLInfoDlg.java b/kdejava/koala/org/kde/koala/KSSLInfoDlg.java
new file mode 100644
index 00000000..41e74c38
--- /dev/null
+++ b/kdejava/koala/org/kde/koala/KSSLInfoDlg.java
@@ -0,0 +1,108 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.koala;
+
+import org.kde.qt.Qt;
+import org.kde.qt.QMetaObject;
+import org.kde.qt.QtSupport;
+import org.kde.qt.QWidget;
+
+/**
+
+ KDE SSL Information Dialog
+ This class creates a dialog that can be used to display information about
+ an SSL session.
+ There are NO GUARANTEES that KSSLInfoDlg will remain binary compatible/
+ Contact staikos@kde.org for details if needed.
+ @author George Staikos <staikos@kde.org>
+
+ @short KDE SSL Information Dialog.
+ @see KSSL
+
+*/
+public class KSSLInfoDlg extends KDialog {
+ protected KSSLInfoDlg(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ /**
+ Construct a KSSL Information Dialog
+ @param secureConnection true if the connection is secured with SSL
+ @param parent the parent widget
+ @param name the internal name of this instance
+ @param modal true if the dialog should be modal
+ @short Construct a KSSL Information Dialog
+ */
+ public KSSLInfoDlg(boolean secureConnection, QWidget parent, String name, boolean modal) {
+ super((Class) null);
+ newKSSLInfoDlg(secureConnection,parent,name,modal);
+ }
+ private native void newKSSLInfoDlg(boolean secureConnection, QWidget parent, String name, boolean modal);
+ public KSSLInfoDlg(boolean secureConnection, QWidget parent, String name) {
+ super((Class) null);
+ newKSSLInfoDlg(secureConnection,parent,name);
+ }
+ private native void newKSSLInfoDlg(boolean secureConnection, QWidget parent, String name);
+ public KSSLInfoDlg(boolean secureConnection, QWidget parent) {
+ super((Class) null);
+ newKSSLInfoDlg(secureConnection,parent);
+ }
+ private native void newKSSLInfoDlg(boolean secureConnection, QWidget parent);
+ public KSSLInfoDlg(boolean secureConnection) {
+ super((Class) null);
+ newKSSLInfoDlg(secureConnection);
+ }
+ private native void newKSSLInfoDlg(boolean secureConnection);
+ /**
+ Tell the dialog if the connection has portions that may not be
+ secure (ie. a mixture of secure and insecure frames)
+ @param isIt true if security is in question
+ @short Tell the dialog if the connection has portions that may not be secure (ie.
+ */
+ public native void setSecurityInQuestion(boolean isIt);
+ /**
+ Setup the dialog before showing it.
+ @param cert the certificate presented by the site
+ @param ip the ip of the remote host
+ @param url the url being accessed
+ @param cipher the cipher in use
+ @param cipherdesc text description of the cipher in use
+ @param sslversion the version of SSL in use (SSLv2, SSLv3, TLSv1, etc)
+ @param usedbits the number of bits in the cipher key being used
+ @param bits the bit-size of the cipher in use
+ @param certState the certificate state (valid, invalid, etc)
+ @short Setup the dialog before showing it.
+ */
+ public native void setup(KSSLCertificate cert, String ip, String url, String cipher, String cipherdesc, String sslversion, int usedbits, int bits, int certState);
+ /**
+ Setup the dialog before showing it. This is a convenience version
+ of the above method, and obtains the same information using the
+ @param ssl parameter instead.
+ @param ssl the ssl connection
+ @param ip the ip of the remote host
+ @param url the url being accessed
+ @short Setup the dialog before showing it.
+ */
+ public native void setup(KSSL ssl, String ip, String url);
+ /**
+ Set the errors that were encountered while validating the site
+ certificate.
+ @short Set the errors that were encountered while validating the site certificate.
+ */
+ public native void setCertState(String errorNrs);
+ /**
+ Utility function to generate the widget which displays the detailed
+ information about an X.509 certificate.
+ @param parent the parent widget
+ @param certName the name (subject) of the certificate
+ @param mailCatcher the class which catches click events on e-mail
+ addresses
+ @short Utility function to generate the widget which displays the detailed information about an X.
+ */
+ public static native KSSLCertBox certInfoWidget(QWidget parent, String certName, QWidget mailCatcher);
+ public static native KSSLCertBox certInfoWidget(QWidget parent, String certName);
+ /** 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();
+}