GSSCredential.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __org_ietf_jgss_GSSCredential__
  3. #define __org_ietf_jgss_GSSCredential__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace org
  10. {
  11. namespace ietf
  12. {
  13. namespace jgss
  14. {
  15. class GSSCredential;
  16. class GSSName;
  17. class Oid;
  18. }
  19. }
  20. }
  21. }
  22. class org::ietf::jgss::GSSCredential : public ::java::lang::Object
  23. {
  24. public:
  25. virtual void dispose() = 0;
  26. virtual ::org::ietf::jgss::GSSName * getName() = 0;
  27. virtual ::org::ietf::jgss::GSSName * getName(::org::ietf::jgss::Oid *) = 0;
  28. virtual jint getRemainingLifetime() = 0;
  29. virtual jint getRemainingInitLifetime(::org::ietf::jgss::Oid *) = 0;
  30. virtual jint getRemainingAcceptLifetime(::org::ietf::jgss::Oid *) = 0;
  31. virtual jint getUsage() = 0;
  32. virtual jint getUsage(::org::ietf::jgss::Oid *) = 0;
  33. virtual JArray< ::org::ietf::jgss::Oid * > * getMechs() = 0;
  34. virtual void add(::org::ietf::jgss::GSSName *, jint, jint, ::org::ietf::jgss::Oid *, jint) = 0;
  35. virtual jboolean equals(::java::lang::Object *) = 0;
  36. virtual jint hashCode() = 0;
  37. static const jint INITIATE_AND_ACCEPT = 0;
  38. static const jint INITIATE_ONLY = 1;
  39. static const jint ACCEPT_ONLY = 2;
  40. static const jint DEFAULT_LIFETIME = 0;
  41. static const jint INDEFINITE_LIFETIME = 2147483647;
  42. static ::java::lang::Class class$;
  43. } __attribute__ ((java_interface));
  44. #endif // __org_ietf_jgss_GSSCredential__