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

import org.kde.qt.Qt;
import org.kde.qt.QtSupport;

/**

 X.509 Map Parsing Class
 This class is used to parse and store a map as used in X.509 certificates.
 It is of the form /name=value/name=value/name=value
		@author George Staikos <staikos@kde.org>

		@short X.509 Map Parser.
		@see KSSL
		@see KSSLCertificate

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

	/**	
		  Construct an X.509 Map
			@param name the map to parse
			 		@short     Construct an X.
	*/
	public KSSLX509Map(String name) {
		newKSSLX509Map(name);
	}
	private native void newKSSLX509Map(String name);
	/**	
		  Set a value in the map
			@param key the key
			@param value the value
			 		@short     Set a value in the map
	*/
	public native void setValue(String key, String value);
	/**	
		  Get the value of an entry in the map
			@param key the key
				@return the value
	 
		@short     Get the value of an entry in the map
	*/
	public native String getValue(String key);
	/**	
		  Reset (clear) the internal storage.
			@param name if this is not empty, it will be parsed and used as
		         the new map internally
			 		@short     Reset (clear) the internal storage.
	*/
	public native void reset(String name);
	public native void reset();
	/** 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();
}
