IncomingMessage.h 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_crypto_key_IncomingMessage__
  3. #define __gnu_javax_crypto_key_IncomingMessage__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace gnu
  10. {
  11. namespace java
  12. {
  13. namespace security
  14. {
  15. namespace key
  16. {
  17. class IKeyPairCodec;
  18. }
  19. }
  20. }
  21. namespace javax
  22. {
  23. namespace crypto
  24. {
  25. namespace key
  26. {
  27. class IncomingMessage;
  28. }
  29. }
  30. }
  31. }
  32. namespace java
  33. {
  34. namespace math
  35. {
  36. class BigInteger;
  37. }
  38. namespace security
  39. {
  40. class PrivateKey;
  41. class PublicKey;
  42. }
  43. }
  44. }
  45. class gnu::javax::crypto::key::IncomingMessage : public ::java::lang::Object
  46. {
  47. public:
  48. IncomingMessage(JArray< jbyte > *);
  49. private:
  50. IncomingMessage();
  51. public:
  52. static ::gnu::javax::crypto::key::IncomingMessage * getInstance(JArray< jbyte > *);
  53. static ::gnu::javax::crypto::key::IncomingMessage * getInstance(JArray< jbyte > *, jint, jint);
  54. static jint twoBytesToLength(JArray< jbyte > *);
  55. static jint fourBytesToLength(JArray< jbyte > *);
  56. virtual jboolean hasMoreElements();
  57. virtual ::java::security::PublicKey * readPublicKey();
  58. virtual ::java::security::PrivateKey * readPrivateKey();
  59. virtual ::java::math::BigInteger * readMPI();
  60. virtual ::java::lang::String * readString();
  61. private:
  62. ::gnu::java::security::key::IKeyPairCodec * getKeyPairCodec(jint);
  63. public: // actually protected
  64. ::java::io::ByteArrayInputStream * __attribute__((aligned(__alignof__( ::java::lang::Object)))) in;
  65. jint length;
  66. public:
  67. static ::java::lang::Class class$;
  68. };
  69. #endif // __gnu_javax_crypto_key_IncomingMessage__