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

#ifndef __gnu_javax_net_ssl_provider_Extension__
#define __gnu_javax_net_ssl_provider_Extension__

#pragma interface

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

extern "Java"
{
  namespace gnu
  {
    namespace javax
    {
      namespace net
      {
        namespace ssl
        {
          namespace provider
          {
              class Extension;
              class Extension$Type;
              class Extension$Value;
          }
        }
      }
    }
  }
  namespace java
  {
    namespace nio
    {
        class ByteBuffer;
    }
  }
}

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

public:
  Extension(::java::nio::ByteBuffer *);
  Extension(::gnu::javax::net::ssl::provider::Extension$Type *, ::gnu::javax::net::ssl::provider::Extension$Value *);
  jint length();
  ::java::nio::ByteBuffer * buffer();
  ::gnu::javax::net::ssl::provider::Extension$Type * type();
  JArray< jbyte > * valueBytes();
  ::java::nio::ByteBuffer * valueBuffer();
  ::gnu::javax::net::ssl::provider::Extension$Value * value();
  void setLength(jint);
  void setType(::gnu::javax::net::ssl::provider::Extension$Type *);
  void setValue(JArray< jbyte > *);
  void setValue(JArray< jbyte > *, jint, jint);
  ::java::lang::String * toString();
  ::java::lang::String * toString(::java::lang::String *);
public: // actually package-private
  static JArray< jint > * $SWITCH_TABLE$gnu$javax$net$ssl$provider$Extension$Type();
private:
  ::java::nio::ByteBuffer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) buffer__;
  static JArray< jint > * $SWITCH_TABLE$gnu$javax$net$ssl$provider$Extension$Type__;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_javax_net_ssl_provider_Extension__
