//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.koala;

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

/**

 KDE SSL Connection Information
 This class contains the information about an SSL connection.  It is
 generally referenced through KSSL.
		@author George Staikos <staikos@kde.org>

		@short KDE SSL Connection Information.
		@see KSSL

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

	/**
		  Get the cipher in use.
				@return the cipher in use

		@short     Get the cipher in use.
	*/
	public native String getCipher();
	/**
		  Describe the cipher in use.
				@return the cipher description (from OpenSSL)

		@short     Describe the cipher in use.
	*/
	public native String getCipherDescription();
	/**
		  Get the version of the cipher in use.
				@return the version of the cipher

		@short     Get the version of the cipher in use.
	*/
	public native String getCipherVersion();
	/**
		  Get the number of bits of the cipher that are actually used.
				@return the number of bits in use

		@short     Get the number of bits of the cipher that are actually used.
	*/
	public native int getCipherUsedBits();
	/**
		  Get bit-size of the cipher
				@return the number of bits

		@short     Get bit-size of the cipher
	*/
	public native int getCipherBits();
	public KSSLConnectionInfo() {
		newKSSLConnectionInfo();
	}
	private native void newKSSLConnectionInfo();
	protected native void clean();
	/** 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();
}
