summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/KSSLX509Map.java
blob: 3639d283ece4db1f9d0bfd060d1a47d243e3e627 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
//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();
}