summaryrefslogtreecommitdiffstats
path: root/tdejava/koala/org/trinitydesktop/koala/KSSLX509V3.java
blob: c7438a85b822a6fe16da6c6d727691fa124451ff (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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.koala;

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

/**

 KDE X509v3 Flag Class
 This class is used to track X509v3 flags for
		@author George Staikos <staikos@kde.org>

		@short KDE SSL Class.
		@see KExtendedSocket
		@see TCPSlaveBase

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

	/**
		  Determine if this certificate can be used by a certificate authority
				@return true if it can be used by a certificate authority

		@short     Determine if this certificate can be used by a certificate authority
	*/
	public native boolean certTypeCA();
	/**
		  Determine if this certificate can be used by an SSL signer
				@return true if it can be used by an SSL signer

		@short     Determine if this certificate can be used by an SSL signer
	*/
	public native boolean certTypeSSLCA();
	/**
		  Determine if this certificate can be used by an S/MIME signer
				@return true if it can be used by an S/MIME signer

		@short     Determine if this certificate can be used by an S/MIME signer
	*/
	public native boolean certTypeEmailCA();
	/**
		  Determine if this certificate can be used by a code certificate signer
				@return true if it can be used by a code certificate signer

		@short     Determine if this certificate can be used by a code certificate signer
	*/
	public native boolean certTypeCodeCA();
	/**
		  Determine if this certificate can be used by an SSL client
				@return true if it can be used by an SSL client

		@short     Determine if this certificate can be used by an SSL client
	*/
	public native boolean certTypeSSLClient();
	/**
		  Determine if this certificate can be used by an SSL server
				@return true if it can be used by an SSL server

		@short     Determine if this certificate can be used by an SSL server
	*/
	public native boolean certTypeSSLServer();
	/**
		  Determine if this certificate can be used by a Netscape SSL server
				@return true if it can be used by a Netscape SSL server

		@short     Determine if this certificate can be used by a Netscape SSL server
	*/
	public native boolean certTypeNSSSLServer();
	/**
		  Determine if this certificate can be used for S/MIME
				@return true if it can be used for S/MIME

		@short     Determine if this certificate can be used for S/MIME
	*/
	public native boolean certTypeSMIME();
	/**
		  Determine if this certificate can be used for S/MIME encryption
				@return true if it can be used for S/MIME encryption

		@short     Determine if this certificate can be used for S/MIME encryption
	*/
	public native boolean certTypeSMIMEEncrypt();
	/**
		  Determine if this certificate can be used for S/MIME signing
				@return true if it can be used for S/MIME signing

		@short     Determine if this certificate can be used for S/MIME signing
	*/
	public native boolean certTypeSMIMESign();
	/**
		  Determine if this certificate can be used for revocation signing
				@return true if it can be used for revocation signing

		@short     Determine if this certificate can be used for revocation signing
	*/
	public native boolean certTypeCRLSign();
	public KSSLX509V3() {
		newKSSLX509V3();
	}
	private native void newKSSLX509V3();
	/** 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();
}