BaseMac.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_crypto_mac_BaseMac__
  3. #define __gnu_javax_crypto_mac_BaseMac__
  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 crypto
  24. {
  25. namespace mac
  26. {
  27. class BaseMac;
  28. }
  29. }
  30. }
  31. }
  32. }
  33. class gnu::javax::crypto::mac::BaseMac : public ::java::lang::Object
  34. {
  35. public: // actually protected
  36. BaseMac(::java::lang::String *);
  37. BaseMac(::java::lang::String *, ::gnu::java::security::hash::IMessageDigest *);
  38. public:
  39. virtual ::java::lang::String * name();
  40. virtual jint macSize();
  41. virtual void update(jbyte);
  42. virtual void update(JArray< jbyte > *, jint, jint);
  43. virtual void reset();
  44. virtual ::java::lang::Object * clone();
  45. virtual void init(::java::util::Map *) = 0;
  46. virtual JArray< jbyte > * digest() = 0;
  47. virtual jboolean selfTest() = 0;
  48. public: // actually protected
  49. ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name__;
  50. ::gnu::java::security::hash::IMessageDigest * underlyingHash;
  51. jint truncatedSize;
  52. public:
  53. static ::java::lang::Class class$;
  54. };
  55. #endif // __gnu_javax_crypto_mac_BaseMac__