SealedObject.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_crypto_SealedObject__
  3. #define __javax_crypto_SealedObject__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace java
  10. {
  11. namespace security
  12. {
  13. class Key;
  14. }
  15. }
  16. namespace javax
  17. {
  18. namespace crypto
  19. {
  20. class Cipher;
  21. class SealedObject;
  22. }
  23. }
  24. }
  25. class javax::crypto::SealedObject : public ::java::lang::Object
  26. {
  27. public:
  28. SealedObject(::java::io::Serializable *, ::javax::crypto::Cipher *);
  29. public: // actually protected
  30. SealedObject(::javax::crypto::SealedObject *);
  31. public:
  32. virtual ::java::lang::String * getAlgorithm();
  33. virtual ::java::lang::Object * getObject(::javax::crypto::Cipher *);
  34. virtual ::java::lang::Object * getObject(::java::security::Key *);
  35. virtual ::java::lang::Object * getObject(::java::security::Key *, ::java::lang::String *);
  36. private:
  37. void readObject(::java::io::ObjectInputStream *);
  38. void writeObject(::java::io::ObjectOutputStream *);
  39. ::java::lang::Object * unseal();
  40. public: // actually protected
  41. JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) encodedParams;
  42. private:
  43. JArray< jbyte > * encryptedContent;
  44. ::java::lang::String * sealAlg;
  45. ::java::lang::String * paramsAlg;
  46. ::javax::crypto::Cipher * sealCipher;
  47. static const jlong serialVersionUID = 4482838265551344752LL;
  48. public:
  49. static ::java::lang::Class class$;
  50. };
  51. #endif // __javax_crypto_SealedObject__