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

import org.trinitydesktop.qt.TQt;
import org.trinitydesktop.qt.QtSupport;

/**

 KDE SSL Session Information
 This class contains data about an SSL session.
 It is just used as a container that is taken from or passed to KSSL objects.
		@author George Staikos <staikos@kde.org>

		@short KDE SSL Session Information.
		@see KSSL

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

	/**
		  Convert to a base64 encoded string (so it can be copied safely)
			 		@short     Convert to a base64 encoded string (so it can be copied safely)
	*/
	public native String toString();
	/**
		  Create as session ID object from a base64 encoded string.
			@param s the session id in base64 encoded ASN.1 format
				@return a KSSLSession object, or 0L on error

		@short     Create as session ID object from a base64 encoded string.
	*/
	public static native KSSLSession fromString(String s);
	public KSSLSession() {
		newKSSLSession();
	}
	private native void newKSSLSession();
	/** 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();
}
