PasswordEncryptedEntry.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_crypto_keyring_PasswordEncryptedEntry__
  3. #define __gnu_javax_crypto_keyring_PasswordEncryptedEntry__
  4. #pragma interface
  5. #include <gnu/javax/crypto/keyring/MaskableEnvelopeEntry.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace gnu
  10. {
  11. namespace javax
  12. {
  13. namespace crypto
  14. {
  15. namespace keyring
  16. {
  17. class PasswordEncryptedEntry;
  18. class Properties;
  19. }
  20. namespace mode
  21. {
  22. class IMode;
  23. }
  24. }
  25. }
  26. }
  27. }
  28. class gnu::javax::crypto::keyring::PasswordEncryptedEntry : public ::gnu::javax::crypto::keyring::MaskableEnvelopeEntry
  29. {
  30. public:
  31. PasswordEncryptedEntry(::java::lang::String *, ::java::lang::String *, jint, ::gnu::javax::crypto::keyring::Properties *);
  32. private:
  33. PasswordEncryptedEntry();
  34. public:
  35. static ::gnu::javax::crypto::keyring::PasswordEncryptedEntry * decode(::java::io::DataInputStream *, JArray< jchar > *);
  36. static ::gnu::javax::crypto::keyring::PasswordEncryptedEntry * decode(::java::io::DataInputStream *);
  37. virtual void decrypt(JArray< jchar > *);
  38. virtual void encrypt(JArray< jchar > *);
  39. virtual void encode(::java::io::DataOutputStream *, JArray< jchar > *);
  40. public: // actually protected
  41. virtual void encodePayload();
  42. private:
  43. ::gnu::javax::crypto::mode::IMode * getMode(JArray< jchar > *, jint);
  44. static ::java::util::logging::Logger * log;
  45. public:
  46. static const jint TYPE = 1;
  47. static ::java::lang::Class class$;
  48. };
  49. #endif // __gnu_javax_crypto_keyring_PasswordEncryptedEntry__