summaryrefslogtreecommitdiff
path: root/libjava/gnu/javax/crypto/jce/sig
diff options
context:
space:
mode:
authorupstream source tree <ports@midipix.org>2015-03-15 20:14:05 -0400
committerupstream source tree <ports@midipix.org>2015-03-15 20:14:05 -0400
commit554fd8c5195424bdbcabf5de30fdc183aba391bd (patch)
tree976dc5ab7fddf506dadce60ae936f43f58787092 /libjava/gnu/javax/crypto/jce/sig
downloadcbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.bz2
cbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.xz
obtained gcc-4.6.4.tar.bz2 from upstream website;upstream
verified gcc-4.6.4.tar.bz2.sig; imported gcc-4.6.4 source tree from verified upstream tarball. downloading a git-generated archive based on the 'upstream' tag should provide you with a source tree that is binary identical to the one extracted from the above tarball. if you have obtained the source via the command 'git clone', however, do note that line-endings of files in your working directory might differ from line-endings of the respective files in the upstream repository.
Diffstat (limited to 'libjava/gnu/javax/crypto/jce/sig')
-rw-r--r--libjava/gnu/javax/crypto/jce/sig/DHKeyFactory.h57
-rw-r--r--libjava/gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.h51
-rw-r--r--libjava/gnu/javax/crypto/jce/sig/DHParameters.h68
-rw-r--r--libjava/gnu/javax/crypto/jce/sig/DHParametersGenerator.h69
4 files changed, 245 insertions, 0 deletions
diff --git a/libjava/gnu/javax/crypto/jce/sig/DHKeyFactory.h b/libjava/gnu/javax/crypto/jce/sig/DHKeyFactory.h
new file mode 100644
index 000000000..99e937310
--- /dev/null
+++ b/libjava/gnu/javax/crypto/jce/sig/DHKeyFactory.h
@@ -0,0 +1,57 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_crypto_jce_sig_DHKeyFactory__
+#define __gnu_javax_crypto_jce_sig_DHKeyFactory__
+
+#pragma interface
+
+#include <java/security/KeyFactorySpi.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace jce
+ {
+ namespace sig
+ {
+ class DHKeyFactory;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace security
+ {
+ class Key;
+ class PrivateKey;
+ class PublicKey;
+ namespace spec
+ {
+ class KeySpec;
+ }
+ }
+ }
+}
+
+class gnu::javax::crypto::jce::sig::DHKeyFactory : public ::java::security::KeyFactorySpi
+{
+
+public:
+ DHKeyFactory();
+public: // actually protected
+ virtual ::java::security::PublicKey * engineGeneratePublic(::java::security::spec::KeySpec *);
+ virtual ::java::security::PrivateKey * engineGeneratePrivate(::java::security::spec::KeySpec *);
+ virtual ::java::security::spec::KeySpec * engineGetKeySpec(::java::security::Key *, ::java::lang::Class *);
+ virtual ::java::security::Key * engineTranslateKey(::java::security::Key *);
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_crypto_jce_sig_DHKeyFactory__
diff --git a/libjava/gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.h b/libjava/gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.h
new file mode 100644
index 000000000..9421af833
--- /dev/null
+++ b/libjava/gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.h
@@ -0,0 +1,51 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_crypto_jce_sig_DHKeyPairGeneratorSpi__
+#define __gnu_javax_crypto_jce_sig_DHKeyPairGeneratorSpi__
+
+#pragma interface
+
+#include <gnu/java/security/jce/sig/KeyPairGeneratorAdapter.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace jce
+ {
+ namespace sig
+ {
+ class DHKeyPairGeneratorSpi;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace security
+ {
+ class SecureRandom;
+ namespace spec
+ {
+ class AlgorithmParameterSpec;
+ }
+ }
+ }
+}
+
+class gnu::javax::crypto::jce::sig::DHKeyPairGeneratorSpi : public ::gnu::java::security::jce::sig::KeyPairGeneratorAdapter
+{
+
+public:
+ DHKeyPairGeneratorSpi();
+ virtual void initialize(jint, ::java::security::SecureRandom *);
+ virtual void initialize(::java::security::spec::AlgorithmParameterSpec *, ::java::security::SecureRandom *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_crypto_jce_sig_DHKeyPairGeneratorSpi__
diff --git a/libjava/gnu/javax/crypto/jce/sig/DHParameters.h b/libjava/gnu/javax/crypto/jce/sig/DHParameters.h
new file mode 100644
index 000000000..43f53fe85
--- /dev/null
+++ b/libjava/gnu/javax/crypto/jce/sig/DHParameters.h
@@ -0,0 +1,68 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_crypto_jce_sig_DHParameters__
+#define __gnu_javax_crypto_jce_sig_DHParameters__
+
+#pragma interface
+
+#include <java/security/AlgorithmParametersSpi.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace jce
+ {
+ namespace sig
+ {
+ class DHParameters;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ namespace security
+ {
+ namespace spec
+ {
+ class AlgorithmParameterSpec;
+ }
+ }
+ }
+}
+
+class gnu::javax::crypto::jce::sig::DHParameters : public ::java::security::AlgorithmParametersSpi
+{
+
+public:
+ DHParameters();
+public: // actually protected
+ virtual void engineInit(::java::security::spec::AlgorithmParameterSpec *);
+ virtual void engineInit(JArray< jbyte > *);
+ virtual void engineInit(JArray< jbyte > *, ::java::lang::String *);
+ virtual ::java::security::spec::AlgorithmParameterSpec * engineGetParameterSpec(::java::lang::Class *);
+ virtual JArray< jbyte > * engineGetEncoded();
+ virtual JArray< jbyte > * engineGetEncoded(::java::lang::String *);
+ virtual ::java::lang::String * engineToString();
+private:
+ ::java::math::BigInteger * __attribute__((aligned(__alignof__( ::java::security::AlgorithmParametersSpi)))) p;
+ ::java::math::BigInteger * g;
+ ::java::math::BigInteger * q;
+ jint l;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_crypto_jce_sig_DHParameters__
diff --git a/libjava/gnu/javax/crypto/jce/sig/DHParametersGenerator.h b/libjava/gnu/javax/crypto/jce/sig/DHParametersGenerator.h
new file mode 100644
index 000000000..4c2b43b7e
--- /dev/null
+++ b/libjava/gnu/javax/crypto/jce/sig/DHParametersGenerator.h
@@ -0,0 +1,69 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_crypto_jce_sig_DHParametersGenerator__
+#define __gnu_javax_crypto_jce_sig_DHParametersGenerator__
+
+#pragma interface
+
+#include <java/security/AlgorithmParameterGeneratorSpi.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace jce
+ {
+ namespace sig
+ {
+ class DHParametersGenerator;
+ }
+ }
+ namespace key
+ {
+ namespace dh
+ {
+ class RFC2631;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace security
+ {
+ class AlgorithmParameters;
+ class Provider;
+ class SecureRandom;
+ namespace spec
+ {
+ class AlgorithmParameterSpec;
+ }
+ }
+ }
+}
+
+class gnu::javax::crypto::jce::sig::DHParametersGenerator : public ::java::security::AlgorithmParameterGeneratorSpi
+{
+
+public:
+ DHParametersGenerator();
+public: // actually protected
+ virtual void engineInit(jint, ::java::security::SecureRandom *);
+ virtual void engineInit(::java::security::spec::AlgorithmParameterSpec *, ::java::security::SecureRandom *);
+ virtual ::java::security::AlgorithmParameters * engineGenerateParameters();
+private:
+ static ::java::security::Provider * GNU_CRYPTO;
+ jint __attribute__((aligned(__alignof__( ::java::security::AlgorithmParameterGeneratorSpi)))) modulusSize;
+ jint exponentSize;
+ ::java::security::SecureRandom * rnd;
+ ::gnu::javax::crypto::key::dh::RFC2631 * rfc2631;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_crypto_jce_sig_DHParametersGenerator__