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

#ifndef __gnu_java_security_provider_GnuRSAPublicKey__
#define __gnu_java_security_provider_GnuRSAPublicKey__

#pragma interface

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

extern "Java"
{
  namespace gnu
  {
    namespace java
    {
      namespace security
      {
        namespace provider
        {
          class GnuRSAPublicKey;
        }
      }
    }
  }
  namespace java
  {
    namespace math
    {
      class BigInteger;
    }
    namespace security
    {
      namespace spec
      {
        class RSAPublicKeySpec;
      }
    }
  }
}

class gnu::java::security::provider::GnuRSAPublicKey : public ::java::lang::Object
{
public:
  GnuRSAPublicKey (::java::security::spec::RSAPublicKeySpec *);
  virtual ::java::math::BigInteger *getModulus ();
  virtual ::java::math::BigInteger *getPublicExponent ();
  virtual ::java::lang::String *getAlgorithm ();
  virtual ::java::lang::String *getFormat ();
  virtual jbyteArray getEncoded ();
private:
  ::java::security::spec::RSAPublicKeySpec * __attribute__((aligned(__alignof__( ::java::lang::Object )))) spec;
  jbyteArray encodedKey;
public:

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

#endif /* __gnu_java_security_provider_GnuRSAPublicKey__ */
