//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();
}
