summaryrefslogtreecommitdiff
path: root/libjava/gnu/javax/crypto/key/dh/RFC2631.h
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/key/dh/RFC2631.h
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/key/dh/RFC2631.h')
-rw-r--r--libjava/gnu/javax/crypto/key/dh/RFC2631.h84
1 files changed, 84 insertions, 0 deletions
diff --git a/libjava/gnu/javax/crypto/key/dh/RFC2631.h b/libjava/gnu/javax/crypto/key/dh/RFC2631.h
new file mode 100644
index 000000000..36f1f46c0
--- /dev/null
+++ b/libjava/gnu/javax/crypto/key/dh/RFC2631.h
@@ -0,0 +1,84 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_crypto_key_dh_RFC2631__
+#define __gnu_javax_crypto_key_dh_RFC2631__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace security
+ {
+ namespace hash
+ {
+ class Sha160;
+ }
+ namespace util
+ {
+ class PRNG;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace key
+ {
+ namespace dh
+ {
+ class RFC2631;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ namespace security
+ {
+ class SecureRandom;
+ }
+ }
+}
+
+class gnu::javax::crypto::key::dh::RFC2631 : public ::java::lang::Object
+{
+
+public:
+ RFC2631(jint, jint, ::java::security::SecureRandom *);
+ virtual JArray< ::java::math::BigInteger * > * generateParameters();
+private:
+ void nextRandomBytes(JArray< jbyte > *);
+ ::gnu::java::security::util::PRNG * getDefaultPRNG();
+public:
+ static const jint DH_PARAMS_SEED = 0;
+ static const jint DH_PARAMS_COUNTER = 1;
+ static const jint DH_PARAMS_Q = 2;
+ static const jint DH_PARAMS_P = 3;
+ static const jint DH_PARAMS_J = 4;
+ static const jint DH_PARAMS_G = 5;
+private:
+ static ::java::math::BigInteger * TWO;
+ ::gnu::java::security::hash::Sha160 * __attribute__((aligned(__alignof__( ::java::lang::Object)))) sha;
+ jint m;
+ jint L;
+ ::java::security::SecureRandom * rnd;
+ ::gnu::java::security::util::PRNG * prng;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_crypto_key_dh_RFC2631__