blob: 68e944360b63fd1173f2136eb079675f775ee9a1 (
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_java_security_x509_X509Certificate__
#define __gnu_java_security_x509_X509Certificate__
#pragma interface
#include <java/security/cert/X509Certificate.h>
#include <gcj/array.h>
extern "Java"
{
namespace gnu
{
namespace java
{
namespace security
{
class OID;
namespace der
{
class BitString;
}
namespace x509
{
class X500DistinguishedName;
class X509Certificate;
namespace ext
{
class Extension;
}
}
}
}
}
namespace java
{
namespace math
{
class BigInteger;
}
namespace security
{
class Principal;
class PublicKey;
class Signature;
}
}
namespace javax
{
namespace security
{
namespace auth
{
namespace x500
{
class X500Principal;
}
}
}
}
}
class gnu::java::security::x509::X509Certificate : public ::java::security::cert::X509Certificate
{
public:
X509Certificate(::java::io::InputStream *);
public: // actually protected
X509Certificate();
public:
virtual void checkValidity();
virtual void checkValidity(::java::util::Date *);
virtual jint getVersion();
virtual ::java::math::BigInteger * getSerialNumber();
virtual ::java::security::Principal * getIssuerDN();
virtual ::javax::security::auth::x500::X500Principal * getIssuerX500Principal();
virtual ::java::security::Principal * getSubjectDN();
virtual ::javax::security::auth::x500::X500Principal * getSubjectX500Principal();
virtual ::java::util::Date * getNotBefore();
virtual ::java::util::Date * getNotAfter();
virtual JArray< jbyte > * getTBSCertificate();
virtual JArray< jbyte > * getSignature();
virtual ::java::lang::String * getSigAlgName();
virtual ::java::lang::String * getSigAlgOID();
virtual JArray< jbyte > * getSigAlgParams();
virtual JArray< jboolean > * getIssuerUniqueID();
virtual JArray< jboolean > * getSubjectUniqueID();
virtual JArray< jboolean > * getKeyUsage();
virtual ::java::util::List * getExtendedKeyUsage();
virtual jint getBasicConstraints();
virtual ::java::util::Collection * getSubjectAlternativeNames();
virtual ::java::util::Collection * getIssuerAlternativeNames();
virtual jboolean hasUnsupportedCriticalExtension();
virtual ::java::util::Set * getCriticalExtensionOIDs();
virtual ::java::util::Set * getNonCriticalExtensionOIDs();
virtual JArray< jbyte > * getExtensionValue(::java::lang::String *);
virtual ::gnu::java::security::x509::ext::Extension * getExtension(::gnu::java::security::OID *);
virtual ::java::util::Collection * getExtensions();
virtual JArray< jbyte > * getEncoded();
virtual void verify(::java::security::PublicKey *);
virtual void verify(::java::security::PublicKey *, ::java::lang::String *);
virtual ::java::lang::String * toString();
virtual ::java::security::PublicKey * getPublicKey();
virtual jboolean equals(::java::lang::Object *);
private:
void doVerify(::java::security::Signature *, ::java::security::PublicKey *);
void parse(::java::io::InputStream *);
static const jlong serialVersionUID = -2491127588187038216LL;
static ::java::util::logging::Logger * logger;
public: // actually protected
static ::gnu::java::security::OID * ID_DSA;
static ::gnu::java::security::OID * ID_DSA_WITH_SHA1;
static ::gnu::java::security::OID * ID_RSA;
static ::gnu::java::security::OID * ID_RSA_WITH_MD2;
static ::gnu::java::security::OID * ID_RSA_WITH_MD5;
static ::gnu::java::security::OID * ID_RSA_WITH_SHA1;
static ::gnu::java::security::OID * ID_ECDSA_WITH_SHA1;
JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::security::cert::X509Certificate)))) encoded;
JArray< jbyte > * tbsCertBytes;
jint version;
::java::math::BigInteger * serialNo;
::gnu::java::security::OID * algId;
JArray< jbyte > * algVal;
::gnu::java::security::x509::X500DistinguishedName * issuer;
::java::util::Date * notBefore;
::java::util::Date * notAfter;
::gnu::java::security::x509::X500DistinguishedName * subject;
::java::security::PublicKey * subjectKey;
::gnu::java::security::der::BitString * issuerUniqueId;
::gnu::java::security::der::BitString * subjectUniqueId;
::java::util::Map * extensions;
::gnu::java::security::OID * sigAlgId;
JArray< jbyte > * sigAlgVal;
JArray< jbyte > * signature;
public:
static ::java::lang::Class class$;
};
#endif // __gnu_java_security_x509_X509Certificate__
|