ClientMechanism.h 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_crypto_sasl_ClientMechanism__
  3. #define __gnu_javax_crypto_sasl_ClientMechanism__
  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 ClientMechanism;
  18. }
  19. }
  20. }
  21. }
  22. namespace javax
  23. {
  24. namespace security
  25. {
  26. namespace auth
  27. {
  28. namespace callback
  29. {
  30. class CallbackHandler;
  31. }
  32. }
  33. }
  34. }
  35. }
  36. class gnu::javax::crypto::sasl::ClientMechanism : public ::java::lang::Object
  37. {
  38. public: // actually protected
  39. ClientMechanism(::java::lang::String *);
  40. virtual void initMechanism() = 0;
  41. virtual void resetMechanism() = 0;
  42. public:
  43. virtual JArray< jbyte > * evaluateChallenge(JArray< jbyte > *) = 0;
  44. virtual jboolean hasInitialResponse() = 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::Object * getNegotiatedProperty(::java::lang::String *);
  50. virtual void dispose();
  51. virtual ::java::lang::String * getAuthorizationID();
  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 * getNegotiatedRawSendSize();
  58. virtual ::java::lang::String * getNegotiatedPolicyNoPlainText();
  59. virtual ::java::lang::String * getNegotiatedPolicyNoActive();
  60. virtual ::java::lang::String * getNegotiatedPolicyNoDictionary();
  61. virtual ::java::lang::String * getNegotiatedPolicyNoAnonymous();
  62. virtual ::java::lang::String * getNegotiatedPolicyForwardSecrecy();
  63. virtual ::java::lang::String * getNegotiatedPolicyPassCredentials();
  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 * authorizationID;
  73. ::java::lang::String * protocol;
  74. ::java::lang::String * serverName;
  75. ::java::util::Map * properties;
  76. ::javax::security::auth::callback::CallbackHandler * handler;
  77. JArray< jbyte > * channelBinding;
  78. jboolean complete;
  79. jint state;
  80. public:
  81. static ::java::lang::Class class$;
  82. };
  83. #endif // __gnu_javax_crypto_sasl_ClientMechanism__