PBKDF2.h 1006 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_crypto_prng_PBKDF2__
  3. #define __gnu_javax_crypto_prng_PBKDF2__
  4. #pragma interface
  5. #include <gnu/java/security/prng/BasePRNG.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace gnu
  10. {
  11. namespace javax
  12. {
  13. namespace crypto
  14. {
  15. namespace mac
  16. {
  17. class IMac;
  18. }
  19. namespace prng
  20. {
  21. class PBKDF2;
  22. }
  23. }
  24. }
  25. }
  26. }
  27. class gnu::javax::crypto::prng::PBKDF2 : public ::gnu::java::security::prng::BasePRNG
  28. {
  29. public:
  30. PBKDF2(::gnu::javax::crypto::mac::IMac *);
  31. virtual void setup(::java::util::Map *);
  32. virtual void fillBlock();
  33. private:
  34. JArray< jbyte > * __attribute__((aligned(__alignof__( ::gnu::java::security::prng::BasePRNG)))) in;
  35. jint iterationCount;
  36. JArray< jbyte > * salt;
  37. ::gnu::javax::crypto::mac::IMac * mac;
  38. jlong count;
  39. public:
  40. static ::java::lang::Class class$;
  41. };
  42. #endif // __gnu_javax_crypto_prng_PBKDF2__