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

#ifndef __javax_crypto_spec_DESKeySpec__
#define __javax_crypto_spec_DESKeySpec__

#pragma interface

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

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

class javax::crypto::spec::DESKeySpec : public ::java::lang::Object
{
public:
  DESKeySpec (jbyteArray);
  DESKeySpec (jbyteArray, jint);
  static jboolean isParityAdjusted (jbyteArray, jint);
  static jboolean isWeak (jbyteArray, jint);
private:
  static jboolean equalsOrComplementEquals (jbyteArray, jint, jbyteArray);
public:
  virtual jbyteArray getKey () { return key; }
  static const jint DES_KEY_LEN = 8L;
private:
  jbyteArray __attribute__((aligned(__alignof__( ::java::lang::Object ))))  key;
  static JArray<jbyteArray> * WEAK_KEYS;
public:

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

#endif /* __javax_crypto_spec_DESKeySpec__ */
