/***************************************************************************
                            KSSLInfoDlg.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;

/**
 See {@link KSSLInfoDlgSignals} for signals emitted by KSSLInfoDlg.

 See {@link KSSLInfoDlgEventHandling} for event handlers to override in subclasses of KSSLInfoDlg.

*/
public class KSSLInfoDlg extends KDialog  {
	protected KSSLInfoDlg(Class dummy){super((Class) null);}

	private native void newKSSLInfoDlg( boolean secureConnection, QWidget parent, String name, boolean modal);
	public KSSLInfoDlg( boolean secureConnection, QWidget parent, String name, boolean modal) {
		super((Class) null);
		newKSSLInfoDlg( secureConnection, parent, name, modal);
	}
	private native void newKSSLInfoDlg( boolean secureConnection);
	public KSSLInfoDlg( boolean secureConnection) {
		super((Class) null);
		newKSSLInfoDlg( secureConnection);
	}
	protected native void finalize() throws InternalError;
	public native void dispose();
	public native boolean isDisposed();
	public native void setSecurityInQuestion( boolean isIt);
	public native void setup( KSSLCertificate cert, String ip, String url, String cipher, String cipherdesc, String sslversion, int usedbits, int bits, int certState);
	public native void setup( KSSL ssl, String ip, String url);
//	public static native KSSLCertBox certInfoWidget( QWidget parent, String certName, QWidget mailCatcher);
//	public static native KSSLCertBox certInfoWidget( QWidget parent, String certName);
}
