ServerMechanism.h 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_crypto_sasl_ServerMechanism__
  3. #define __gnu_javax_crypto_sasl_ServerMechanism__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace gnu
  10. {
  11. namespace javax
  12. {
  13. namespace crypto
  14. {
  15. namespace sasl
  16. {
  17. class IAuthInfoProvider;
  18. class ServerMechanism;
  19. }
  20. }
  21. }
  22. }
  23. namespace javax
  24. {
  25. namespace security
  26. {
  27. namespace auth
  28. {
  29. namespace callback
  30. {
  31. class CallbackHandler;
  32. }
  33. }
  34. }
  35. }
  36. }
  37. class gnu::javax::crypto::sasl::ServerMechanism : public ::java::lang::Object
  38. {
  39. public: // actually protected
  40. ServerMechanism(::java::lang::String *);
  41. virtual void initMechanism() = 0;
  42. virtual void resetMechanism() = 0;
  43. public:
  44. virtual JArray< jbyte > * evaluateResponse(JArray< jbyte > *) = 0;
  45. virtual jboolean isComplete();
  46. virtual JArray< jbyte > * unwrap(JArray< jbyte > *, jint, jint);
  47. virtual JArray< jbyte > * wrap(JArray< jbyte > *, jint, jint);
  48. virtual ::java::lang::String * getMechanismName();
  49. virtual ::java::lang::String * getAuthorizationID();
  50. virtual ::java::lang::Object * getNegotiatedProperty(::java::lang::String *);
  51. virtual void dispose();
  52. public: // actually protected
  53. virtual ::java::lang::String * getNegotiatedQOP();
  54. virtual ::java::lang::String * getNegotiatedStrength();
  55. virtual ::java::lang::String * getNegotiatedServerAuth();
  56. virtual ::java::lang::String * getNegotiatedMaxBuffer();
  57. virtual ::java::lang::String * getNegotiatedPolicyNoPlainText();
  58. virtual ::java::lang::String * getNegotiatedPolicyNoActive();
  59. virtual ::java::lang::String * getNegotiatedPolicyNoDictionary();
  60. virtual ::java::lang::String * getNegotiatedPolicyNoAnonymous();
  61. virtual ::java::lang::String * getNegotiatedPolicyForwardSecrecy();
  62. virtual ::java::lang::String * getNegotiatedPolicyPassCredentials();
  63. virtual ::java::lang::String * getNegotiatedRawSendSize();
  64. virtual ::java::lang::String * getReuse();
  65. virtual JArray< jbyte > * engineUnwrap(JArray< jbyte > *, jint, jint);
  66. virtual JArray< jbyte > * engineWrap(JArray< jbyte > *, jint, jint);
  67. public:
  68. virtual void init(::java::util::Map *);
  69. virtual void reset();
  70. public: // actually protected
  71. ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) mechanism;
  72. ::java::lang::String * protocol;
  73. ::java::lang::String * serverName;
  74. ::java::util::Map * properties;
  75. ::javax::security::auth::callback::CallbackHandler * handler;
  76. jboolean complete;
  77. ::java::lang::String * authorizationID;
  78. JArray< jbyte > * channelBinding;
  79. jint state;
  80. ::gnu::javax::crypto::sasl::IAuthInfoProvider * authenticator;
  81. public:
  82. static ::java::lang::Class class$;
  83. };
  84. #endif // __gnu_javax_crypto_sasl_ServerMechanism__