/***************************************************************************
                            KSSLSettings.java -  description
                             -------------------
    begin                : Sun Jan 27 16:22:17 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd.
    email                : Richard_Dale@tipitina.demon.co.uk
    generated by         : duke@tipitina on Sun Jan 27 16:22:17 2002, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
***************************************************************************/

package org.kde.koala;

import org.kde.qt.*;
import java.util.*;
import java.lang.Error;

public class  KSSLSettings implements QtSupport {
	private long _qt;
	private boolean _allocatedInJavaWorld = true;

	protected KSSLSettings(Class dummy){}

	private native void newKSSLSettings( boolean readConfig);
	public KSSLSettings( boolean readConfig) {
		newKSSLSettings( readConfig);
	}
	private native void newKSSLSettings();
	public KSSLSettings() {
		newKSSLSettings();
	}
	protected native void finalize() throws InternalError;
	public native void dispose();
	public native boolean isDisposed();
	public native boolean sslv2();
	public native boolean sslv3();
	public native boolean tlsv1();
	public native boolean warnOnEnter();
	public native boolean warnOnUnencrypted();
	public native void setWarnOnUnencrypted( boolean x);
	public native boolean warnOnLeave();
	public native boolean warnOnMixed();
	public native boolean warnOnSelfSigned();
	public native boolean warnOnRevoked();
	public native boolean warnOnExpired();
	public native boolean useEGD();
	public native boolean useEFile();
	public native void setTLSv1( boolean enabled);
	public native void setSSLv2( boolean enabled);
	public native void setSSLv3( boolean enabled);
	public native boolean autoSendX509();
	public native boolean promptSendX509();
	public native String getCipherList();
	public native String getEGDPath();
	public native void load();
	public native void defaults();
	public native void save();
}
