MacInputStream.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_crypto_mac_MacInputStream__
  3. #define __gnu_javax_crypto_mac_MacInputStream__
  4. #pragma interface
  5. #include <java/io/FilterInputStream.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace gnu
  10. {
  11. namespace javax
  12. {
  13. namespace crypto
  14. {
  15. namespace mac
  16. {
  17. class IMac;
  18. class MacInputStream;
  19. }
  20. }
  21. }
  22. }
  23. }
  24. class gnu::javax::crypto::mac::MacInputStream : public ::java::io::FilterInputStream
  25. {
  26. public:
  27. MacInputStream(::java::io::InputStream *, ::gnu::javax::crypto::mac::IMac *);
  28. virtual ::gnu::javax::crypto::mac::IMac * getMac();
  29. virtual void setMac(::gnu::javax::crypto::mac::IMac *);
  30. virtual void on(jboolean);
  31. virtual jint read();
  32. virtual jint read(JArray< jbyte > *, jint, jint);
  33. private:
  34. jboolean __attribute__((aligned(__alignof__( ::java::io::FilterInputStream)))) digesting;
  35. ::gnu::javax::crypto::mac::IMac * mac;
  36. public:
  37. static ::java::lang::Class class$;
  38. };
  39. #endif // __gnu_javax_crypto_mac_MacInputStream__