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

#ifndef __gnu_java_security_provider_RSA__
#define __gnu_java_security_provider_RSA__

#pragma interface

#include <java/security/SignatureSpi.h>
#include <gcj/array.h>

extern "Java"
{
  namespace java
  {
    namespace security
    {
      class PublicKey;
      class SecureRandom;
      class PrivateKey;
      namespace interfaces
      {
        class RSAPublicKey;
        class RSAPrivateKey;
      }
      class MessageDigest;
    }
  }
  namespace gnu
  {
    namespace java
    {
      namespace security
      {
        namespace provider
        {
          class RSA;
        }
        class OID;
      }
    }
  }
}

class gnu::java::security::provider::RSA : public ::java::security::SignatureSpi
{
public:  // actually protected
  RSA (::java::security::MessageDigest *, ::gnu::java::security::OID *);
public:
  virtual ::java::lang::Object *clone ();
public:  // actually protected
  virtual ::java::lang::Object *engineGetParameter (::java::lang::String *);
  virtual void engineSetParameter (::java::lang::String *, ::java::lang::Object *);
  virtual void engineInitSign (::java::security::PrivateKey *);
  virtual void engineInitSign (::java::security::PrivateKey *, ::java::security::SecureRandom *);
  virtual void engineInitVerify (::java::security::PublicKey *);
  virtual void engineUpdate (jbyte);
  virtual void engineUpdate (jbyteArray, jint, jint);
  virtual jbyteArray engineSign ();
  virtual jint engineSign (jbyteArray, jint, jint);
  virtual jboolean engineVerify (jbyteArray);
  virtual jboolean engineVerify (jbyteArray, jint, jint);
  static ::gnu::java::security::OID *DIGEST_ALGORITHM;
  ::gnu::java::security::OID * __attribute__((aligned(__alignof__( ::java::security::SignatureSpi )))) digestAlgorithm;
  ::java::security::MessageDigest *md;
  ::java::security::interfaces::RSAPrivateKey *signerKey;
  ::java::security::interfaces::RSAPublicKey *verifierKey;
public:

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

#endif /* __gnu_java_security_provider_RSA__ */
