OSDN Git Service

Merged gcj-eclipse branch to trunk.
[pf3gnuchains/gcc-fork.git] / libjava / gnu / javax / net / ssl / provider / KeyPool.h
1
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
4 #ifndef __gnu_javax_net_ssl_provider_KeyPool__
5 #define __gnu_javax_net_ssl_provider_KeyPool__
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 javax
17     {
18       namespace net
19       {
20         namespace ssl
21         {
22           namespace provider
23           {
24               class KeyPool;
25           }
26         }
27       }
28     }
29   }
30   namespace java
31   {
32     namespace math
33     {
34         class BigInteger;
35     }
36     namespace security
37     {
38         class KeyPair;
39         class SecureRandom;
40     }
41   }
42 }
43
44 class gnu::javax::net::ssl::provider::KeyPool : public ::java::lang::Object
45 {
46
47   KeyPool();
48 public: // actually package-private
49   static ::java::security::KeyPair * generateRSAKeyPair();
50 private:
51   static void nextBytes(JArray< jbyte > *);
52   static ::java::math::BigInteger * ONE;
53   static ::java::math::BigInteger * TWO;
54   static ::java::math::BigInteger * E;
55   static ::java::security::SecureRandom * RANDOM;
56 public:
57   static ::java::lang::Class class$;
58 };
59
60 #endif // __gnu_javax_net_ssl_provider_KeyPool__