MacAdapter.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_crypto_jce_mac_MacAdapter__
  3. #define __gnu_javax_crypto_jce_mac_MacAdapter__
  4. #pragma interface
  5. #include <javax/crypto/MacSpi.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace gnu
  10. {
  11. namespace javax
  12. {
  13. namespace crypto
  14. {
  15. namespace jce
  16. {
  17. namespace mac
  18. {
  19. class MacAdapter;
  20. }
  21. }
  22. namespace mac
  23. {
  24. class IMac;
  25. }
  26. }
  27. }
  28. }
  29. namespace java
  30. {
  31. namespace security
  32. {
  33. class Key;
  34. namespace spec
  35. {
  36. class AlgorithmParameterSpec;
  37. }
  38. }
  39. }
  40. }
  41. class gnu::javax::crypto::jce::mac::MacAdapter : public ::javax::crypto::MacSpi
  42. {
  43. public: // actually protected
  44. MacAdapter(::java::lang::String *);
  45. private:
  46. MacAdapter(::gnu::javax::crypto::mac::IMac *, ::java::util::Map *);
  47. public:
  48. virtual ::java::lang::Object * clone();
  49. public: // actually protected
  50. virtual JArray< jbyte > * engineDoFinal();
  51. virtual jint engineGetMacLength();
  52. virtual void engineInit(::java::security::Key *, ::java::security::spec::AlgorithmParameterSpec *);
  53. virtual void engineReset();
  54. virtual void engineUpdate(jbyte);
  55. virtual void engineUpdate(JArray< jbyte > *, jint, jint);
  56. ::gnu::javax::crypto::mac::IMac * __attribute__((aligned(__alignof__( ::javax::crypto::MacSpi)))) mac;
  57. ::java::util::Map * attributes;
  58. public:
  59. static ::java::lang::Class class$;
  60. };
  61. #endif // __gnu_javax_crypto_jce_mac_MacAdapter__