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

#ifndef __javax_crypto_KeyAgreementSpi__
#define __javax_crypto_KeyAgreementSpi__

#pragma interface

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

extern "Java"
{
  namespace javax
  {
    namespace crypto
    {
      class KeyAgreementSpi;
      class SecretKey;
    }
  }
  namespace java
  {
    namespace security
    {
      class SecureRandom;
      namespace spec
      {
        class AlgorithmParameterSpec;
      }
      class Key;
    }
  }
}

class javax::crypto::KeyAgreementSpi : public ::java::lang::Object
{
public:
  KeyAgreementSpi ();
public:  // actually protected
  virtual ::java::security::Key *engineDoPhase (::java::security::Key *, jboolean) = 0;
  virtual jbyteArray engineGenerateSecret () = 0;
  virtual jint engineGenerateSecret (jbyteArray, jint) = 0;
  virtual ::javax::crypto::SecretKey *engineGenerateSecret (::java::lang::String *) = 0;
  virtual void engineInit (::java::security::Key *, ::java::security::spec::AlgorithmParameterSpec *, ::java::security::SecureRandom *) = 0;
  virtual void engineInit (::java::security::Key *, ::java::security::SecureRandom *) = 0;
public:

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

#endif /* __javax_crypto_KeyAgreementSpi__ */
