summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/KSSLCertificateHome.java
blob: 4a227f2de77f30673b262df7c4f4251885dd38df (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
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.koala;

import org.kde.qt.Qt;
import org.kde.qt.QtSupport;
import java.util.ArrayList;

/**
*/
public class KSSLCertificateHome implements QtSupport {
	private long _qt;
	private boolean _allocatedInJavaWorld = true;
	protected KSSLCertificateHome(Class dummy){}

	public static final int AuthNone = 0;
	public static final int AuthSend = 1;
	public static final int AuthPrompt = 2;
	public static final int AuthDont = 3;

	public KSSLCertificateHome() {
		newKSSLCertificateHome();
	}
	private native void newKSSLCertificateHome();
	public static native KSSLPKCS12 getCertificateByHost(String host, String password, int aa);
	public static native KSSLPKCS12 getCertificateByName(String name, String password);
	public static native KSSLPKCS12 getCertificateByName(String name);
	public static native String getDefaultCertificateName(String host, int aa);
	public static native String getDefaultCertificateName(String host);
	public static native String getDefaultCertificateName(int aa);
	public static native String getDefaultCertificateName();
	public static native KSSLPKCS12 getDefaultCertificate(String password, int aa);
	public static native KSSLPKCS12 getDefaultCertificate(String password);
	public static native KSSLPKCS12 getDefaultCertificate(int aa);
	public static native KSSLPKCS12 getDefaultCertificate();
	public static native boolean hasCertificateByName(String name);
	public static native void setDefaultCertificate(String name, boolean send, boolean prompt);
	public static native void setDefaultCertificate(String name, boolean send);
	public static native void setDefaultCertificate(String name);
	public static native void setDefaultCertificate(KSSLPKCS12 cert, boolean send, boolean prompt);
	public static native void setDefaultCertificate(KSSLPKCS12 cert, boolean send);
	public static native void setDefaultCertificate(KSSLPKCS12 cert);
	public static native void setDefaultCertificate(String name, String host, boolean send, boolean prompt);
	public static native void setDefaultCertificate(String name, String host, boolean send);
	public static native void setDefaultCertificate(String name, String host);
	public static native void setDefaultCertificate(KSSLPKCS12 cert, String host, boolean send, boolean prompt);
	public static native void setDefaultCertificate(KSSLPKCS12 cert, String host, boolean send);
	public static native void setDefaultCertificate(KSSLPKCS12 cert, String host);
	public static native boolean addCertificate(String filename, String password, boolean storePass);
	public static native boolean addCertificate(String filename, String password);
	public static native boolean addCertificate(KSSLPKCS12 cert, String passToStore);
	public static native boolean addCertificate(KSSLPKCS12 cert);
	public static native boolean deleteCertificate(String filename, String password);
	public static native boolean deleteCertificate(KSSLPKCS12 cert);
	public static native boolean deleteCertificateByName(String name);
	public static native ArrayList getCertificateList();
	/** 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();
}