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

#ifndef __org_ietf_jgss_GSSCredential__
#define __org_ietf_jgss_GSSCredential__

#pragma interface

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

extern "Java"
{
  namespace org
  {
    namespace ietf
    {
      namespace jgss
      {
          class GSSCredential;
          class GSSName;
          class Oid;
      }
    }
  }
}

class org::ietf::jgss::GSSCredential : public ::java::lang::Object
{

public:
  virtual void dispose() = 0;
  virtual ::org::ietf::jgss::GSSName * getName() = 0;
  virtual ::org::ietf::jgss::GSSName * getName(::org::ietf::jgss::Oid *) = 0;
  virtual jint getRemainingLifetime() = 0;
  virtual jint getRemainingInitLifetime(::org::ietf::jgss::Oid *) = 0;
  virtual jint getRemainingAcceptLifetime(::org::ietf::jgss::Oid *) = 0;
  virtual jint getUsage() = 0;
  virtual jint getUsage(::org::ietf::jgss::Oid *) = 0;
  virtual JArray< ::org::ietf::jgss::Oid * > * getMechs() = 0;
  virtual void add(::org::ietf::jgss::GSSName *, jint, jint, ::org::ietf::jgss::Oid *, jint) = 0;
  virtual jboolean equals(::java::lang::Object *) = 0;
  virtual jint hashCode() = 0;
  static const jint INITIATE_AND_ACCEPT = 0;
  static const jint INITIATE_ONLY = 1;
  static const jint ACCEPT_ONLY = 2;
  static const jint DEFAULT_LIFETIME = 0;
  static const jint INDEFINITE_LIFETIME = 2147483647;
  static ::java::lang::Class class$;
} __attribute__ ((java_interface));

#endif // __org_ietf_jgss_GSSCredential__
