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

#ifndef __javax_crypto_spec_SecretKeySpec__
#define __javax_crypto_spec_SecretKeySpec__

#pragma interface

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

extern "Java"
{
  namespace javax
  {
    namespace crypto
    {
      namespace spec
      {
          class SecretKeySpec;
      }
    }
  }
}

class javax::crypto::spec::SecretKeySpec : public ::java::lang::Object
{

public:
  SecretKeySpec(JArray< jbyte > *, ::java::lang::String *);
  SecretKeySpec(JArray< jbyte > *, jint, jint, ::java::lang::String *);
  virtual ::java::lang::String * getAlgorithm();
  virtual JArray< jbyte > * getEncoded();
  virtual ::java::lang::String * getFormat();
  virtual jboolean equals(::java::lang::Object *);
  virtual jint hashCode();
private:
  static const jlong serialVersionUID = 6577238317307289933LL;
  JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) key;
  ::java::lang::String * algorithm;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_crypto_spec_SecretKeySpec__
