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

#ifndef __gnu_java_security_provider_EncodedKeyFactory__
#define __gnu_java_security_provider_EncodedKeyFactory__

#pragma interface

#include <java/security/KeyFactorySpi.h>

extern "Java"
{
  namespace java
  {
    namespace security
    {
      class Key;
      class PrivateKey;
      class PublicKey;
      namespace spec
      {
        class KeySpec;
      }
    }
  }
  namespace gnu
  {
    namespace java
    {
      namespace security
      {
        namespace provider
        {
          class EncodedKeyFactory;
        }
        class OID;
      }
    }
  }
}

class gnu::java::security::provider::EncodedKeyFactory : public ::java::security::KeyFactorySpi
{
public:
  virtual ::java::security::PublicKey *engineGeneratePublic (::java::security::spec::KeySpec *);
  virtual ::java::security::PrivateKey *engineGeneratePrivate (::java::security::spec::KeySpec *);
  virtual ::java::security::spec::KeySpec *engineGetKeySpec (::java::security::Key *, ::java::lang::Class *);
  virtual ::java::security::Key *engineTranslateKey (::java::security::Key *);
  EncodedKeyFactory ();
private:
  static ::gnu::java::security::OID *ID_DSA;
  static ::gnu::java::security::OID *ID_RSA;
  static ::gnu::java::security::OID *ID_DH;
public:

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

#endif /* __gnu_java_security_provider_EncodedKeyFactory__ */
