AESKeyWrap.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_crypto_kwa_AESKeyWrap__
  3. #define __gnu_javax_crypto_kwa_AESKeyWrap__
  4. #pragma interface
  5. #include <gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.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 Rijndael;
  18. }
  19. namespace kwa
  20. {
  21. class AESKeyWrap;
  22. }
  23. }
  24. }
  25. }
  26. }
  27. class gnu::javax::crypto::kwa::AESKeyWrap : public ::gnu::javax::crypto::kwa::BaseKeyWrappingAlgorithm
  28. {
  29. public:
  30. AESKeyWrap();
  31. public: // actually protected
  32. virtual void engineInit(::java::util::Map *);
  33. virtual JArray< jbyte > * engineWrap(JArray< jbyte > *, jint, jint);
  34. virtual JArray< jbyte > * engineUnwrap(JArray< jbyte > *, jint, jint);
  35. private:
  36. static JArray< jbyte > * DEFAULT_IV;
  37. ::gnu::javax::crypto::cipher::Rijndael * __attribute__((aligned(__alignof__( ::gnu::javax::crypto::kwa::BaseKeyWrappingAlgorithm)))) aes;
  38. JArray< jbyte > * iv;
  39. public:
  40. static ::java::lang::Class class$;
  41. };
  42. #endif // __gnu_javax_crypto_kwa_AESKeyWrap__