1 
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3 
4 #ifndef __gnu_javax_crypto_mode_OFB__
5 #define __gnu_javax_crypto_mode_OFB__
6 
7 #pragma interface
8 
9 #include <gnu/javax/crypto/mode/BaseMode.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 cipher
21         {
22             class IBlockCipher;
23         }
24         namespace mode
25         {
26             class OFB;
27         }
28       }
29     }
30   }
31 }
32 
33 class gnu::javax::crypto::mode::OFB : public ::gnu::javax::crypto::mode::BaseMode
34 {
35 
36 public: // actually package-private
37   OFB(::gnu::javax::crypto::cipher::IBlockCipher *, jint);
38 private:
39   OFB(::gnu::javax::crypto::mode::OFB *);
40 public:
41   virtual ::java::lang::Object * clone();
42   virtual void setup();
43   virtual void teardown();
44   virtual void encryptBlock(JArray< jbyte > *, jint, JArray< jbyte > *, jint);
45   virtual void decryptBlock(JArray< jbyte > *, jint, JArray< jbyte > *, jint);
46 private:
47   JArray< jbyte > * __attribute__((aligned(__alignof__( ::gnu::javax::crypto::mode::BaseMode)))) outputBlock;
48 public:
49   static ::java::lang::Class class$;
50 };
51 
52 #endif // __gnu_javax_crypto_mode_OFB__
53