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

#ifndef __gnu_javax_crypto_keyring_IPrivateKeyring__
#define __gnu_javax_crypto_keyring_IPrivateKeyring__

#pragma interface

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

extern "Java"
{
  namespace gnu
  {
    namespace javax
    {
      namespace crypto
      {
        namespace keyring
        {
            class Entry;
            class IPrivateKeyring;
        }
      }
    }
  }
  namespace java
  {
    namespace security
    {
        class Key;
        class PublicKey;
      namespace cert
      {
          class Certificate;
      }
    }
  }
}

class gnu::javax::crypto::keyring::IPrivateKeyring : public ::java::lang::Object
{

public:
  virtual jboolean containsPrivateKey(::java::lang::String *) = 0;
  virtual ::java::security::Key * getPrivateKey(::java::lang::String *, JArray< jchar > *) = 0;
  virtual void putPrivateKey(::java::lang::String *, ::java::security::Key *, JArray< jchar > *) = 0;
  virtual jboolean containsPublicKey(::java::lang::String *) = 0;
  virtual ::java::security::PublicKey * getPublicKey(::java::lang::String *) = 0;
  virtual void putPublicKey(::java::lang::String *, ::java::security::PublicKey *) = 0;
  virtual jboolean containsCertPath(::java::lang::String *) = 0;
  virtual JArray< ::java::security::cert::Certificate * > * getCertPath(::java::lang::String *) = 0;
  virtual void putCertPath(::java::lang::String *, JArray< ::java::security::cert::Certificate * > *) = 0;
  virtual void load(::java::util::Map *) = 0;
  virtual void store(::java::util::Map *) = 0;
  virtual void reset() = 0;
  virtual jint size() = 0;
  virtual ::java::util::Enumeration * aliases() = 0;
  virtual jboolean containsAlias(::java::lang::String *) = 0;
  virtual ::java::util::List * get(::java::lang::String *) = 0;
  virtual void add(::gnu::javax::crypto::keyring::Entry *) = 0;
  virtual void remove(::java::lang::String *) = 0;
  static ::java::lang::Class class$;
} __attribute__ ((java_interface));

#endif // __gnu_javax_crypto_keyring_IPrivateKeyring__
