summaryrefslogtreecommitdiff
path: root/libjava/java/security/spec
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/java/security/spec')
-rw-r--r--libjava/java/security/spec/AlgorithmParameterSpec.h31
-rw-r--r--libjava/java/security/spec/DSAParameterSpec.h44
-rw-r--r--libjava/java/security/spec/DSAPrivateKeySpec.h46
-rw-r--r--libjava/java/security/spec/DSAPublicKeySpec.h46
-rw-r--r--libjava/java/security/spec/EncodedKeySpec.h39
-rw-r--r--libjava/java/security/spec/InvalidKeySpecException.h38
-rw-r--r--libjava/java/security/spec/InvalidParameterSpecException.h36
-rw-r--r--libjava/java/security/spec/KeySpec.h31
-rw-r--r--libjava/java/security/spec/PKCS8EncodedKeySpec.h36
-rw-r--r--libjava/java/security/spec/PSSParameterSpec.h36
-rw-r--r--libjava/java/security/spec/RSAKeyGenParameterSpec.h44
-rw-r--r--libjava/java/security/spec/RSAMultiPrimePrivateCrtKeySpec.h55
-rw-r--r--libjava/java/security/spec/RSAOtherPrimeInfo.h44
-rw-r--r--libjava/java/security/spec/RSAPrivateCrtKeySpec.h50
-rw-r--r--libjava/java/security/spec/RSAPrivateKeySpec.h42
-rw-r--r--libjava/java/security/spec/RSAPublicKeySpec.h42
-rw-r--r--libjava/java/security/spec/X509EncodedKeySpec.h36
17 files changed, 696 insertions, 0 deletions
diff --git a/libjava/java/security/spec/AlgorithmParameterSpec.h b/libjava/java/security/spec/AlgorithmParameterSpec.h
new file mode 100644
index 000000000..9fa07b0a3
--- /dev/null
+++ b/libjava/java/security/spec/AlgorithmParameterSpec.h
@@ -0,0 +1,31 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_spec_AlgorithmParameterSpec__
+#define __java_security_spec_AlgorithmParameterSpec__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ namespace spec
+ {
+ class AlgorithmParameterSpec;
+ }
+ }
+ }
+}
+
+class java::security::spec::AlgorithmParameterSpec : public ::java::lang::Object
+{
+
+public:
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_security_spec_AlgorithmParameterSpec__
diff --git a/libjava/java/security/spec/DSAParameterSpec.h b/libjava/java/security/spec/DSAParameterSpec.h
new file mode 100644
index 000000000..83a2cb8ec
--- /dev/null
+++ b/libjava/java/security/spec/DSAParameterSpec.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_spec_DSAParameterSpec__
+#define __java_security_spec_DSAParameterSpec__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ namespace security
+ {
+ namespace spec
+ {
+ class DSAParameterSpec;
+ }
+ }
+ }
+}
+
+class java::security::spec::DSAParameterSpec : public ::java::lang::Object
+{
+
+public:
+ DSAParameterSpec(::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *);
+ virtual ::java::math::BigInteger * getP();
+ virtual ::java::math::BigInteger * getQ();
+ virtual ::java::math::BigInteger * getG();
+private:
+ ::java::math::BigInteger * __attribute__((aligned(__alignof__( ::java::lang::Object)))) p;
+ ::java::math::BigInteger * q;
+ ::java::math::BigInteger * g;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_spec_DSAParameterSpec__
diff --git a/libjava/java/security/spec/DSAPrivateKeySpec.h b/libjava/java/security/spec/DSAPrivateKeySpec.h
new file mode 100644
index 000000000..fe1cae312
--- /dev/null
+++ b/libjava/java/security/spec/DSAPrivateKeySpec.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_spec_DSAPrivateKeySpec__
+#define __java_security_spec_DSAPrivateKeySpec__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ namespace security
+ {
+ namespace spec
+ {
+ class DSAPrivateKeySpec;
+ }
+ }
+ }
+}
+
+class java::security::spec::DSAPrivateKeySpec : public ::java::lang::Object
+{
+
+public:
+ DSAPrivateKeySpec(::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *);
+ virtual ::java::math::BigInteger * getX();
+ virtual ::java::math::BigInteger * getP();
+ virtual ::java::math::BigInteger * getQ();
+ virtual ::java::math::BigInteger * getG();
+private:
+ ::java::math::BigInteger * __attribute__((aligned(__alignof__( ::java::lang::Object)))) x;
+ ::java::math::BigInteger * p;
+ ::java::math::BigInteger * q;
+ ::java::math::BigInteger * g;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_spec_DSAPrivateKeySpec__
diff --git a/libjava/java/security/spec/DSAPublicKeySpec.h b/libjava/java/security/spec/DSAPublicKeySpec.h
new file mode 100644
index 000000000..aa0cc5c2a
--- /dev/null
+++ b/libjava/java/security/spec/DSAPublicKeySpec.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_spec_DSAPublicKeySpec__
+#define __java_security_spec_DSAPublicKeySpec__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ namespace security
+ {
+ namespace spec
+ {
+ class DSAPublicKeySpec;
+ }
+ }
+ }
+}
+
+class java::security::spec::DSAPublicKeySpec : public ::java::lang::Object
+{
+
+public:
+ DSAPublicKeySpec(::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *);
+ virtual ::java::math::BigInteger * getY();
+ virtual ::java::math::BigInteger * getP();
+ virtual ::java::math::BigInteger * getQ();
+ virtual ::java::math::BigInteger * getG();
+private:
+ ::java::math::BigInteger * __attribute__((aligned(__alignof__( ::java::lang::Object)))) y;
+ ::java::math::BigInteger * p;
+ ::java::math::BigInteger * q;
+ ::java::math::BigInteger * g;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_spec_DSAPublicKeySpec__
diff --git a/libjava/java/security/spec/EncodedKeySpec.h b/libjava/java/security/spec/EncodedKeySpec.h
new file mode 100644
index 000000000..bc913b1e5
--- /dev/null
+++ b/libjava/java/security/spec/EncodedKeySpec.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_spec_EncodedKeySpec__
+#define __java_security_spec_EncodedKeySpec__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ namespace spec
+ {
+ class EncodedKeySpec;
+ }
+ }
+ }
+}
+
+class java::security::spec::EncodedKeySpec : public ::java::lang::Object
+{
+
+public:
+ EncodedKeySpec(JArray< jbyte > *);
+ virtual JArray< jbyte > * getEncoded();
+ virtual ::java::lang::String * getFormat() = 0;
+private:
+ JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) encodedKey;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_spec_EncodedKeySpec__
diff --git a/libjava/java/security/spec/InvalidKeySpecException.h b/libjava/java/security/spec/InvalidKeySpecException.h
new file mode 100644
index 000000000..ff2ea69fe
--- /dev/null
+++ b/libjava/java/security/spec/InvalidKeySpecException.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_spec_InvalidKeySpecException__
+#define __java_security_spec_InvalidKeySpecException__
+
+#pragma interface
+
+#include <java/security/GeneralSecurityException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ namespace spec
+ {
+ class InvalidKeySpecException;
+ }
+ }
+ }
+}
+
+class java::security::spec::InvalidKeySpecException : public ::java::security::GeneralSecurityException
+{
+
+public:
+ InvalidKeySpecException();
+ InvalidKeySpecException(::java::lang::String *);
+ InvalidKeySpecException(::java::lang::String *, ::java::lang::Throwable *);
+ InvalidKeySpecException(::java::lang::Throwable *);
+private:
+ static const jlong serialVersionUID = 3546139293998810778LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_spec_InvalidKeySpecException__
diff --git a/libjava/java/security/spec/InvalidParameterSpecException.h b/libjava/java/security/spec/InvalidParameterSpecException.h
new file mode 100644
index 000000000..e80550deb
--- /dev/null
+++ b/libjava/java/security/spec/InvalidParameterSpecException.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_spec_InvalidParameterSpecException__
+#define __java_security_spec_InvalidParameterSpecException__
+
+#pragma interface
+
+#include <java/security/GeneralSecurityException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ namespace spec
+ {
+ class InvalidParameterSpecException;
+ }
+ }
+ }
+}
+
+class java::security::spec::InvalidParameterSpecException : public ::java::security::GeneralSecurityException
+{
+
+public:
+ InvalidParameterSpecException();
+ InvalidParameterSpecException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -970468769593399342LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_spec_InvalidParameterSpecException__
diff --git a/libjava/java/security/spec/KeySpec.h b/libjava/java/security/spec/KeySpec.h
new file mode 100644
index 000000000..cdb7b40cf
--- /dev/null
+++ b/libjava/java/security/spec/KeySpec.h
@@ -0,0 +1,31 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_spec_KeySpec__
+#define __java_security_spec_KeySpec__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ namespace spec
+ {
+ class KeySpec;
+ }
+ }
+ }
+}
+
+class java::security::spec::KeySpec : public ::java::lang::Object
+{
+
+public:
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_security_spec_KeySpec__
diff --git a/libjava/java/security/spec/PKCS8EncodedKeySpec.h b/libjava/java/security/spec/PKCS8EncodedKeySpec.h
new file mode 100644
index 000000000..20e7007e1
--- /dev/null
+++ b/libjava/java/security/spec/PKCS8EncodedKeySpec.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_spec_PKCS8EncodedKeySpec__
+#define __java_security_spec_PKCS8EncodedKeySpec__
+
+#pragma interface
+
+#include <java/security/spec/EncodedKeySpec.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ namespace spec
+ {
+ class PKCS8EncodedKeySpec;
+ }
+ }
+ }
+}
+
+class java::security::spec::PKCS8EncodedKeySpec : public ::java::security::spec::EncodedKeySpec
+{
+
+public:
+ PKCS8EncodedKeySpec(JArray< jbyte > *);
+ virtual JArray< jbyte > * getEncoded();
+ virtual ::java::lang::String * getFormat();
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_spec_PKCS8EncodedKeySpec__
diff --git a/libjava/java/security/spec/PSSParameterSpec.h b/libjava/java/security/spec/PSSParameterSpec.h
new file mode 100644
index 000000000..01253a2ca
--- /dev/null
+++ b/libjava/java/security/spec/PSSParameterSpec.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_spec_PSSParameterSpec__
+#define __java_security_spec_PSSParameterSpec__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ namespace spec
+ {
+ class PSSParameterSpec;
+ }
+ }
+ }
+}
+
+class java::security::spec::PSSParameterSpec : public ::java::lang::Object
+{
+
+public:
+ PSSParameterSpec(jint);
+ virtual jint getSaltLength();
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) saltLen;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_spec_PSSParameterSpec__
diff --git a/libjava/java/security/spec/RSAKeyGenParameterSpec.h b/libjava/java/security/spec/RSAKeyGenParameterSpec.h
new file mode 100644
index 000000000..a047dd668
--- /dev/null
+++ b/libjava/java/security/spec/RSAKeyGenParameterSpec.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_spec_RSAKeyGenParameterSpec__
+#define __java_security_spec_RSAKeyGenParameterSpec__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ namespace security
+ {
+ namespace spec
+ {
+ class RSAKeyGenParameterSpec;
+ }
+ }
+ }
+}
+
+class java::security::spec::RSAKeyGenParameterSpec : public ::java::lang::Object
+{
+
+public:
+ RSAKeyGenParameterSpec(jint, ::java::math::BigInteger *);
+ virtual jint getKeysize();
+ virtual ::java::math::BigInteger * getPublicExponent();
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) keysize;
+ ::java::math::BigInteger * publicExponent;
+public:
+ static ::java::math::BigInteger * F0;
+ static ::java::math::BigInteger * F4;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_spec_RSAKeyGenParameterSpec__
diff --git a/libjava/java/security/spec/RSAMultiPrimePrivateCrtKeySpec.h b/libjava/java/security/spec/RSAMultiPrimePrivateCrtKeySpec.h
new file mode 100644
index 000000000..bebb3d3a9
--- /dev/null
+++ b/libjava/java/security/spec/RSAMultiPrimePrivateCrtKeySpec.h
@@ -0,0 +1,55 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_spec_RSAMultiPrimePrivateCrtKeySpec__
+#define __java_security_spec_RSAMultiPrimePrivateCrtKeySpec__
+
+#pragma interface
+
+#include <java/security/spec/RSAPrivateKeySpec.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ namespace security
+ {
+ namespace spec
+ {
+ class RSAMultiPrimePrivateCrtKeySpec;
+ class RSAOtherPrimeInfo;
+ }
+ }
+ }
+}
+
+class java::security::spec::RSAMultiPrimePrivateCrtKeySpec : public ::java::security::spec::RSAPrivateKeySpec
+{
+
+public:
+ RSAMultiPrimePrivateCrtKeySpec(::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *, JArray< ::java::security::spec::RSAOtherPrimeInfo * > *);
+ virtual ::java::math::BigInteger * getPublicExponent();
+ virtual ::java::math::BigInteger * getPrimeP();
+ virtual ::java::math::BigInteger * getPrimeQ();
+ virtual ::java::math::BigInteger * getPrimeExponentP();
+ virtual ::java::math::BigInteger * getPrimeExponentQ();
+ virtual ::java::math::BigInteger * getCrtCoefficient();
+ virtual JArray< ::java::security::spec::RSAOtherPrimeInfo * > * getOtherPrimeInfo();
+private:
+ ::java::math::BigInteger * __attribute__((aligned(__alignof__( ::java::security::spec::RSAPrivateKeySpec)))) publicExponent;
+ ::java::math::BigInteger * primeP;
+ ::java::math::BigInteger * primeQ;
+ ::java::math::BigInteger * primeExponentP;
+ ::java::math::BigInteger * primeExponentQ;
+ ::java::math::BigInteger * crtCoefficient;
+ JArray< ::java::security::spec::RSAOtherPrimeInfo * > * otherPrimeInfo;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_spec_RSAMultiPrimePrivateCrtKeySpec__
diff --git a/libjava/java/security/spec/RSAOtherPrimeInfo.h b/libjava/java/security/spec/RSAOtherPrimeInfo.h
new file mode 100644
index 000000000..878e3e58e
--- /dev/null
+++ b/libjava/java/security/spec/RSAOtherPrimeInfo.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_spec_RSAOtherPrimeInfo__
+#define __java_security_spec_RSAOtherPrimeInfo__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ namespace security
+ {
+ namespace spec
+ {
+ class RSAOtherPrimeInfo;
+ }
+ }
+ }
+}
+
+class java::security::spec::RSAOtherPrimeInfo : public ::java::lang::Object
+{
+
+public:
+ RSAOtherPrimeInfo(::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *);
+ virtual ::java::math::BigInteger * getPrime();
+ virtual ::java::math::BigInteger * getExponent();
+ virtual ::java::math::BigInteger * getCrtCoefficient();
+private:
+ ::java::math::BigInteger * __attribute__((aligned(__alignof__( ::java::lang::Object)))) prime;
+ ::java::math::BigInteger * primeExponent;
+ ::java::math::BigInteger * crtCoefficient;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_spec_RSAOtherPrimeInfo__
diff --git a/libjava/java/security/spec/RSAPrivateCrtKeySpec.h b/libjava/java/security/spec/RSAPrivateCrtKeySpec.h
new file mode 100644
index 000000000..4f25ac678
--- /dev/null
+++ b/libjava/java/security/spec/RSAPrivateCrtKeySpec.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_spec_RSAPrivateCrtKeySpec__
+#define __java_security_spec_RSAPrivateCrtKeySpec__
+
+#pragma interface
+
+#include <java/security/spec/RSAPrivateKeySpec.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ namespace security
+ {
+ namespace spec
+ {
+ class RSAPrivateCrtKeySpec;
+ }
+ }
+ }
+}
+
+class java::security::spec::RSAPrivateCrtKeySpec : public ::java::security::spec::RSAPrivateKeySpec
+{
+
+public:
+ RSAPrivateCrtKeySpec(::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *);
+ virtual ::java::math::BigInteger * getPublicExponent();
+ virtual ::java::math::BigInteger * getPrimeP();
+ virtual ::java::math::BigInteger * getPrimeQ();
+ virtual ::java::math::BigInteger * getPrimeExponentP();
+ virtual ::java::math::BigInteger * getPrimeExponentQ();
+ virtual ::java::math::BigInteger * getCrtCoefficient();
+private:
+ ::java::math::BigInteger * __attribute__((aligned(__alignof__( ::java::security::spec::RSAPrivateKeySpec)))) publicExponent;
+ ::java::math::BigInteger * primeP;
+ ::java::math::BigInteger * primeQ;
+ ::java::math::BigInteger * primeExponentP;
+ ::java::math::BigInteger * primeExponentQ;
+ ::java::math::BigInteger * crtCoefficient;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_spec_RSAPrivateCrtKeySpec__
diff --git a/libjava/java/security/spec/RSAPrivateKeySpec.h b/libjava/java/security/spec/RSAPrivateKeySpec.h
new file mode 100644
index 000000000..4b0136b45
--- /dev/null
+++ b/libjava/java/security/spec/RSAPrivateKeySpec.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_spec_RSAPrivateKeySpec__
+#define __java_security_spec_RSAPrivateKeySpec__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ namespace security
+ {
+ namespace spec
+ {
+ class RSAPrivateKeySpec;
+ }
+ }
+ }
+}
+
+class java::security::spec::RSAPrivateKeySpec : public ::java::lang::Object
+{
+
+public:
+ RSAPrivateKeySpec(::java::math::BigInteger *, ::java::math::BigInteger *);
+ virtual ::java::math::BigInteger * getModulus();
+ virtual ::java::math::BigInteger * getPrivateExponent();
+private:
+ ::java::math::BigInteger * __attribute__((aligned(__alignof__( ::java::lang::Object)))) modulus;
+ ::java::math::BigInteger * privateExponent;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_spec_RSAPrivateKeySpec__
diff --git a/libjava/java/security/spec/RSAPublicKeySpec.h b/libjava/java/security/spec/RSAPublicKeySpec.h
new file mode 100644
index 000000000..d6f80a316
--- /dev/null
+++ b/libjava/java/security/spec/RSAPublicKeySpec.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_spec_RSAPublicKeySpec__
+#define __java_security_spec_RSAPublicKeySpec__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ namespace security
+ {
+ namespace spec
+ {
+ class RSAPublicKeySpec;
+ }
+ }
+ }
+}
+
+class java::security::spec::RSAPublicKeySpec : public ::java::lang::Object
+{
+
+public:
+ RSAPublicKeySpec(::java::math::BigInteger *, ::java::math::BigInteger *);
+ virtual ::java::math::BigInteger * getModulus();
+ virtual ::java::math::BigInteger * getPublicExponent();
+private:
+ ::java::math::BigInteger * __attribute__((aligned(__alignof__( ::java::lang::Object)))) modulus;
+ ::java::math::BigInteger * publicExponent;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_spec_RSAPublicKeySpec__
diff --git a/libjava/java/security/spec/X509EncodedKeySpec.h b/libjava/java/security/spec/X509EncodedKeySpec.h
new file mode 100644
index 000000000..426ea1be7
--- /dev/null
+++ b/libjava/java/security/spec/X509EncodedKeySpec.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_spec_X509EncodedKeySpec__
+#define __java_security_spec_X509EncodedKeySpec__
+
+#pragma interface
+
+#include <java/security/spec/EncodedKeySpec.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ namespace spec
+ {
+ class X509EncodedKeySpec;
+ }
+ }
+ }
+}
+
+class java::security::spec::X509EncodedKeySpec : public ::java::security::spec::EncodedKeySpec
+{
+
+public:
+ X509EncodedKeySpec(JArray< jbyte > *);
+ virtual JArray< jbyte > * getEncoded();
+ virtual ::java::lang::String * getFormat();
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_spec_X509EncodedKeySpec__