OSDN Git Service

Merged gcj-eclipse branch to trunk.
[pf3gnuchains/gcc-fork.git] / libjava / gnu / javax / crypto / prng / ARCFour.h
1
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
4 #ifndef __gnu_javax_crypto_prng_ARCFour__
5 #define __gnu_javax_crypto_prng_ARCFour__
6
7 #pragma interface
8
9 #include <gnu/java/security/prng/BasePRNG.h>
10 #include <gcj/array.h>
11
12 extern "Java"
13 {
14   namespace gnu
15   {
16     namespace javax
17     {
18       namespace crypto
19       {
20         namespace prng
21         {
22             class ARCFour;
23         }
24       }
25     }
26   }
27 }
28
29 class gnu::javax::crypto::prng::ARCFour : public ::gnu::java::security::prng::BasePRNG
30 {
31
32 public:
33   ARCFour();
34   virtual void setup(::java::util::Map *);
35   virtual void fillBlock();
36   static ::java::lang::String * ARCFOUR_KEY_MATERIAL;
37   static const jint ARCFOUR_SBOX_SIZE = 256;
38 private:
39   JArray< jbyte > * __attribute__((aligned(__alignof__( ::gnu::java::security::prng::BasePRNG)))) s;
40   jbyte m;
41   jbyte n;
42 public:
43   static ::java::lang::Class class$;
44 };
45
46 #endif // __gnu_javax_crypto_prng_ARCFour__