summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/KSSLInfoDlg.java
blob: 3ffddea78c46ced4c9755ed8c73d0989df3f00af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.koala;

import org.kde.qt.Qt;
import org.kde.qt.TQMetaObject;
import org.kde.qt.QtSupport;
import org.kde.qt.TQWidget;

/**

 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 TQMetaObject 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, TQWidget parent, String name, boolean modal) {
		super((Class) null);
		newKSSLInfoDlg(secureConnection,parent,name,modal);
	}
	private native void newKSSLInfoDlg(boolean secureConnection, TQWidget parent, String name, boolean modal);
	public KSSLInfoDlg(boolean secureConnection, TQWidget parent, String name) {
		super((Class) null);
		newKSSLInfoDlg(secureConnection,parent,name);
	}
	private native void newKSSLInfoDlg(boolean secureConnection, TQWidget parent, String name);
	public KSSLInfoDlg(boolean secureConnection, TQWidget parent) {
		super((Class) null);
		newKSSLInfoDlg(secureConnection,parent);
	}
	private native void newKSSLInfoDlg(boolean secureConnection, TQWidget 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(TQWidget parent, String certName, TQWidget mailCatcher);
	public static native KSSLCertBox certInfoWidget(TQWidget 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();
}