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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [gnu/] [java/] [security/] [key/] [rsa/] [RSAKeyPairGenerator.h] - Blame information for rev 758

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_java_security_key_rsa_RSAKeyPairGenerator__
5
#define __gnu_java_security_key_rsa_RSAKeyPairGenerator__
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 key
21
        {
22
          namespace rsa
23
          {
24
              class RSAKeyPairGenerator;
25
          }
26
        }
27
        namespace util
28
        {
29
            class PRNG;
30
        }
31
      }
32
    }
33
  }
34
  namespace java
35
  {
36
    namespace math
37
    {
38
        class BigInteger;
39
    }
40
    namespace security
41
    {
42
        class KeyPair;
43
        class SecureRandom;
44
    }
45
  }
46
}
47
 
48
class gnu::java::security::key::rsa::RSAKeyPairGenerator : public ::java::lang::Object
49
{
50
 
51
public:
52
  RSAKeyPairGenerator();
53
  virtual ::java::lang::String * name();
54
  virtual void setup(::java::util::Map *);
55
  virtual ::java::security::KeyPair * generate();
56
private:
57
  void nextRandomBytes(JArray< jbyte > *);
58
  ::gnu::java::security::util::PRNG * getDefaultPRNG();
59
  static ::java::util::logging::Logger * log;
60
  static ::java::math::BigInteger * ONE;
61
  static ::java::math::BigInteger * TWO;
62
public:
63
  static ::java::lang::String * MODULUS_LENGTH;
64
  static ::java::lang::String * SOURCE_OF_RANDOMNESS;
65
  static ::java::lang::String * RSA_PARAMETERS;
66
  static ::java::lang::String * PREFERRED_ENCODING_FORMAT;
67
private:
68
  static const jint DEFAULT_MODULUS_LENGTH = 1024;
69
  static const jint DEFAULT_ENCODING_FORMAT = 1;
70
  jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) L;
71
  ::java::math::BigInteger * e;
72
  ::java::security::SecureRandom * rnd;
73
  ::gnu::java::security::util::PRNG * prng;
74
  jint preferredFormat;
75
public:
76
  static ::java::lang::Class class$;
77
};
78
 
79
#endif // __gnu_java_security_key_rsa_RSAKeyPairGenerator__

powered by: WebSVN 2.1.0

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