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

#ifndef __gnu_java_security_provider_GnuDHPublicKey__
#define __gnu_java_security_provider_GnuDHPublicKey__

#pragma interface

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

extern "Java"
{
  namespace gnu
  {
    namespace java
    {
      namespace security
      {
        namespace provider
        {
          class GnuDHPublicKey;
        }
      }
    }
  }
  namespace java
  {
    namespace math
    {
      class BigInteger;
    }
  }
  namespace javax
  {
    namespace crypto
    {
      namespace spec
      {
        class DHParameterSpec;
      }
    }
  }
}

class gnu::java::security::provider::GnuDHPublicKey : public ::java::lang::Object
{
public:
  GnuDHPublicKey (::javax::crypto::spec::DHParameterSpec *, ::java::math::BigInteger *, ::java::math::BigInteger *);
  virtual ::java::math::BigInteger *getY () { return Y; }
  virtual ::javax::crypto::spec::DHParameterSpec *getParams () { return params; }
  virtual ::java::lang::String *getAlgorithm ();
  virtual ::java::lang::String *getFormat ();
  virtual jbyteArray getEncoded ();
private:
  jbyteArray __attribute__((aligned(__alignof__( ::java::lang::Object ))))  encoded;
  ::javax::crypto::spec::DHParameterSpec *params;
  ::java::math::BigInteger *Y;
  ::java::math::BigInteger *q;
public:

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

#endif /* __gnu_java_security_provider_GnuDHPublicKey__ */
