// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_gcj_io_SimpleSHSStream__
#define __gnu_gcj_io_SimpleSHSStream__

#pragma interface

#include <java/io/DataOutputStream.h>
#include <gcj/array.h>

extern "Java"
{
  namespace gnu
  {
    namespace gcj
    {
      namespace io
      {
        class SimpleSHSStream;
      }
    }
  }
};

class ::gnu::gcj::io::SimpleSHSStream : public ::java::io::DataOutputStream
{
public: // actually package-private
  static jbyteArray shsFinal (jbyteArray);
  static void shsUpdate (jbyteArray, jbyteArray, jint);
  static jbyteArray shsInit ();
private:
  void update (jbyte);
public:
  virtual void write (jint);
  virtual void write (jbyteArray, jint, jint);
  virtual jbyteArray digest ();
  SimpleSHSStream (::java::io::OutputStream *);
public: // actually package-private
  jint counter;
  jint SHS_BLOCKSIZE;
  jint SHS_DIGESTSIZE;
  jbyteArray buf;
  jbyteArray shs_info;
public:

  static ::java::lang::Class class$;
};

#endif /* __gnu_gcj_io_SimpleSHSStream__ */
