IMode.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_crypto_mode_IMode__
  3. #define __gnu_javax_crypto_mode_IMode__
  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 mode
  16. {
  17. class IMode;
  18. }
  19. }
  20. }
  21. }
  22. }
  23. class gnu::javax::crypto::mode::IMode : public ::java::lang::Object
  24. {
  25. public:
  26. virtual void update(JArray< jbyte > *, jint, JArray< jbyte > *, jint) = 0;
  27. virtual ::java::lang::String * name() = 0;
  28. virtual jint defaultBlockSize() = 0;
  29. virtual jint defaultKeySize() = 0;
  30. virtual ::java::util::Iterator * blockSizes() = 0;
  31. virtual ::java::util::Iterator * keySizes() = 0;
  32. virtual void init(::java::util::Map *) = 0;
  33. virtual jint currentBlockSize() = 0;
  34. virtual void reset() = 0;
  35. virtual void encryptBlock(JArray< jbyte > *, jint, JArray< jbyte > *, jint) = 0;
  36. virtual void decryptBlock(JArray< jbyte > *, jint, JArray< jbyte > *, jint) = 0;
  37. virtual jboolean selfTest() = 0;
  38. static ::java::lang::String * STATE;
  39. static ::java::lang::String * MODE_BLOCK_SIZE;
  40. static ::java::lang::String * IV;
  41. static const jint ENCRYPTION = 1;
  42. static const jint DECRYPTION = 2;
  43. static ::java::lang::Class class$;
  44. } __attribute__ ((java_interface));
  45. #endif // __gnu_javax_crypto_mode_IMode__