PBKDF2SecretKeyFactory.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_crypto_jce_PBKDF2SecretKeyFactory__
  3. #define __gnu_javax_crypto_jce_PBKDF2SecretKeyFactory__
  4. #pragma interface
  5. #include <javax/crypto/SecretKeyFactorySpi.h>
  6. extern "Java"
  7. {
  8. namespace gnu
  9. {
  10. namespace javax
  11. {
  12. namespace crypto
  13. {
  14. namespace jce
  15. {
  16. class PBKDF2SecretKeyFactory;
  17. }
  18. }
  19. }
  20. }
  21. namespace java
  22. {
  23. namespace security
  24. {
  25. namespace spec
  26. {
  27. class KeySpec;
  28. }
  29. }
  30. }
  31. namespace javax
  32. {
  33. namespace crypto
  34. {
  35. class SecretKey;
  36. }
  37. }
  38. }
  39. class gnu::javax::crypto::jce::PBKDF2SecretKeyFactory : public ::javax::crypto::SecretKeyFactorySpi
  40. {
  41. public: // actually protected
  42. PBKDF2SecretKeyFactory(::java::lang::String *);
  43. virtual ::javax::crypto::SecretKey * engineGenerateSecret(::java::security::spec::KeySpec *);
  44. virtual ::java::security::spec::KeySpec * engineGetKeySpec(::javax::crypto::SecretKey *, ::java::lang::Class *);
  45. virtual ::javax::crypto::SecretKey * engineTranslateKey(::javax::crypto::SecretKey *);
  46. ::java::lang::String * __attribute__((aligned(__alignof__( ::javax::crypto::SecretKeyFactorySpi)))) macName;
  47. private:
  48. static const jint DEFAULT_ITERATION_COUNT = 1000;
  49. static const jint DEFAULT_KEY_LEN = 32;
  50. public:
  51. static ::java::lang::Class class$;
  52. };
  53. #endif // __gnu_javax_crypto_jce_PBKDF2SecretKeyFactory__