summaryrefslogtreecommitdiffstats
path: root/tdejava/koala/org/trinitydesktop/koala/KSSLCertDlg.java
blob: fa9b27f7c3fd585451f48c007d0b7f82b3b68d01 (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
//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.koala;

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

/**

 KDE X.509 Certificate Dialog
 This class is used to create and display a dialog which contains the user's
 X.509 certificates and allows the user to present it during SSL sessions.
		@author George Staikos <staikos@kde.org>

		@short KDE X.509 Certificate Dialog.
		@see KSSL

*/
public class KSSLCertDlg extends KDialog  {
	protected KSSLCertDlg(Class dummy){super((Class) null);}
	public native TQMetaObject metaObject();
	public native String className();
	/**
		  Construct a KSSL certificate dialog
			@param parent the parent widget
			@param name the internal name of this instance
			@param modal create a modal dialog if set to true
			 		@short     Construct a KSSL certificate dialog
	*/
	public KSSLCertDlg(TQWidget parent, String name, boolean modal) {
		super((Class) null);
		newKSSLCertDlg(parent,name,modal);
	}
	private native void newKSSLCertDlg(TQWidget parent, String name, boolean modal);
	public KSSLCertDlg(TQWidget parent, String name) {
		super((Class) null);
		newKSSLCertDlg(parent,name);
	}
	private native void newKSSLCertDlg(TQWidget parent, String name);
	public KSSLCertDlg(TQWidget parent) {
		super((Class) null);
		newKSSLCertDlg(parent);
	}
	private native void newKSSLCertDlg(TQWidget parent);
	public KSSLCertDlg() {
		super((Class) null);
		newKSSLCertDlg();
	}
	private native void newKSSLCertDlg();
	/**
		  Setup the dialog. Call this before you display the dialog.
			@param certs the list of possible certificates
			@param saveChecked save the checked item for the future
			@param sendChecked send the checked item to the remote host
			 		@short     Setup the dialog.
	*/
	public native void setupDialog(String[] certs, boolean saveChecked, boolean sendChecked);
	public native void setupDialog(String[] certs, boolean saveChecked);
	public native void setupDialog(String[] certs);
	/**
		  Obtain the name of the certificate the user wants to send
				@return the name of the certificate

		@short     Obtain the name of the certificate the user wants to send
	*/
	public native String getChoice();
	/**
		  Determine if the user wants to send a certificate.
				@return true if the user wants to send a certificate

		@short     Determine if the user wants to send a certificate.
	*/
	public native boolean wantsToSend();
	/**
		  Determine if the user wants to save the choice for the future.
				@return true if the user wants to save the choice.

		@short     Determine if the user wants to save the choice for the future.
	*/
	public native boolean saveChoice();
	/**
		  Set the hostname that we are connecting to.
			@param host the hostname
			 		@short     Set the hostname that we are connecting to.
	*/
	public native void setHost(String host);
	/** 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();
}