OutgoingMessage.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_crypto_key_OutgoingMessage__
  3. #define __gnu_javax_crypto_key_OutgoingMessage__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace gnu
  10. {
  11. namespace javax
  12. {
  13. namespace crypto
  14. {
  15. namespace key
  16. {
  17. class OutgoingMessage;
  18. }
  19. }
  20. }
  21. }
  22. namespace java
  23. {
  24. namespace math
  25. {
  26. class BigInteger;
  27. }
  28. namespace security
  29. {
  30. class Key;
  31. class PrivateKey;
  32. class PublicKey;
  33. }
  34. }
  35. }
  36. class gnu::javax::crypto::key::OutgoingMessage : public ::java::lang::Object
  37. {
  38. public:
  39. OutgoingMessage();
  40. virtual JArray< jbyte > * toByteArray();
  41. virtual JArray< jbyte > * wrap();
  42. virtual void writePublicKey(::java::security::PublicKey *);
  43. virtual void writePrivateKey(::java::security::PrivateKey *);
  44. virtual void writeMPI(::java::math::BigInteger *);
  45. virtual void writeString(::java::lang::String *);
  46. private:
  47. void writeKey(::java::security::Key *);
  48. jint getKeyType(::java::security::Key *);
  49. ::java::io::ByteArrayOutputStream * __attribute__((aligned(__alignof__( ::java::lang::Object)))) out;
  50. public:
  51. static ::java::lang::Class class$;
  52. };
  53. #endif // __gnu_javax_crypto_key_OutgoingMessage__