ClientHello.h 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_net_ssl_provider_ClientHello__
  3. #define __gnu_javax_net_ssl_provider_ClientHello__
  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 net
  14. {
  15. namespace ssl
  16. {
  17. namespace provider
  18. {
  19. class CipherSuiteList;
  20. class ClientHello;
  21. class CompressionMethodList;
  22. class ExtensionList;
  23. class ProtocolVersion;
  24. class Random;
  25. }
  26. }
  27. }
  28. }
  29. }
  30. namespace java
  31. {
  32. namespace nio
  33. {
  34. class ByteBuffer;
  35. }
  36. }
  37. }
  38. class gnu::javax::net::ssl::provider::ClientHello : public ::java::lang::Object
  39. {
  40. public:
  41. ClientHello(::java::nio::ByteBuffer *);
  42. virtual jint length();
  43. virtual ::gnu::javax::net::ssl::provider::ProtocolVersion * version();
  44. virtual ::gnu::javax::net::ssl::provider::Random * random();
  45. virtual JArray< jbyte > * sessionId();
  46. virtual ::gnu::javax::net::ssl::provider::CipherSuiteList * cipherSuites();
  47. virtual ::gnu::javax::net::ssl::provider::CompressionMethodList * compressionMethods();
  48. virtual jboolean hasExtensions();
  49. virtual ::gnu::javax::net::ssl::provider::ExtensionList * extensions();
  50. virtual jint extensionsLength();
  51. public: // actually protected
  52. virtual jint getCipherSuitesOffset();
  53. virtual jint getCompressionMethodsOffset();
  54. virtual jint getExtensionsOffset();
  55. public:
  56. virtual ::java::lang::String * toString();
  57. virtual ::java::lang::String * toString(::java::lang::String *);
  58. public: // actually protected
  59. static const jint RANDOM_OFFSET = 2;
  60. static const jint SESSID_OFFSET = 34;
  61. static const jint SESSID_OFFSET2 = 35;
  62. ::java::nio::ByteBuffer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) buffer;
  63. jboolean disableExtensions;
  64. public:
  65. static ::java::lang::Class class$;
  66. };
  67. #endif // __gnu_javax_net_ssl_provider_ClientHello__