2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __gnu_java_security_key_dss_DSSKeyPairGenerator__
5 #define __gnu_java_security_key_dss_DSSKeyPairGenerator__
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
24 class DSSKeyPairGenerator;
46 class DSAParameterSpec;
52 class gnu::java::security::key::dss::DSSKeyPairGenerator : public ::java::lang::Object
56 DSSKeyPairGenerator();
57 virtual ::java::lang::String * name();
58 virtual void setup(::java::util::Map *);
59 virtual ::java::security::KeyPair * generate();
61 ::java::math::BigInteger * nextX();
62 void nextRandomBytes(JArray< jbyte > *);
63 ::gnu::java::security::util::PRNG * getDefaultPRNG();
64 static ::java::util::logging::Logger * log;
65 static ::java::math::BigInteger * TWO;
67 static ::java::lang::String * MODULUS_LENGTH;
68 static ::java::lang::String * USE_DEFAULTS;
69 static ::java::lang::String * STRICT_DEFAULTS;
70 static ::java::lang::String * SOURCE_OF_RANDOMNESS;
71 static ::java::lang::String * DSS_PARAMETERS;
72 static ::java::lang::String * PREFERRED_ENCODING_FORMAT;
73 static const jint DEFAULT_MODULUS_LENGTH = 1024;
75 static const jint DEFAULT_ENCODING_FORMAT = 1;
76 static JArray< jint > * T_SHS;
78 static ::java::security::spec::DSAParameterSpec * KEY_PARAMS_512;
79 static ::java::security::spec::DSAParameterSpec * KEY_PARAMS_768;
80 static ::java::security::spec::DSAParameterSpec * KEY_PARAMS_1024;
82 static ::java::math::BigInteger * TWO_POW_160;
83 jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) L;
84 ::java::security::SecureRandom * rnd;
85 ::java::math::BigInteger * seed;
86 ::java::math::BigInteger * counter;
87 ::java::math::BigInteger * p;
88 ::java::math::BigInteger * q;
89 ::java::math::BigInteger * e;
90 ::java::math::BigInteger * g;
91 ::java::math::BigInteger * XKEY;
92 ::gnu::java::security::util::PRNG * prng;
95 static ::java::lang::Class class$;
98 #endif // __gnu_java_security_key_dss_DSSKeyPairGenerator__