BasePad.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_crypto_pad_BasePad__
  3. #define __gnu_javax_crypto_pad_BasePad__
  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 pad
  16. {
  17. class BasePad;
  18. }
  19. }
  20. }
  21. }
  22. }
  23. class gnu::javax::crypto::pad::BasePad : public ::java::lang::Object
  24. {
  25. public: // actually protected
  26. BasePad(::java::lang::String *);
  27. public:
  28. virtual ::java::lang::String * name();
  29. virtual void init(jint);
  30. virtual void init(::java::util::Map *);
  31. virtual void reset();
  32. virtual jboolean selfTest();
  33. public: // actually protected
  34. virtual jboolean test1BlockSize(jint, JArray< jbyte > *);
  35. public:
  36. virtual void setup() = 0;
  37. virtual JArray< jbyte > * pad(JArray< jbyte > *, jint, jint) = 0;
  38. virtual jint unpad(JArray< jbyte > *, jint, jint) = 0;
  39. private:
  40. static ::java::util::logging::Logger * log;
  41. public: // actually protected
  42. ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name__;
  43. jint blockSize;
  44. public:
  45. static ::java::lang::Class class$;
  46. };
  47. #endif // __gnu_javax_crypto_pad_BasePad__