GSSContext.h 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __org_ietf_jgss_GSSContext__
  3. #define __org_ietf_jgss_GSSContext__
  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 ChannelBinding;
  16. class GSSContext;
  17. class GSSCredential;
  18. class GSSName;
  19. class MessageProp;
  20. class Oid;
  21. }
  22. }
  23. }
  24. }
  25. class org::ietf::jgss::GSSContext : public ::java::lang::Object
  26. {
  27. public:
  28. virtual JArray< jbyte > * initSecContext(JArray< jbyte > *, jint, jint) = 0;
  29. virtual jint initSecContext(::java::io::InputStream *, ::java::io::OutputStream *) = 0;
  30. virtual JArray< jbyte > * acceptSecContext(JArray< jbyte > *, jint, jint) = 0;
  31. virtual void acceptSecContext(::java::io::InputStream *, ::java::io::OutputStream *) = 0;
  32. virtual jboolean isEstablished() = 0;
  33. virtual void dispose() = 0;
  34. virtual jint getWrapSizeLimit(jint, jboolean, jint) = 0;
  35. virtual JArray< jbyte > * wrap(JArray< jbyte > *, jint, jint, ::org::ietf::jgss::MessageProp *) = 0;
  36. virtual void wrap(::java::io::InputStream *, ::java::io::OutputStream *, ::org::ietf::jgss::MessageProp *) = 0;
  37. virtual JArray< jbyte > * unwrap(JArray< jbyte > *, jint, jint, ::org::ietf::jgss::MessageProp *) = 0;
  38. virtual void unwrap(::java::io::InputStream *, ::java::io::OutputStream *, ::org::ietf::jgss::MessageProp *) = 0;
  39. virtual JArray< jbyte > * getMIC(JArray< jbyte > *, jint, jint, ::org::ietf::jgss::MessageProp *) = 0;
  40. virtual void getMIC(::java::io::InputStream *, ::java::io::OutputStream *, ::org::ietf::jgss::MessageProp *) = 0;
  41. virtual void verifyMIC(JArray< jbyte > *, jint, jint, JArray< jbyte > *, jint, jint, ::org::ietf::jgss::MessageProp *) = 0;
  42. virtual void verifyMIC(::java::io::InputStream *, ::java::io::InputStream *, ::org::ietf::jgss::MessageProp *) = 0;
  43. virtual JArray< jbyte > * export$() = 0;
  44. virtual void requestMutualAuth(jboolean) = 0;
  45. virtual void requestReplayDet(jboolean) = 0;
  46. virtual void requestSequenceDet(jboolean) = 0;
  47. virtual void requestCredDeleg(jboolean) = 0;
  48. virtual void requestAnonymity(jboolean) = 0;
  49. virtual void requestConf(jboolean) = 0;
  50. virtual void requestInteg(jboolean) = 0;
  51. virtual void requestLifetime(jint) = 0;
  52. virtual void setChannelBinding(::org::ietf::jgss::ChannelBinding *) = 0;
  53. virtual jboolean getCredDelegState() = 0;
  54. virtual jboolean getMutualAuthState() = 0;
  55. virtual jboolean getReplayDetState() = 0;
  56. virtual jboolean getSequenceDetState() = 0;
  57. virtual jboolean getAnonymityState() = 0;
  58. virtual jboolean isTransferable() = 0;
  59. virtual jboolean isProtReady() = 0;
  60. virtual jboolean getConfState() = 0;
  61. virtual jboolean getIntegState() = 0;
  62. virtual jint getLifetime() = 0;
  63. virtual ::org::ietf::jgss::GSSName * getSrcName() = 0;
  64. virtual ::org::ietf::jgss::GSSName * getTargName() = 0;
  65. virtual ::org::ietf::jgss::Oid * getMech() = 0;
  66. virtual ::org::ietf::jgss::GSSCredential * getDelegCred() = 0;
  67. virtual jboolean isInitiator() = 0;
  68. static const jint DEFAULT_LIFETIME = 0;
  69. static const jint INDEFINITE_LIFETIME = 2147483647;
  70. static ::java::lang::Class class$;
  71. } __attribute__ ((java_interface));
  72. #endif // __org_ietf_jgss_GSSContext__