OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [gnu/] [javax/] [crypto/] [key/] [dh/] [RFC2631.h] - Blame information for rev 776

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 756 jeremybenn
 
2
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
 
4
#ifndef __gnu_javax_crypto_key_dh_RFC2631__
5
#define __gnu_javax_crypto_key_dh_RFC2631__
6
 
7
#pragma interface
8
 
9
#include <java/lang/Object.h>
10
#include <gcj/array.h>
11
 
12
extern "Java"
13
{
14
  namespace gnu
15
  {
16
    namespace java
17
    {
18
      namespace security
19
      {
20
        namespace hash
21
        {
22
            class Sha160;
23
        }
24
        namespace util
25
        {
26
            class PRNG;
27
        }
28
      }
29
    }
30
    namespace javax
31
    {
32
      namespace crypto
33
      {
34
        namespace key
35
        {
36
          namespace dh
37
          {
38
              class RFC2631;
39
          }
40
        }
41
      }
42
    }
43
  }
44
  namespace java
45
  {
46
    namespace math
47
    {
48
        class BigInteger;
49
    }
50
    namespace security
51
    {
52
        class SecureRandom;
53
    }
54
  }
55
}
56
 
57
class gnu::javax::crypto::key::dh::RFC2631 : public ::java::lang::Object
58
{
59
 
60
public:
61
  RFC2631(jint, jint, ::java::security::SecureRandom *);
62
  virtual JArray< ::java::math::BigInteger * > * generateParameters();
63
private:
64
  void nextRandomBytes(JArray< jbyte > *);
65
  ::gnu::java::security::util::PRNG * getDefaultPRNG();
66
public:
67
  static const jint DH_PARAMS_SEED = 0;
68
  static const jint DH_PARAMS_COUNTER = 1;
69
  static const jint DH_PARAMS_Q = 2;
70
  static const jint DH_PARAMS_P = 3;
71
  static const jint DH_PARAMS_J = 4;
72
  static const jint DH_PARAMS_G = 5;
73
private:
74
  static ::java::math::BigInteger * TWO;
75
  ::gnu::java::security::hash::Sha160 * __attribute__((aligned(__alignof__( ::java::lang::Object)))) sha;
76
  jint m;
77
  jint L;
78
  ::java::security::SecureRandom * rnd;
79
  ::gnu::java::security::util::PRNG * prng;
80
public:
81
  static ::java::lang::Class class$;
82
};
83
 
84
#endif // __gnu_javax_crypto_key_dh_RFC2631__

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.