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

#ifndef __gnu_java_security_sig_rsa_RSAPKCS1V1_5Signature__
#define __gnu_java_security_sig_rsa_RSAPKCS1V1_5Signature__

#pragma interface

#include <gnu/java/security/sig/BaseSignature.h>
extern "Java"
{
  namespace gnu
  {
    namespace java
    {
      namespace security
      {
        namespace hash
        {
            class IMessageDigest;
        }
        namespace sig
        {
          namespace rsa
          {
              class EMSA_PKCS1_V1_5;
              class RSAPKCS1V1_5Signature;
          }
        }
      }
    }
  }
  namespace java
  {
    namespace security
    {
        class PrivateKey;
        class PublicKey;
    }
  }
}

class gnu::java::security::sig::rsa::RSAPKCS1V1_5Signature : public ::gnu::java::security::sig::BaseSignature
{

public:
  RSAPKCS1V1_5Signature();
  RSAPKCS1V1_5Signature(::java::lang::String *);
  RSAPKCS1V1_5Signature(::gnu::java::security::hash::IMessageDigest *);
private:
  RSAPKCS1V1_5Signature(::gnu::java::security::sig::rsa::RSAPKCS1V1_5Signature *);
public:
  virtual ::java::lang::Object * clone();
public: // actually protected
  virtual void setupForVerification(::java::security::PublicKey *);
  virtual void setupForSigning(::java::security::PrivateKey *);
  virtual ::java::lang::Object * generateSignature();
  virtual jboolean verifySignature(::java::lang::Object *);
private:
  ::gnu::java::security::sig::rsa::EMSA_PKCS1_V1_5 * __attribute__((aligned(__alignof__( ::gnu::java::security::sig::BaseSignature)))) pkcs1;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_java_security_sig_rsa_RSAPKCS1V1_5Signature__
