1 |
758 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __java_security_cert_X509CertSelector__
|
5 |
|
|
#define __java_security_cert_X509CertSelector__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/lang/Object.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
extern "Java"
|
13 |
|
|
{
|
14 |
|
|
namespace gnu
|
15 |
|
|
{
|
16 |
|
|
namespace java
|
17 |
|
|
{
|
18 |
|
|
namespace security
|
19 |
|
|
{
|
20 |
|
|
class OID;
|
21 |
|
|
namespace x509
|
22 |
|
|
{
|
23 |
|
|
namespace ext
|
24 |
|
|
{
|
25 |
|
|
class GeneralName;
|
26 |
|
|
}
|
27 |
|
|
}
|
28 |
|
|
}
|
29 |
|
|
}
|
30 |
|
|
}
|
31 |
|
|
namespace java
|
32 |
|
|
{
|
33 |
|
|
namespace math
|
34 |
|
|
{
|
35 |
|
|
class BigInteger;
|
36 |
|
|
}
|
37 |
|
|
namespace security
|
38 |
|
|
{
|
39 |
|
|
class PublicKey;
|
40 |
|
|
namespace cert
|
41 |
|
|
{
|
42 |
|
|
class Certificate;
|
43 |
|
|
class X509CertSelector;
|
44 |
|
|
class X509Certificate;
|
45 |
|
|
}
|
46 |
|
|
namespace spec
|
47 |
|
|
{
|
48 |
|
|
class X509EncodedKeySpec;
|
49 |
|
|
}
|
50 |
|
|
}
|
51 |
|
|
}
|
52 |
|
|
namespace javax
|
53 |
|
|
{
|
54 |
|
|
namespace security
|
55 |
|
|
{
|
56 |
|
|
namespace auth
|
57 |
|
|
{
|
58 |
|
|
namespace x500
|
59 |
|
|
{
|
60 |
|
|
class X500Principal;
|
61 |
|
|
}
|
62 |
|
|
}
|
63 |
|
|
}
|
64 |
|
|
}
|
65 |
|
|
}
|
66 |
|
|
|
67 |
|
|
class java::security::cert::X509CertSelector : public ::java::lang::Object
|
68 |
|
|
{
|
69 |
|
|
|
70 |
|
|
static jboolean checkOid(JArray< jint > *);
|
71 |
|
|
static ::gnu::java::security::x509::ext::GeneralName * makeName(jint, ::java::lang::String *);
|
72 |
|
|
public:
|
73 |
|
|
X509CertSelector();
|
74 |
|
|
virtual void addPathToName(jint, JArray< jbyte > *);
|
75 |
|
|
virtual void addPathToName(jint, ::java::lang::String *);
|
76 |
|
|
virtual void addSubjectAlternativeName(jint, JArray< jbyte > *);
|
77 |
|
|
virtual void addSubjectAlternativeName(jint, ::java::lang::String *);
|
78 |
|
|
virtual ::java::lang::Object * clone();
|
79 |
|
|
virtual JArray< jbyte > * getAuthorityKeyIdentifier();
|
80 |
|
|
virtual jint getBasicConstraints();
|
81 |
|
|
virtual ::java::security::cert::X509Certificate * getCertificate();
|
82 |
|
|
virtual ::java::util::Date * getCertificateValid();
|
83 |
|
|
virtual ::java::util::Set * getExtendedKeyUsage();
|
84 |
|
|
virtual JArray< jbyte > * getIssuerAsBytes();
|
85 |
|
|
virtual ::java::lang::String * getIssuerAsString();
|
86 |
|
|
virtual JArray< jboolean > * getKeyUsage();
|
87 |
|
|
virtual jboolean getMatchAllSubjectAltNames();
|
88 |
|
|
virtual JArray< jbyte > * getNameConstraints();
|
89 |
|
|
virtual ::java::util::Collection * getPathToNames();
|
90 |
|
|
virtual ::java::util::Set * getPolicy();
|
91 |
|
|
virtual ::java::util::Date * getPrivateKeyValid();
|
92 |
|
|
virtual ::java::math::BigInteger * getSerialNumber();
|
93 |
|
|
virtual ::java::util::Collection * getSubjectAlternativeNames();
|
94 |
|
|
virtual JArray< jbyte > * getSubjectAsBytes();
|
95 |
|
|
virtual ::java::lang::String * getSubjectAsString();
|
96 |
|
|
virtual JArray< jbyte > * getSubjectKeyIdentifier();
|
97 |
|
|
virtual ::java::security::PublicKey * getSubjectPublicKey();
|
98 |
|
|
virtual ::java::lang::String * getSubjectPublicKeyAlgID();
|
99 |
|
|
virtual jboolean match(::java::security::cert::Certificate *);
|
100 |
|
|
virtual void setAuthorityKeyIdentifier(JArray< jbyte > *);
|
101 |
|
|
virtual void setBasicConstraints(jint);
|
102 |
|
|
virtual void setCertificate(::java::security::cert::X509Certificate *);
|
103 |
|
|
virtual void setCertificateValid(::java::util::Date *);
|
104 |
|
|
virtual void setExtendedKeyUsage(::java::util::Set *);
|
105 |
|
|
virtual void setIssuer(JArray< jbyte > *);
|
106 |
|
|
virtual void setIssuer(::java::lang::String *);
|
107 |
|
|
virtual void setKeyUsage(JArray< jboolean > *);
|
108 |
|
|
virtual void setMatchAllSubjectAltNames(jboolean);
|
109 |
|
|
virtual void setNameConstraints(JArray< jbyte > *);
|
110 |
|
|
virtual void setPathToNames(::java::util::Collection *);
|
111 |
|
|
virtual void setPolicy(::java::util::Set *);
|
112 |
|
|
virtual void setPrivateKeyValid(::java::util::Date *);
|
113 |
|
|
virtual void setSerialNumber(::java::math::BigInteger *);
|
114 |
|
|
virtual void setSubject(JArray< jbyte > *);
|
115 |
|
|
virtual void setSubject(::java::lang::String *);
|
116 |
|
|
virtual void setSubjectAlternativeNames(::java::util::Collection *);
|
117 |
|
|
virtual void setSubjectKeyIdentifier(JArray< jbyte > *);
|
118 |
|
|
virtual void setSubjectPublicKey(JArray< jbyte > *);
|
119 |
|
|
virtual void setSubjectPublicKey(::java::security::PublicKey *);
|
120 |
|
|
virtual void setSubjectPublicKeyAlgID(::java::lang::String *);
|
121 |
|
|
virtual ::java::lang::String * toString();
|
122 |
|
|
public: // actually package-private
|
123 |
|
|
static JArray< jint > * $SWITCH_TABLE$gnu$java$security$x509$ext$GeneralName$Kind();
|
124 |
|
|
private:
|
125 |
|
|
static ::java::lang::String * AUTH_KEY_ID;
|
126 |
|
|
static ::java::lang::String * SUBJECT_KEY_ID;
|
127 |
|
|
static ::java::lang::String * NAME_CONSTRAINTS_ID;
|
128 |
|
|
jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) basicConstraints;
|
129 |
|
|
::java::security::cert::X509Certificate * cert;
|
130 |
|
|
::java::math::BigInteger * serialNo;
|
131 |
|
|
::javax::security::auth::x500::X500Principal * issuer;
|
132 |
|
|
::javax::security::auth::x500::X500Principal * subject;
|
133 |
|
|
JArray< jbyte > * subjectKeyId;
|
134 |
|
|
JArray< jbyte > * authKeyId;
|
135 |
|
|
JArray< jboolean > * keyUsage;
|
136 |
|
|
::java::util::Date * certValid;
|
137 |
|
|
::gnu::java::security::OID * sigId;
|
138 |
|
|
::java::security::PublicKey * subjectKey;
|
139 |
|
|
::java::security::spec::X509EncodedKeySpec * subjectKeySpec;
|
140 |
|
|
::java::util::Set * keyPurposeSet;
|
141 |
|
|
::java::util::List * altNames;
|
142 |
|
|
jboolean matchAllNames;
|
143 |
|
|
JArray< jbyte > * nameConstraints;
|
144 |
|
|
::java::util::Set * policy;
|
145 |
|
|
::java::util::List * pathToNames;
|
146 |
|
|
static JArray< jint > * $SWITCH_TABLE$gnu$java$security$x509$ext$GeneralName$Kind__;
|
147 |
|
|
public:
|
148 |
|
|
static ::java::lang::Class class$;
|
149 |
|
|
};
|
150 |
|
|
|
151 |
|
|
#endif // __java_security_cert_X509CertSelector__
|