Transformer.h 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_crypto_assembly_Transformer__
  3. #define __gnu_javax_crypto_assembly_Transformer__
  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 assembly
  16. {
  17. class Cascade;
  18. class Direction;
  19. class Operation;
  20. class Transformer;
  21. }
  22. namespace pad
  23. {
  24. class IPad;
  25. }
  26. }
  27. }
  28. }
  29. }
  30. class gnu::javax::crypto::assembly::Transformer : public ::java::lang::Object
  31. {
  32. public: // actually protected
  33. Transformer();
  34. public:
  35. static ::gnu::javax::crypto::assembly::Transformer * getCascadeTransformer(::gnu::javax::crypto::assembly::Cascade *);
  36. static ::gnu::javax::crypto::assembly::Transformer * getPaddingTransformer(::gnu::javax::crypto::pad::IPad *);
  37. static ::gnu::javax::crypto::assembly::Transformer * getDeflateTransformer();
  38. virtual void setMode(::gnu::javax::crypto::assembly::Operation *);
  39. virtual jboolean isPreProcessing();
  40. virtual jboolean isPostProcessing();
  41. virtual void init(::java::util::Map *);
  42. virtual jint currentBlockSize();
  43. virtual void reset();
  44. virtual JArray< jbyte > * update(jbyte);
  45. virtual JArray< jbyte > * update(JArray< jbyte > *);
  46. virtual JArray< jbyte > * update(JArray< jbyte > *, jint, jint);
  47. virtual JArray< jbyte > * lastUpdate();
  48. virtual JArray< jbyte > * lastUpdate(jbyte);
  49. virtual JArray< jbyte > * lastUpdate(JArray< jbyte > *);
  50. virtual JArray< jbyte > * lastUpdate(JArray< jbyte > *, jint, jint);
  51. private:
  52. JArray< jbyte > * forwardUpdate(JArray< jbyte > *, jint, jint);
  53. JArray< jbyte > * inverseUpdate(JArray< jbyte > *, jint, jint);
  54. JArray< jbyte > * preTransform(JArray< jbyte > *, jint, jint);
  55. JArray< jbyte > * postTransform(JArray< jbyte > *, jint, jint);
  56. JArray< jbyte > * lastForwardUpdate();
  57. JArray< jbyte > * lastInverseUpdate();
  58. JArray< jbyte > * preLastTransform();
  59. JArray< jbyte > * postLastTransform();
  60. public: // actually package-private
  61. virtual void initDelegate(::java::util::Map *) = 0;
  62. virtual jint delegateBlockSize() = 0;
  63. virtual void resetDelegate() = 0;
  64. virtual JArray< jbyte > * updateDelegate(JArray< jbyte > *, jint, jint) = 0;
  65. virtual JArray< jbyte > * lastUpdateDelegate() = 0;
  66. public:
  67. static ::java::lang::String * DIRECTION;
  68. public: // actually protected
  69. ::gnu::javax::crypto::assembly::Direction * __attribute__((aligned(__alignof__( ::java::lang::Object)))) wired;
  70. ::gnu::javax::crypto::assembly::Operation * mode;
  71. ::gnu::javax::crypto::assembly::Transformer * tail;
  72. ::java::io::ByteArrayOutputStream * inBuffer;
  73. ::java::io::ByteArrayOutputStream * outBuffer;
  74. public:
  75. static ::java::lang::Class class$;
  76. };
  77. #endif // __gnu_javax_crypto_assembly_Transformer__