EncryptedEntry.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_crypto_keyring_EncryptedEntry__
  3. #define __gnu_javax_crypto_keyring_EncryptedEntry__
  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 EncryptedEntry;
  18. class Properties;
  19. }
  20. namespace mode
  21. {
  22. class IMode;
  23. }
  24. }
  25. }
  26. }
  27. }
  28. class gnu::javax::crypto::keyring::EncryptedEntry : public ::gnu::javax::crypto::keyring::MaskableEnvelopeEntry
  29. {
  30. public:
  31. EncryptedEntry(::java::lang::String *, ::java::lang::String *, ::gnu::javax::crypto::keyring::Properties *);
  32. private:
  33. EncryptedEntry();
  34. public:
  35. static ::gnu::javax::crypto::keyring::EncryptedEntry * decode(::java::io::DataInputStream *);
  36. virtual void decrypt(JArray< jbyte > *, JArray< jbyte > *);
  37. virtual void encrypt(JArray< jbyte > *, JArray< jbyte > *);
  38. virtual void encodePayload();
  39. private:
  40. ::gnu::javax::crypto::mode::IMode * getMode(JArray< jbyte > *, JArray< jbyte > *, jint);
  41. public:
  42. static const jint TYPE = 0;
  43. static ::java::lang::Class class$;
  44. };
  45. #endif // __gnu_javax_crypto_keyring_EncryptedEntry__