IAuthenticatedMode.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_crypto_mode_IAuthenticatedMode__
  3. #define __gnu_javax_crypto_mode_IAuthenticatedMode__
  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 IAuthenticatedMode;
  18. }
  19. }
  20. }
  21. }
  22. }
  23. class gnu::javax::crypto::mode::IAuthenticatedMode : 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. virtual jint macSize() = 0;
  39. virtual void update(jbyte) = 0;
  40. virtual void update(JArray< jbyte > *, jint, jint) = 0;
  41. virtual JArray< jbyte > * digest() = 0;
  42. static ::java::lang::Class class$;
  43. } __attribute__ ((java_interface));
  44. #endif // __gnu_javax_crypto_mode_IAuthenticatedMode__