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

#ifndef __gnu_javax_net_ssl_provider_InputSecurityParameters__
#define __gnu_javax_net_ssl_provider_InputSecurityParameters__

#pragma interface

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

extern "Java"
{
  namespace gnu
  {
    namespace classpath
    {
      namespace debug
      {
          class SystemLogger;
      }
    }
    namespace java
    {
      namespace security
      {
        namespace util
        {
            class ByteBufferOutputStream;
        }
      }
    }
    namespace javax
    {
      namespace net
      {
        namespace ssl
        {
          namespace provider
          {
              class CipherSuite;
              class InputSecurityParameters;
              class Record;
              class SessionImpl;
          }
        }
      }
    }
  }
  namespace java
  {
    namespace nio
    {
        class ByteBuffer;
    }
  }
  namespace javax
  {
    namespace crypto
    {
        class Cipher;
        class Mac;
    }
  }
}

class gnu::javax::net::ssl::provider::InputSecurityParameters : public ::java::lang::Object
{

public:
  InputSecurityParameters(::javax::crypto::Cipher *, ::javax::crypto::Mac *, ::java::util::zip::Inflater *, ::gnu::javax::net::ssl::provider::SessionImpl *, ::gnu::javax::net::ssl::provider::CipherSuite *);
  virtual jint decrypt(::gnu::javax::net::ssl::provider::Record *, JArray< ::java::nio::ByteBuffer * > *, jint, jint);
  virtual jint decrypt(::gnu::javax::net::ssl::provider::Record *, ::gnu::java::security::util::ByteBufferOutputStream *);
private:
  jint decrypt(::gnu::javax::net::ssl::provider::Record *, JArray< ::java::nio::ByteBuffer * > *, jint, jint, ::gnu::java::security::util::ByteBufferOutputStream *);
public: // actually package-private
  virtual ::gnu::javax::net::ssl::provider::CipherSuite * cipherSuite();
private:
  static ::gnu::classpath::debug::SystemLogger * logger;
  ::javax::crypto::Cipher * __attribute__((aligned(__alignof__( ::java::lang::Object)))) cipher;
  ::javax::crypto::Mac * mac;
  ::java::util::zip::Inflater * inflater;
  ::gnu::javax::net::ssl::provider::SessionImpl * session;
  ::gnu::javax::net::ssl::provider::CipherSuite * suite;
  jlong sequence;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_javax_net_ssl_provider_InputSecurityParameters__
