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

#ifndef __javax_crypto_CipherSpi__
#define __javax_crypto_CipherSpi__

#pragma interface

#include <java/lang/Object.h>
#include <gcj/array.h>

extern "Java"
{
  namespace javax
  {
    namespace crypto
    {
      class CipherSpi;
    }
  }
  namespace java
  {
    namespace security
    {
      namespace spec
      {
        class AlgorithmParameterSpec;
      }
      class SecureRandom;
      class AlgorithmParameters;
      class Key;
    }
  }
}

class javax::crypto::CipherSpi : public ::java::lang::Object
{
public:
  CipherSpi ();
public:  // actually protected
  virtual jbyteArray engineDoFinal (jbyteArray, jint, jint) = 0;
  virtual jint engineDoFinal (jbyteArray, jint, jint, jbyteArray, jint) = 0;
  virtual jint engineGetBlockSize () = 0;
  virtual jbyteArray engineGetIV () = 0;
  virtual jint engineGetKeySize (::java::security::Key *);
  virtual jint engineGetOutputSize (jint) = 0;
  virtual ::java::security::AlgorithmParameters *engineGetParameters () = 0;
  virtual void engineInit (jint, ::java::security::Key *, ::java::security::SecureRandom *) = 0;
  virtual void engineInit (jint, ::java::security::Key *, ::java::security::AlgorithmParameters *, ::java::security::SecureRandom *) = 0;
  virtual void engineInit (jint, ::java::security::Key *, ::java::security::spec::AlgorithmParameterSpec *, ::java::security::SecureRandom *) = 0;
  virtual void engineSetMode (::java::lang::String *) = 0;
  virtual void engineSetPadding (::java::lang::String *) = 0;
  virtual ::java::security::Key *engineUnwrap (jbyteArray, ::java::lang::String *, jint);
  virtual jbyteArray engineUpdate (jbyteArray, jint, jint) = 0;
  virtual jint engineUpdate (jbyteArray, jint, jint, jbyteArray, jint) = 0;
  virtual jbyteArray engineWrap (::java::security::Key *);
public:

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

#endif /* __javax_crypto_CipherSpi__ */
