CipherOutputStream.h 1008 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_crypto_CipherOutputStream__
  3. #define __javax_crypto_CipherOutputStream__
  4. #pragma interface
  5. #include <java/io/FilterOutputStream.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace javax
  10. {
  11. namespace crypto
  12. {
  13. class Cipher;
  14. class CipherOutputStream;
  15. }
  16. }
  17. }
  18. class javax::crypto::CipherOutputStream : public ::java::io::FilterOutputStream
  19. {
  20. public:
  21. CipherOutputStream(::java::io::OutputStream *, ::javax::crypto::Cipher *);
  22. public: // actually protected
  23. CipherOutputStream(::java::io::OutputStream *);
  24. public:
  25. virtual void close();
  26. virtual void flush();
  27. virtual void write(jint);
  28. virtual void write(JArray< jbyte > *);
  29. virtual void write(JArray< jbyte > *, jint, jint);
  30. private:
  31. ::javax::crypto::Cipher * __attribute__((aligned(__alignof__( ::java::io::FilterOutputStream)))) cipher;
  32. public:
  33. static ::java::lang::Class class$;
  34. };
  35. #endif // __javax_crypto_CipherOutputStream__