ECB.h 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_crypto_mode_ECB__
  3. #define __gnu_javax_crypto_mode_ECB__
  4. #pragma interface
  5. #include <gnu/javax/crypto/mode/BaseMode.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace gnu
  10. {
  11. namespace javax
  12. {
  13. namespace crypto
  14. {
  15. namespace cipher
  16. {
  17. class IBlockCipher;
  18. }
  19. namespace mode
  20. {
  21. class ECB;
  22. }
  23. }
  24. }
  25. }
  26. }
  27. class gnu::javax::crypto::mode::ECB : public ::gnu::javax::crypto::mode::BaseMode
  28. {
  29. public: // actually package-private
  30. ECB(::gnu::javax::crypto::cipher::IBlockCipher *, jint);
  31. private:
  32. ECB(::gnu::javax::crypto::mode::ECB *);
  33. public:
  34. virtual ::java::lang::Object * clone();
  35. virtual void setup();
  36. virtual void teardown();
  37. virtual void encryptBlock(JArray< jbyte > *, jint, JArray< jbyte > *, jint);
  38. virtual void decryptBlock(JArray< jbyte > *, jint, JArray< jbyte > *, jint);
  39. static ::java::lang::Class class$;
  40. };
  41. #endif // __gnu_javax_crypto_mode_ECB__