SSLHMac.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_net_ssl_provider_SSLHMac__
  3. #define __gnu_javax_net_ssl_provider_SSLHMac__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace gnu
  10. {
  11. namespace java
  12. {
  13. namespace security
  14. {
  15. namespace hash
  16. {
  17. class IMessageDigest;
  18. }
  19. }
  20. }
  21. namespace javax
  22. {
  23. namespace net
  24. {
  25. namespace ssl
  26. {
  27. namespace provider
  28. {
  29. class SSLHMac;
  30. }
  31. }
  32. }
  33. }
  34. }
  35. }
  36. class gnu::javax::net::ssl::provider::SSLHMac : public ::java::lang::Object
  37. {
  38. public: // actually package-private
  39. SSLHMac(::java::lang::String *);
  40. public:
  41. virtual ::java::lang::Object * clone();
  42. virtual ::java::lang::String * name();
  43. virtual jint macSize();
  44. virtual void init(::java::util::Map *);
  45. virtual void reset();
  46. virtual JArray< jbyte > * digest();
  47. virtual void update(jbyte);
  48. virtual void update(JArray< jbyte > *, jint, jint);
  49. virtual jboolean selfTest();
  50. public: // actually package-private
  51. static const jbyte PAD1 = 54;
  52. static const jbyte PAD2 = 92;
  53. public: // actually protected
  54. ::gnu::java::security::hash::IMessageDigest * __attribute__((aligned(__alignof__( ::java::lang::Object)))) md;
  55. JArray< jbyte > * key;
  56. JArray< jbyte > * pad1;
  57. JArray< jbyte > * pad2;
  58. public:
  59. static ::java::lang::Class class$;
  60. };
  61. #endif // __gnu_javax_net_ssl_provider_SSLHMac__