SecretKeyFactory.h 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_crypto_SecretKeyFactory__
  3. #define __javax_crypto_SecretKeyFactory__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. extern "Java"
  7. {
  8. namespace java
  9. {
  10. namespace security
  11. {
  12. class Provider;
  13. namespace spec
  14. {
  15. class KeySpec;
  16. }
  17. }
  18. }
  19. namespace javax
  20. {
  21. namespace crypto
  22. {
  23. class SecretKey;
  24. class SecretKeyFactory;
  25. class SecretKeyFactorySpi;
  26. }
  27. }
  28. }
  29. class javax::crypto::SecretKeyFactory : public ::java::lang::Object
  30. {
  31. public: // actually protected
  32. SecretKeyFactory(::javax::crypto::SecretKeyFactorySpi *, ::java::security::Provider *, ::java::lang::String *);
  33. public:
  34. static ::javax::crypto::SecretKeyFactory * getInstance(::java::lang::String *);
  35. static ::javax::crypto::SecretKeyFactory * getInstance(::java::lang::String *, ::java::lang::String *);
  36. static ::javax::crypto::SecretKeyFactory * getInstance(::java::lang::String *, ::java::security::Provider *);
  37. virtual ::javax::crypto::SecretKey * generateSecret(::java::security::spec::KeySpec *);
  38. virtual ::java::lang::String * getAlgorithm();
  39. virtual ::java::security::spec::KeySpec * getKeySpec(::javax::crypto::SecretKey *, ::java::lang::Class *);
  40. virtual ::java::security::Provider * getProvider();
  41. virtual ::javax::crypto::SecretKey * translateKey(::javax::crypto::SecretKey *);
  42. private:
  43. static ::java::lang::String * SERVICE;
  44. ::javax::crypto::SecretKeyFactorySpi * __attribute__((aligned(__alignof__( ::java::lang::Object)))) skfSpi;
  45. ::java::security::Provider * provider;
  46. ::java::lang::String * algorithm;
  47. public:
  48. static ::java::lang::Class class$;
  49. };
  50. #endif // __javax_crypto_SecretKeyFactory__