summaryrefslogtreecommitdiff
path: root/libjava/gnu/java/security/x509/ext
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/gnu/java/security/x509/ext')
-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
20 files changed, 1028 insertions, 0 deletions
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__