summaryrefslogtreecommitdiff
path: root/libjava/gnu/java/security/x509
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/gnu/java/security/x509')
-rw-r--r--libjava/gnu/java/security/x509/GnuPKIExtension.h47
-rw-r--r--libjava/gnu/java/security/x509/PolicyNodeImpl.h73
-rw-r--r--libjava/gnu/java/security/x509/Util.h46
-rw-r--r--libjava/gnu/java/security/x509/X500DistinguishedName.h90
-rw-r--r--libjava/gnu/java/security/x509/X509CRL.h124
-rw-r--r--libjava/gnu/java/security/x509/X509CRLEntry.h75
-rw-r--r--libjava/gnu/java/security/x509/X509CRLSelectorImpl.h57
-rw-r--r--libjava/gnu/java/security/x509/X509CertPath.h57
-rw-r--r--libjava/gnu/java/security/x509/X509CertSelectorImpl.h62
-rw-r--r--libjava/gnu/java/security/x509/X509Certificate.h141
-rw-r--r--libjava/gnu/java/security/x509/ext/AuthorityKeyIdentifier.h59
-rw-r--r--libjava/gnu/java/security/x509/ext/BasicConstraints.h51
-rw-r--r--libjava/gnu/java/security/x509/ext/CRLNumber.h56
-rw-r--r--libjava/gnu/java/security/x509/ext/CertificatePolicies.h52
-rw-r--r--libjava/gnu/java/security/x509/ext/ExtendedKeyUsage.h47
-rw-r--r--libjava/gnu/java/security/x509/ext/Extension$Value.h50
-rw-r--r--libjava/gnu/java/security/x509/ext/Extension.h64
-rw-r--r--libjava/gnu/java/security/x509/ext/GeneralName$Kind.h57
-rw-r--r--libjava/gnu/java/security/x509/ext/GeneralName.h55
-rw-r--r--libjava/gnu/java/security/x509/ext/GeneralNames.h45
-rw-r--r--libjava/gnu/java/security/x509/ext/GeneralSubtree.h50
-rw-r--r--libjava/gnu/java/security/x509/ext/IssuerAlternativeNames.h48
-rw-r--r--libjava/gnu/java/security/x509/ext/KeyUsage.h60
-rw-r--r--libjava/gnu/java/security/x509/ext/NameConstraints.h49
-rw-r--r--libjava/gnu/java/security/x509/ext/PolicyConstraint.h49
-rw-r--r--libjava/gnu/java/security/x509/ext/PolicyMappings.h47
-rw-r--r--libjava/gnu/java/security/x509/ext/PrivateKeyUsagePeriod.h49
-rw-r--r--libjava/gnu/java/security/x509/ext/ReasonCode.h45
-rw-r--r--libjava/gnu/java/security/x509/ext/SubjectAlternativeNames.h48
-rw-r--r--libjava/gnu/java/security/x509/ext/SubjectKeyIdentifier.h47
30 files changed, 1800 insertions, 0 deletions
diff --git a/libjava/gnu/java/security/x509/GnuPKIExtension.h b/libjava/gnu/java/security/x509/GnuPKIExtension.h
new file mode 100644
index 000000000..d91dc7b03
--- /dev/null
+++ b/libjava/gnu/java/security/x509/GnuPKIExtension.h
@@ -0,0 +1,47 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_security_x509_GnuPKIExtension__
+#define __gnu_java_security_x509_GnuPKIExtension__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace security
+ {
+ class OID;
+ namespace x509
+ {
+ class GnuPKIExtension;
+ namespace ext
+ {
+ class Extension;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::security::x509::GnuPKIExtension : public ::java::lang::Object
+{
+
+public:
+ virtual ::gnu::java::security::x509::ext::Extension * getExtension(::gnu::java::security::OID *) = 0;
+ virtual ::java::util::Collection * getExtensions() = 0;
+ virtual jboolean hasUnsupportedCriticalExtension() = 0;
+ virtual ::java::util::Set * getCriticalExtensionOIDs() = 0;
+ virtual ::java::util::Set * getNonCriticalExtensionOIDs() = 0;
+ virtual JArray< jbyte > * getExtensionValue(::java::lang::String *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __gnu_java_security_x509_GnuPKIExtension__
diff --git a/libjava/gnu/java/security/x509/PolicyNodeImpl.h b/libjava/gnu/java/security/x509/PolicyNodeImpl.h
new file mode 100644
index 000000000..1786e4b2a
--- /dev/null
+++ b/libjava/gnu/java/security/x509/PolicyNodeImpl.h
@@ -0,0 +1,73 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_security_x509_PolicyNodeImpl__
+#define __gnu_java_security_x509_PolicyNodeImpl__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace security
+ {
+ namespace x509
+ {
+ class PolicyNodeImpl;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace security
+ {
+ namespace cert
+ {
+ class PolicyNode;
+ class PolicyQualifierInfo;
+ }
+ }
+ }
+}
+
+class gnu::java::security::x509::PolicyNodeImpl : public ::java::lang::Object
+{
+
+public:
+ PolicyNodeImpl();
+ void addChild(::gnu::java::security::x509::PolicyNodeImpl *);
+ ::java::util::Iterator * getChildren();
+ jint getDepth();
+ void setDepth(jint);
+ void addAllExpectedPolicies(::java::util::Set *);
+ void addExpectedPolicy(::java::lang::String *);
+ ::java::util::Set * getExpectedPolicies();
+ ::java::security::cert::PolicyNode * getParent();
+ void addAllPolicyQualifiers(::java::util::Collection *);
+ void addPolicyQualifier(::java::security::cert::PolicyQualifierInfo *);
+ ::java::util::Set * getPolicyQualifiers();
+ ::java::lang::String * getValidPolicy();
+ void setValidPolicy(::java::lang::String *);
+ jboolean isCritical();
+ void setCritical(jboolean);
+ void setReadOnly();
+ ::java::lang::String * toString();
+private:
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) policy;
+ ::java::util::Set * expectedPolicies;
+ ::java::util::Set * qualifiers;
+ ::java::util::Set * children;
+ ::gnu::java::security::x509::PolicyNodeImpl * parent;
+ jint depth;
+ jboolean critical;
+ jboolean readOnly;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_security_x509_PolicyNodeImpl__
diff --git a/libjava/gnu/java/security/x509/Util.h b/libjava/gnu/java/security/x509/Util.h
new file mode 100644
index 000000000..4a6d4c2f2
--- /dev/null
+++ b/libjava/gnu/java/security/x509/Util.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_security_x509_Util__
+#define __gnu_java_security_x509_Util__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace security
+ {
+ namespace x509
+ {
+ class Util;
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::security::x509::Util : public ::java::lang::Object
+{
+
+public:
+ Util();
+ static ::java::lang::String * toHexString(JArray< jbyte > *, jint, jint);
+ static ::java::lang::String * toHexString(JArray< jbyte > *);
+ static ::java::lang::String * toHexString(JArray< jbyte > *, jint, jint, jchar);
+ static ::java::lang::String * toHexString(JArray< jbyte > *, jchar);
+ static ::java::lang::String * hexDump(JArray< jbyte > *, jint, jint, ::java::lang::String *);
+ static ::java::lang::String * hexDump(JArray< jbyte > *, ::java::lang::String *);
+ static ::java::lang::String * formatInt(jint, jint, jint);
+ static JArray< jbyte > * toByteArray(::java::lang::String *);
+ static ::java::lang::String * HEX;
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_security_x509_Util__
diff --git a/libjava/gnu/java/security/x509/X500DistinguishedName.h b/libjava/gnu/java/security/x509/X500DistinguishedName.h
new file mode 100644
index 000000000..c2e949662
--- /dev/null
+++ b/libjava/gnu/java/security/x509/X500DistinguishedName.h
@@ -0,0 +1,90 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_security_x509_X500DistinguishedName__
+#define __gnu_java_security_x509_X500DistinguishedName__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace security
+ {
+ class OID;
+ namespace der
+ {
+ class DERReader;
+ }
+ namespace x509
+ {
+ class X500DistinguishedName;
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::security::x509::X500DistinguishedName : public ::java::lang::Object
+{
+
+public:
+ X500DistinguishedName();
+ X500DistinguishedName(::java::lang::String *);
+ X500DistinguishedName(JArray< jbyte > *);
+ X500DistinguishedName(::java::io::InputStream *);
+ virtual ::java::lang::String * getName();
+ virtual void newRelativeDistinguishedName();
+ virtual jint size();
+ virtual jint countComponents();
+ virtual jboolean containsComponent(::gnu::java::security::OID *, ::java::lang::String *);
+ virtual ::java::lang::String * getComponent(::gnu::java::security::OID *);
+ virtual ::java::lang::String * getComponent(::gnu::java::security::OID *, jint);
+ virtual void putComponent(::gnu::java::security::OID *, ::java::lang::String *);
+ virtual void putComponent(::java::lang::String *, ::java::lang::String *);
+ virtual void setUnmodifiable();
+ virtual jint hashCode();
+ virtual jboolean equals(::java::lang::Object *);
+ virtual ::java::lang::String * toString();
+ virtual JArray< jbyte > * getDer();
+private:
+ void parseString(::java::lang::String *);
+ ::java::lang::String * readAttributeType(::java::io::Reader *);
+ ::java::lang::String * readAttributeValue(::java::io::Reader *);
+ void parseDer(::gnu::java::security::der::DERReader *);
+ static ::java::lang::String * compressWS(::java::lang::String *);
+public:
+ static ::gnu::java::security::OID * CN;
+ static ::gnu::java::security::OID * C;
+ static ::gnu::java::security::OID * L;
+ static ::gnu::java::security::OID * ST;
+ static ::gnu::java::security::OID * STREET;
+ static ::gnu::java::security::OID * O;
+ static ::gnu::java::security::OID * OU;
+ static ::gnu::java::security::OID * T;
+ static ::gnu::java::security::OID * DNQ;
+ static ::gnu::java::security::OID * NAME;
+ static ::gnu::java::security::OID * GIVENNAME;
+ static ::gnu::java::security::OID * INITIALS;
+ static ::gnu::java::security::OID * GENERATION;
+ static ::gnu::java::security::OID * EMAIL;
+ static ::gnu::java::security::OID * DC;
+ static ::gnu::java::security::OID * UID;
+private:
+ ::java::util::List * __attribute__((aligned(__alignof__( ::java::lang::Object)))) components;
+ ::java::util::Map * currentRdn;
+ jboolean fixed;
+ ::java::lang::String * stringRep;
+ JArray< jbyte > * encoded;
+ jint sep;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_security_x509_X500DistinguishedName__
diff --git a/libjava/gnu/java/security/x509/X509CRL.h b/libjava/gnu/java/security/x509/X509CRL.h
new file mode 100644
index 000000000..76d5e1e31
--- /dev/null
+++ b/libjava/gnu/java/security/x509/X509CRL.h
@@ -0,0 +1,124 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_security_x509_X509CRL__
+#define __gnu_java_security_x509_X509CRL__
+
+#pragma interface
+
+#include <java/security/cert/X509CRL.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace security
+ {
+ class OID;
+ namespace x509
+ {
+ class X500DistinguishedName;
+ class X509CRL;
+ namespace ext
+ {
+ class Extension;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ namespace security
+ {
+ class Principal;
+ class PublicKey;
+ class Signature;
+ namespace cert
+ {
+ class Certificate;
+ class X509CRLEntry;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace security
+ {
+ namespace auth
+ {
+ namespace x500
+ {
+ class X500Principal;
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::security::x509::X509CRL : public ::java::security::cert::X509CRL
+{
+
+public:
+ X509CRL(::java::io::InputStream *);
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jint hashCode();
+ virtual JArray< jbyte > * getEncoded();
+ virtual void verify(::java::security::PublicKey *);
+ virtual void verify(::java::security::PublicKey *, ::java::lang::String *);
+ virtual jint getVersion();
+ virtual ::java::security::Principal * getIssuerDN();
+ virtual ::javax::security::auth::x500::X500Principal * getIssuerX500Principal();
+ virtual ::java::util::Date * getThisUpdate();
+ virtual ::java::util::Date * getNextUpdate();
+ virtual ::java::security::cert::X509CRLEntry * getRevokedCertificate(::java::math::BigInteger *);
+ virtual ::java::util::Set * getRevokedCertificates();
+ virtual JArray< jbyte > * getTBSCertList();
+ virtual JArray< jbyte > * getSignature();
+ virtual ::java::lang::String * getSigAlgName();
+ virtual ::java::lang::String * getSigAlgOID();
+ virtual JArray< jbyte > * getSigAlgParams();
+ 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 ::java::lang::String * toString();
+ virtual jboolean isRevoked(::java::security::cert::Certificate *);
+private:
+ void doVerify(::java::security::Signature *, ::java::security::PublicKey *);
+ void parse(::java::io::InputStream *);
+ static ::java::util::logging::Logger * log;
+ 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;
+ JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::security::cert::X509CRL)))) encoded;
+ JArray< jbyte > * tbsCRLBytes;
+ jint version;
+ ::gnu::java::security::OID * algId;
+ JArray< jbyte > * algParams;
+ ::java::util::Date * thisUpdate;
+ ::java::util::Date * nextUpdate;
+ ::gnu::java::security::x509::X500DistinguishedName * issuerDN;
+ ::java::util::HashMap * revokedCerts;
+ ::java::util::HashMap * extensions;
+ ::gnu::java::security::OID * sigAlg;
+ JArray< jbyte > * sigAlgParams;
+ JArray< jbyte > * rawSig;
+ JArray< jbyte > * signature;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_security_x509_X509CRL__
diff --git a/libjava/gnu/java/security/x509/X509CRLEntry.h b/libjava/gnu/java/security/x509/X509CRLEntry.h
new file mode 100644
index 000000000..7b272f75e
--- /dev/null
+++ b/libjava/gnu/java/security/x509/X509CRLEntry.h
@@ -0,0 +1,75 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_security_x509_X509CRLEntry__
+#define __gnu_java_security_x509_X509CRLEntry__
+
+#pragma interface
+
+#include <java/security/cert/X509CRLEntry.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace security
+ {
+ class OID;
+ namespace der
+ {
+ class DERReader;
+ }
+ namespace x509
+ {
+ class X509CRLEntry;
+ namespace ext
+ {
+ class Extension;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ }
+}
+
+class gnu::java::security::x509::X509CRLEntry : public ::java::security::cert::X509CRLEntry
+{
+
+public: // actually package-private
+ X509CRLEntry(jint, ::gnu::java::security::der::DERReader *);
+public:
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jint hashCode();
+ virtual JArray< jbyte > * getEncoded();
+ virtual ::java::math::BigInteger * getSerialNumber();
+ virtual ::java::util::Date * getRevocationDate();
+ virtual jboolean hasExtensions();
+ virtual ::java::lang::String * toString();
+ 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();
+private:
+ void parse(jint, ::gnu::java::security::der::DERReader *);
+ static ::java::util::logging::Logger * log;
+ JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::security::cert::X509CRLEntry)))) encoded;
+ ::java::math::BigInteger * serialNo;
+ ::java::util::Date * revocationDate;
+ ::java::util::HashMap * extensions;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_security_x509_X509CRLEntry__
diff --git a/libjava/gnu/java/security/x509/X509CRLSelectorImpl.h b/libjava/gnu/java/security/x509/X509CRLSelectorImpl.h
new file mode 100644
index 000000000..2fc953759
--- /dev/null
+++ b/libjava/gnu/java/security/x509/X509CRLSelectorImpl.h
@@ -0,0 +1,57 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_security_x509_X509CRLSelectorImpl__
+#define __gnu_java_security_x509_X509CRLSelectorImpl__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace security
+ {
+ namespace x509
+ {
+ class X509CRLSelectorImpl;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace security
+ {
+ class Principal;
+ namespace cert
+ {
+ class CRL;
+ }
+ }
+ }
+}
+
+class gnu::java::security::x509::X509CRLSelectorImpl : public ::java::lang::Object
+{
+
+public:
+ X509CRLSelectorImpl();
+ virtual void addIssuerName(JArray< jbyte > *);
+ virtual void addIssuerName(::java::lang::String *);
+ virtual void addIssuerName(::java::security::Principal *);
+ virtual ::java::util::Collection * getIssuerNames();
+ virtual ::java::lang::Object * clone();
+ virtual jboolean match(::java::security::cert::CRL *);
+private:
+ ::java::util::Set * __attribute__((aligned(__alignof__( ::java::lang::Object)))) issuerNames;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_security_x509_X509CRLSelectorImpl__
diff --git a/libjava/gnu/java/security/x509/X509CertPath.h b/libjava/gnu/java/security/x509/X509CertPath.h
new file mode 100644
index 000000000..5aaadc6dc
--- /dev/null
+++ b/libjava/gnu/java/security/x509/X509CertPath.h
@@ -0,0 +1,57 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_security_x509_X509CertPath__
+#define __gnu_java_security_x509_X509CertPath__
+
+#pragma interface
+
+#include <java/security/cert/CertPath.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace security
+ {
+ class OID;
+ namespace x509
+ {
+ class X509CertPath;
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::security::x509::X509CertPath : public ::java::security::cert::CertPath
+{
+
+public:
+ X509CertPath(::java::util::List *);
+ X509CertPath(::java::io::InputStream *);
+ X509CertPath(::java::io::InputStream *, ::java::lang::String *);
+ virtual ::java::util::List * getCertificates();
+ virtual JArray< jbyte > * getEncoded();
+ virtual JArray< jbyte > * getEncoded(::java::lang::String *);
+ virtual ::java::util::Iterator * getEncodings();
+private:
+ void parse(::java::io::InputStream *, ::java::lang::String *);
+ JArray< jbyte > * encodePki();
+ JArray< jbyte > * encodePKCS();
+public:
+ static ::java::util::List * ENCODINGS;
+private:
+ static ::gnu::java::security::OID * PKCS7_SIGNED_DATA;
+ static ::gnu::java::security::OID * PKCS7_DATA;
+ ::java::util::List * __attribute__((aligned(__alignof__( ::java::security::cert::CertPath)))) path;
+ JArray< jbyte > * pkcs_encoded;
+ JArray< jbyte > * pki_encoded;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_security_x509_X509CertPath__
diff --git a/libjava/gnu/java/security/x509/X509CertSelectorImpl.h b/libjava/gnu/java/security/x509/X509CertSelectorImpl.h
new file mode 100644
index 000000000..12a12af5a
--- /dev/null
+++ b/libjava/gnu/java/security/x509/X509CertSelectorImpl.h
@@ -0,0 +1,62 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_security_x509_X509CertSelectorImpl__
+#define __gnu_java_security_x509_X509CertSelectorImpl__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace security
+ {
+ namespace x509
+ {
+ class X509CertSelectorImpl;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace security
+ {
+ class Principal;
+ namespace cert
+ {
+ class Certificate;
+ }
+ }
+ }
+}
+
+class gnu::java::security::x509::X509CertSelectorImpl : public ::java::lang::Object
+{
+
+public:
+ X509CertSelectorImpl();
+ virtual void addIssuerName(JArray< jbyte > *);
+ virtual void addIssuerName(::java::lang::String *);
+ virtual void addIssuerName(::java::security::Principal *);
+ virtual ::java::util::Collection * getIssuerNames();
+ virtual void addSubjectName(JArray< jbyte > *);
+ virtual void addSubjectName(::java::lang::String *);
+ virtual void addSubjectName(::java::security::Principal *);
+ virtual ::java::util::Collection * getSubjectNames();
+ virtual ::java::lang::Object * clone();
+ virtual jboolean match(::java::security::cert::Certificate *);
+private:
+ ::java::util::Set * __attribute__((aligned(__alignof__( ::java::lang::Object)))) issuerNames;
+ ::java::util::Set * subjectNames;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_security_x509_X509CertSelectorImpl__
diff --git a/libjava/gnu/java/security/x509/X509Certificate.h b/libjava/gnu/java/security/x509/X509Certificate.h
new file mode 100644
index 000000000..68e944360
--- /dev/null
+++ b/libjava/gnu/java/security/x509/X509Certificate.h
@@ -0,0 +1,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__
diff --git a/libjava/gnu/java/security/x509/ext/AuthorityKeyIdentifier.h b/libjava/gnu/java/security/x509/ext/AuthorityKeyIdentifier.h
new file mode 100644
index 000000000..71b6f6021
--- /dev/null
+++ b/libjava/gnu/java/security/x509/ext/AuthorityKeyIdentifier.h
@@ -0,0 +1,59 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_security_x509_ext_AuthorityKeyIdentifier__
+#define __gnu_java_security_x509_ext_AuthorityKeyIdentifier__
+
+#pragma interface
+
+#include <gnu/java/security/x509/ext/Extension$Value.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace security
+ {
+ class OID;
+ namespace x509
+ {
+ namespace ext
+ {
+ class AuthorityKeyIdentifier;
+ class GeneralNames;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ }
+}
+
+class gnu::java::security::x509::ext::AuthorityKeyIdentifier : public ::gnu::java::security::x509::ext::Extension$Value
+{
+
+public:
+ AuthorityKeyIdentifier(JArray< jbyte > *);
+ virtual JArray< jbyte > * getKeyIdentifier();
+ virtual ::gnu::java::security::x509::ext::GeneralNames * getAuthorityCertIssuer();
+ virtual ::java::math::BigInteger * getAuthorityCertSerialNumber();
+ virtual ::java::lang::String * toString();
+ static ::gnu::java::security::OID * ID;
+private:
+ JArray< jbyte > * __attribute__((aligned(__alignof__( ::gnu::java::security::x509::ext::Extension$Value)))) keyIdentifier;
+ ::gnu::java::security::x509::ext::GeneralNames * authorityCertIssuer;
+ ::java::math::BigInteger * authorityCertSerialNumber;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_security_x509_ext_AuthorityKeyIdentifier__
diff --git a/libjava/gnu/java/security/x509/ext/BasicConstraints.h b/libjava/gnu/java/security/x509/ext/BasicConstraints.h
new file mode 100644
index 000000000..96fffb512
--- /dev/null
+++ b/libjava/gnu/java/security/x509/ext/BasicConstraints.h
@@ -0,0 +1,51 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_security_x509_ext_BasicConstraints__
+#define __gnu_java_security_x509_ext_BasicConstraints__
+
+#pragma interface
+
+#include <gnu/java/security/x509/ext/Extension$Value.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace security
+ {
+ class OID;
+ namespace x509
+ {
+ namespace ext
+ {
+ class BasicConstraints;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::security::x509::ext::BasicConstraints : public ::gnu::java::security::x509::ext::Extension$Value
+{
+
+public:
+ BasicConstraints(JArray< jbyte > *);
+ BasicConstraints(jboolean, jint);
+ virtual jboolean isCA();
+ virtual jint getPathLengthConstraint();
+ virtual JArray< jbyte > * getEncoded();
+ virtual ::java::lang::String * toString();
+ static ::gnu::java::security::OID * ID;
+private:
+ jboolean __attribute__((aligned(__alignof__( ::gnu::java::security::x509::ext::Extension$Value)))) ca;
+ jint pathLenConstraint;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_security_x509_ext_BasicConstraints__
diff --git a/libjava/gnu/java/security/x509/ext/CRLNumber.h b/libjava/gnu/java/security/x509/ext/CRLNumber.h
new file mode 100644
index 000000000..ef56baae8
--- /dev/null
+++ b/libjava/gnu/java/security/x509/ext/CRLNumber.h
@@ -0,0 +1,56 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_security_x509_ext_CRLNumber__
+#define __gnu_java_security_x509_ext_CRLNumber__
+
+#pragma interface
+
+#include <gnu/java/security/x509/ext/Extension$Value.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace security
+ {
+ class OID;
+ namespace x509
+ {
+ namespace ext
+ {
+ class CRLNumber;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ }
+}
+
+class gnu::java::security::x509::ext::CRLNumber : public ::gnu::java::security::x509::ext::Extension$Value
+{
+
+public:
+ CRLNumber(JArray< jbyte > *);
+ CRLNumber(::java::math::BigInteger *);
+ virtual ::java::math::BigInteger * getNumber();
+ virtual JArray< jbyte > * getEncoded();
+ virtual ::java::lang::String * toString();
+ static ::gnu::java::security::OID * ID;
+private:
+ ::java::math::BigInteger * __attribute__((aligned(__alignof__( ::gnu::java::security::x509::ext::Extension$Value)))) number;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_security_x509_ext_CRLNumber__
diff --git a/libjava/gnu/java/security/x509/ext/CertificatePolicies.h b/libjava/gnu/java/security/x509/ext/CertificatePolicies.h
new file mode 100644
index 000000000..5de618446
--- /dev/null
+++ b/libjava/gnu/java/security/x509/ext/CertificatePolicies.h
@@ -0,0 +1,52 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_security_x509_ext_CertificatePolicies__
+#define __gnu_java_security_x509_ext_CertificatePolicies__
+
+#pragma interface
+
+#include <gnu/java/security/x509/ext/Extension$Value.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace security
+ {
+ class OID;
+ namespace x509
+ {
+ namespace ext
+ {
+ class CertificatePolicies;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::security::x509::ext::CertificatePolicies : public ::gnu::java::security::x509::ext::Extension$Value
+{
+
+public:
+ CertificatePolicies(JArray< jbyte > *);
+ CertificatePolicies(::java::util::List *, ::java::util::Map *);
+ virtual ::java::util::List * getPolicies();
+ virtual ::java::util::List * getPolicyStrings();
+ virtual ::java::util::List * getPolicyQualifierInfos(::gnu::java::security::OID *);
+ virtual JArray< jbyte > * getEncoded();
+ virtual ::java::lang::String * toString();
+ static ::gnu::java::security::OID * ID;
+private:
+ ::java::util::List * __attribute__((aligned(__alignof__( ::gnu::java::security::x509::ext::Extension$Value)))) policies;
+ ::java::util::Map * policyQualifierInfos;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_security_x509_ext_CertificatePolicies__
diff --git a/libjava/gnu/java/security/x509/ext/ExtendedKeyUsage.h b/libjava/gnu/java/security/x509/ext/ExtendedKeyUsage.h
new file mode 100644
index 000000000..61f5f1d05
--- /dev/null
+++ b/libjava/gnu/java/security/x509/ext/ExtendedKeyUsage.h
@@ -0,0 +1,47 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_security_x509_ext_ExtendedKeyUsage__
+#define __gnu_java_security_x509_ext_ExtendedKeyUsage__
+
+#pragma interface
+
+#include <gnu/java/security/x509/ext/Extension$Value.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace security
+ {
+ class OID;
+ namespace x509
+ {
+ namespace ext
+ {
+ class ExtendedKeyUsage;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::security::x509::ext::ExtendedKeyUsage : public ::gnu::java::security::x509::ext::Extension$Value
+{
+
+public:
+ ExtendedKeyUsage(JArray< jbyte > *);
+ virtual ::java::util::List * getPurposeIds();
+ virtual ::java::lang::String * toString();
+ static ::gnu::java::security::OID * ID;
+private:
+ ::java::util::List * __attribute__((aligned(__alignof__( ::gnu::java::security::x509::ext::Extension$Value)))) purposeIds;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_security_x509_ext_ExtendedKeyUsage__
diff --git a/libjava/gnu/java/security/x509/ext/Extension$Value.h b/libjava/gnu/java/security/x509/ext/Extension$Value.h
new file mode 100644
index 000000000..04f069ea5
--- /dev/null
+++ b/libjava/gnu/java/security/x509/ext/Extension$Value.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_security_x509_ext_Extension$Value__
+#define __gnu_java_security_x509_ext_Extension$Value__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace security
+ {
+ namespace x509
+ {
+ namespace ext
+ {
+ class Extension$Value;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::security::x509::ext::Extension$Value : public ::java::lang::Object
+{
+
+public:
+ Extension$Value(JArray< jbyte > *);
+public: // actually protected
+ Extension$Value();
+public:
+ virtual JArray< jbyte > * getEncoded();
+ virtual jint hashCode();
+ virtual jboolean equals(::java::lang::Object *);
+ virtual ::java::lang::String * toString();
+public: // actually protected
+ JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) encoded;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_security_x509_ext_Extension$Value__
diff --git a/libjava/gnu/java/security/x509/ext/Extension.h b/libjava/gnu/java/security/x509/ext/Extension.h
new file mode 100644
index 000000000..0e660f918
--- /dev/null
+++ b/libjava/gnu/java/security/x509/ext/Extension.h
@@ -0,0 +1,64 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_security_x509_ext_Extension__
+#define __gnu_java_security_x509_ext_Extension__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace security
+ {
+ class OID;
+ namespace der
+ {
+ class DERValue;
+ }
+ namespace x509
+ {
+ namespace ext
+ {
+ class Extension;
+ class Extension$Value;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::security::x509::ext::Extension : public ::java::lang::Object
+{
+
+public:
+ Extension(JArray< jbyte > *);
+ Extension(::gnu::java::security::OID *, ::gnu::java::security::x509::ext::Extension$Value *, jboolean);
+ virtual ::gnu::java::security::OID * getOid();
+ virtual jboolean isCritical();
+ virtual jboolean isSupported();
+ virtual ::gnu::java::security::x509::ext::Extension$Value * getValue();
+ virtual JArray< jbyte > * getEncoded();
+ virtual ::java::lang::String * toString();
+ virtual ::gnu::java::security::der::DERValue * getDerValue();
+private:
+ void encode();
+ static ::java::util::logging::Logger * log;
+public: // actually protected
+ ::gnu::java::security::OID * __attribute__((aligned(__alignof__( ::java::lang::Object)))) oid;
+ jboolean critical;
+ jboolean isSupported__;
+ ::gnu::java::security::x509::ext::Extension$Value * value;
+ JArray< jbyte > * encoded;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_security_x509_ext_Extension__
diff --git a/libjava/gnu/java/security/x509/ext/GeneralName$Kind.h b/libjava/gnu/java/security/x509/ext/GeneralName$Kind.h
new file mode 100644
index 000000000..db98200eb
--- /dev/null
+++ b/libjava/gnu/java/security/x509/ext/GeneralName$Kind.h
@@ -0,0 +1,57 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_security_x509_ext_GeneralName$Kind__
+#define __gnu_java_security_x509_ext_GeneralName$Kind__
+
+#pragma interface
+
+#include <java/lang/Enum.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace security
+ {
+ namespace x509
+ {
+ namespace ext
+ {
+ class GeneralName$Kind;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::security::x509::ext::GeneralName$Kind : public ::java::lang::Enum
+{
+
+ GeneralName$Kind(::java::lang::String *, jint, jint);
+public:
+ static ::gnu::java::security::x509::ext::GeneralName$Kind * forTag(jint);
+ jint tag();
+ static JArray< ::gnu::java::security::x509::ext::GeneralName$Kind * > * values();
+ static ::gnu::java::security::x509::ext::GeneralName$Kind * valueOf(::java::lang::String *);
+ static ::gnu::java::security::x509::ext::GeneralName$Kind * otherName;
+ static ::gnu::java::security::x509::ext::GeneralName$Kind * rfc822Name;
+ static ::gnu::java::security::x509::ext::GeneralName$Kind * dNSName;
+ static ::gnu::java::security::x509::ext::GeneralName$Kind * x400Address;
+ static ::gnu::java::security::x509::ext::GeneralName$Kind * directoryName;
+ static ::gnu::java::security::x509::ext::GeneralName$Kind * ediPartyName;
+ static ::gnu::java::security::x509::ext::GeneralName$Kind * uniformResourceIdentifier;
+ static ::gnu::java::security::x509::ext::GeneralName$Kind * iPAddress;
+ static ::gnu::java::security::x509::ext::GeneralName$Kind * registeredId;
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Enum)))) tag__;
+ static JArray< ::gnu::java::security::x509::ext::GeneralName$Kind * > * ENUM$VALUES;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_security_x509_ext_GeneralName$Kind__
diff --git a/libjava/gnu/java/security/x509/ext/GeneralName.h b/libjava/gnu/java/security/x509/ext/GeneralName.h
new file mode 100644
index 000000000..018bd3637
--- /dev/null
+++ b/libjava/gnu/java/security/x509/ext/GeneralName.h
@@ -0,0 +1,55 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_security_x509_ext_GeneralName__
+#define __gnu_java_security_x509_ext_GeneralName__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace security
+ {
+ namespace x509
+ {
+ namespace ext
+ {
+ class GeneralName;
+ class GeneralName$Kind;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::security::x509::ext::GeneralName : public ::java::lang::Object
+{
+
+public:
+ GeneralName(JArray< jbyte > *);
+ GeneralName(::gnu::java::security::x509::ext::GeneralName$Kind *, JArray< jbyte > *);
+ virtual ::gnu::java::security::x509::ext::GeneralName$Kind * kind();
+ virtual JArray< jbyte > * name();
+ virtual JArray< jbyte > * encoded();
+ virtual jboolean equals(::java::lang::Object *);
+ virtual ::java::lang::String * toString();
+public: // actually package-private
+ static JArray< jint > * $SWITCH_TABLE$gnu$java$security$x509$ext$GeneralName$Kind();
+private:
+ ::gnu::java::security::x509::ext::GeneralName$Kind * __attribute__((aligned(__alignof__( ::java::lang::Object)))) kind__;
+ JArray< jbyte > * name__;
+ JArray< jbyte > * encoded__;
+ static JArray< jint > * $SWITCH_TABLE$gnu$java$security$x509$ext$GeneralName$Kind__;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_security_x509_ext_GeneralName__
diff --git a/libjava/gnu/java/security/x509/ext/GeneralNames.h b/libjava/gnu/java/security/x509/ext/GeneralNames.h
new file mode 100644
index 000000000..e55113b14
--- /dev/null
+++ b/libjava/gnu/java/security/x509/ext/GeneralNames.h
@@ -0,0 +1,45 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_security_x509_ext_GeneralNames__
+#define __gnu_java_security_x509_ext_GeneralNames__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace security
+ {
+ namespace x509
+ {
+ namespace ext
+ {
+ class GeneralNames;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::security::x509::ext::GeneralNames : public ::java::lang::Object
+{
+
+public:
+ GeneralNames(JArray< jbyte > *);
+ virtual ::java::util::List * getNames();
+ virtual ::java::lang::String * toString();
+private:
+ ::java::util::List * __attribute__((aligned(__alignof__( ::java::lang::Object)))) names;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_security_x509_ext_GeneralNames__
diff --git a/libjava/gnu/java/security/x509/ext/GeneralSubtree.h b/libjava/gnu/java/security/x509/ext/GeneralSubtree.h
new file mode 100644
index 000000000..dae50e212
--- /dev/null
+++ b/libjava/gnu/java/security/x509/ext/GeneralSubtree.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_security_x509_ext_GeneralSubtree__
+#define __gnu_java_security_x509_ext_GeneralSubtree__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace security
+ {
+ namespace x509
+ {
+ namespace ext
+ {
+ class GeneralName;
+ class GeneralSubtree;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::security::x509::ext::GeneralSubtree : public ::java::lang::Object
+{
+
+public:
+ GeneralSubtree(JArray< jbyte > *);
+ virtual ::gnu::java::security::x509::ext::GeneralName * base();
+ virtual jint minimum();
+ virtual jint maximum();
+ virtual ::java::lang::String * toString();
+private:
+ ::gnu::java::security::x509::ext::GeneralName * __attribute__((aligned(__alignof__( ::java::lang::Object)))) base__;
+ jint minimum__;
+ jint maximum__;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_security_x509_ext_GeneralSubtree__
diff --git a/libjava/gnu/java/security/x509/ext/IssuerAlternativeNames.h b/libjava/gnu/java/security/x509/ext/IssuerAlternativeNames.h
new file mode 100644
index 000000000..50b3f35a6
--- /dev/null
+++ b/libjava/gnu/java/security/x509/ext/IssuerAlternativeNames.h
@@ -0,0 +1,48 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_security_x509_ext_IssuerAlternativeNames__
+#define __gnu_java_security_x509_ext_IssuerAlternativeNames__
+
+#pragma interface
+
+#include <gnu/java/security/x509/ext/Extension$Value.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace security
+ {
+ class OID;
+ namespace x509
+ {
+ namespace ext
+ {
+ class GeneralNames;
+ class IssuerAlternativeNames;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::security::x509::ext::IssuerAlternativeNames : public ::gnu::java::security::x509::ext::Extension$Value
+{
+
+public:
+ IssuerAlternativeNames(JArray< jbyte > *);
+ virtual ::java::util::List * getNames();
+ virtual ::java::lang::String * toString();
+ static ::gnu::java::security::OID * ID;
+private:
+ ::gnu::java::security::x509::ext::GeneralNames * __attribute__((aligned(__alignof__( ::gnu::java::security::x509::ext::Extension$Value)))) names;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_security_x509_ext_IssuerAlternativeNames__
diff --git a/libjava/gnu/java/security/x509/ext/KeyUsage.h b/libjava/gnu/java/security/x509/ext/KeyUsage.h
new file mode 100644
index 000000000..4293755ad
--- /dev/null
+++ b/libjava/gnu/java/security/x509/ext/KeyUsage.h
@@ -0,0 +1,60 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_security_x509_ext_KeyUsage__
+#define __gnu_java_security_x509_ext_KeyUsage__
+
+#pragma interface
+
+#include <gnu/java/security/x509/ext/Extension$Value.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace security
+ {
+ class OID;
+ namespace der
+ {
+ class BitString;
+ }
+ namespace x509
+ {
+ namespace ext
+ {
+ class KeyUsage;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::security::x509::ext::KeyUsage : public ::gnu::java::security::x509::ext::Extension$Value
+{
+
+public:
+ KeyUsage(JArray< jbyte > *);
+ virtual ::gnu::java::security::der::BitString * getKeyUsage();
+ virtual ::java::lang::String * toString();
+ static ::gnu::java::security::OID * ID;
+ static const jint DIGITAL_SIGNATURE = 0;
+ static const jint NON_REPUDIATION = 1;
+ static const jint KEY_ENCIPHERMENT = 2;
+ static const jint DATA_ENCIPHERMENT = 3;
+ static const jint KEY_AGREEMENT = 4;
+ static const jint KEY_CERT_SIGN = 5;
+ static const jint CRL_SIGN = 6;
+ static const jint ENCIPHER_ONLY = 7;
+ static const jint DECIPHER_ONLY = 8;
+private:
+ ::gnu::java::security::der::BitString * __attribute__((aligned(__alignof__( ::gnu::java::security::x509::ext::Extension$Value)))) keyUsage;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_security_x509_ext_KeyUsage__
diff --git a/libjava/gnu/java/security/x509/ext/NameConstraints.h b/libjava/gnu/java/security/x509/ext/NameConstraints.h
new file mode 100644
index 000000000..f7bc77880
--- /dev/null
+++ b/libjava/gnu/java/security/x509/ext/NameConstraints.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_security_x509_ext_NameConstraints__
+#define __gnu_java_security_x509_ext_NameConstraints__
+
+#pragma interface
+
+#include <gnu/java/security/x509/ext/Extension$Value.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace security
+ {
+ class OID;
+ namespace x509
+ {
+ namespace ext
+ {
+ class NameConstraints;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::security::x509::ext::NameConstraints : public ::gnu::java::security::x509::ext::Extension$Value
+{
+
+public:
+ NameConstraints(JArray< jbyte > *);
+ virtual ::java::util::List * permittedSubtrees();
+ virtual ::java::util::List * excludedSubtrees();
+ virtual ::java::lang::String * toString();
+ static ::gnu::java::security::OID * ID;
+private:
+ ::java::util::List * __attribute__((aligned(__alignof__( ::gnu::java::security::x509::ext::Extension$Value)))) permittedSubtrees__;
+ ::java::util::List * excludedSubtrees__;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_security_x509_ext_NameConstraints__
diff --git a/libjava/gnu/java/security/x509/ext/PolicyConstraint.h b/libjava/gnu/java/security/x509/ext/PolicyConstraint.h
new file mode 100644
index 000000000..1846d461f
--- /dev/null
+++ b/libjava/gnu/java/security/x509/ext/PolicyConstraint.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_security_x509_ext_PolicyConstraint__
+#define __gnu_java_security_x509_ext_PolicyConstraint__
+
+#pragma interface
+
+#include <gnu/java/security/x509/ext/Extension$Value.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace security
+ {
+ class OID;
+ namespace x509
+ {
+ namespace ext
+ {
+ class PolicyConstraint;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::security::x509::ext::PolicyConstraint : public ::gnu::java::security::x509::ext::Extension$Value
+{
+
+public:
+ PolicyConstraint(JArray< jbyte > *);
+ virtual jint getRequireExplicitPolicy();
+ virtual jint getInhibitPolicyMapping();
+ virtual ::java::lang::String * toString();
+ static ::gnu::java::security::OID * ID;
+private:
+ jint __attribute__((aligned(__alignof__( ::gnu::java::security::x509::ext::Extension$Value)))) requireExplicitPolicy;
+ jint inhibitPolicyMapping;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_security_x509_ext_PolicyConstraint__
diff --git a/libjava/gnu/java/security/x509/ext/PolicyMappings.h b/libjava/gnu/java/security/x509/ext/PolicyMappings.h
new file mode 100644
index 000000000..2741db3fa
--- /dev/null
+++ b/libjava/gnu/java/security/x509/ext/PolicyMappings.h
@@ -0,0 +1,47 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_security_x509_ext_PolicyMappings__
+#define __gnu_java_security_x509_ext_PolicyMappings__
+
+#pragma interface
+
+#include <gnu/java/security/x509/ext/Extension$Value.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace security
+ {
+ class OID;
+ namespace x509
+ {
+ namespace ext
+ {
+ class PolicyMappings;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::security::x509::ext::PolicyMappings : public ::gnu::java::security::x509::ext::Extension$Value
+{
+
+public:
+ PolicyMappings(JArray< jbyte > *);
+ virtual ::gnu::java::security::OID * getSubjectDomainPolicy(::gnu::java::security::OID *);
+ virtual ::java::lang::String * toString();
+ static ::gnu::java::security::OID * ID;
+private:
+ ::java::util::Map * __attribute__((aligned(__alignof__( ::gnu::java::security::x509::ext::Extension$Value)))) mappings;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_security_x509_ext_PolicyMappings__
diff --git a/libjava/gnu/java/security/x509/ext/PrivateKeyUsagePeriod.h b/libjava/gnu/java/security/x509/ext/PrivateKeyUsagePeriod.h
new file mode 100644
index 000000000..0d14162b7
--- /dev/null
+++ b/libjava/gnu/java/security/x509/ext/PrivateKeyUsagePeriod.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_security_x509_ext_PrivateKeyUsagePeriod__
+#define __gnu_java_security_x509_ext_PrivateKeyUsagePeriod__
+
+#pragma interface
+
+#include <gnu/java/security/x509/ext/Extension$Value.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace security
+ {
+ class OID;
+ namespace x509
+ {
+ namespace ext
+ {
+ class PrivateKeyUsagePeriod;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::security::x509::ext::PrivateKeyUsagePeriod : public ::gnu::java::security::x509::ext::Extension$Value
+{
+
+public:
+ PrivateKeyUsagePeriod(JArray< jbyte > *);
+ virtual ::java::util::Date * getNotBefore();
+ virtual ::java::util::Date * getNotAfter();
+ virtual ::java::lang::String * toString();
+ static ::gnu::java::security::OID * ID;
+private:
+ ::java::util::Date * __attribute__((aligned(__alignof__( ::gnu::java::security::x509::ext::Extension$Value)))) notBefore;
+ ::java::util::Date * notAfter;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_security_x509_ext_PrivateKeyUsagePeriod__
diff --git a/libjava/gnu/java/security/x509/ext/ReasonCode.h b/libjava/gnu/java/security/x509/ext/ReasonCode.h
new file mode 100644
index 000000000..03a3c454a
--- /dev/null
+++ b/libjava/gnu/java/security/x509/ext/ReasonCode.h
@@ -0,0 +1,45 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_security_x509_ext_ReasonCode__
+#define __gnu_java_security_x509_ext_ReasonCode__
+
+#pragma interface
+
+#include <gnu/java/security/x509/ext/Extension$Value.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace security
+ {
+ class OID;
+ namespace x509
+ {
+ namespace ext
+ {
+ class ReasonCode;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::security::x509::ext::ReasonCode : public ::gnu::java::security::x509::ext::Extension$Value
+{
+
+public:
+ ReasonCode(JArray< jbyte > *);
+ virtual jint getReasonCode();
+ virtual ::java::lang::String * toString();
+ static ::gnu::java::security::OID * ID;
+ jint __attribute__((aligned(__alignof__( ::gnu::java::security::x509::ext::Extension$Value)))) reason;
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_security_x509_ext_ReasonCode__
diff --git a/libjava/gnu/java/security/x509/ext/SubjectAlternativeNames.h b/libjava/gnu/java/security/x509/ext/SubjectAlternativeNames.h
new file mode 100644
index 000000000..80e9ac055
--- /dev/null
+++ b/libjava/gnu/java/security/x509/ext/SubjectAlternativeNames.h
@@ -0,0 +1,48 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_security_x509_ext_SubjectAlternativeNames__
+#define __gnu_java_security_x509_ext_SubjectAlternativeNames__
+
+#pragma interface
+
+#include <gnu/java/security/x509/ext/Extension$Value.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace security
+ {
+ class OID;
+ namespace x509
+ {
+ namespace ext
+ {
+ class GeneralNames;
+ class SubjectAlternativeNames;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::security::x509::ext::SubjectAlternativeNames : public ::gnu::java::security::x509::ext::Extension$Value
+{
+
+public:
+ SubjectAlternativeNames(JArray< jbyte > *);
+ virtual ::java::util::List * getNames();
+ virtual ::java::lang::String * toString();
+ static ::gnu::java::security::OID * ID;
+private:
+ ::gnu::java::security::x509::ext::GeneralNames * __attribute__((aligned(__alignof__( ::gnu::java::security::x509::ext::Extension$Value)))) names;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_security_x509_ext_SubjectAlternativeNames__
diff --git a/libjava/gnu/java/security/x509/ext/SubjectKeyIdentifier.h b/libjava/gnu/java/security/x509/ext/SubjectKeyIdentifier.h
new file mode 100644
index 000000000..46cb0f4d6
--- /dev/null
+++ b/libjava/gnu/java/security/x509/ext/SubjectKeyIdentifier.h
@@ -0,0 +1,47 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_security_x509_ext_SubjectKeyIdentifier__
+#define __gnu_java_security_x509_ext_SubjectKeyIdentifier__
+
+#pragma interface
+
+#include <gnu/java/security/x509/ext/Extension$Value.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace security
+ {
+ class OID;
+ namespace x509
+ {
+ namespace ext
+ {
+ class SubjectKeyIdentifier;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::security::x509::ext::SubjectKeyIdentifier : public ::gnu::java::security::x509::ext::Extension$Value
+{
+
+public:
+ SubjectKeyIdentifier(JArray< jbyte > *);
+ virtual JArray< jbyte > * getKeyIdentifier();
+ virtual ::java::lang::String * toString();
+ static ::gnu::java::security::OID * ID;
+private:
+ JArray< jbyte > * __attribute__((aligned(__alignof__( ::gnu::java::security::x509::ext::Extension$Value)))) keyIdentifier;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_security_x509_ext_SubjectKeyIdentifier__