ClientHandshake.h 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_net_ssl_provider_ClientHandshake__
  3. #define __gnu_javax_net_ssl_provider_ClientHandshake__
  4. #pragma interface
  5. #include <gnu/javax/net/ssl/provider/AbstractHandshake.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 AbstractHandshake$CertVerifier;
  20. class ClientHandshake;
  21. class ClientHandshake$CertLoader;
  22. class ClientHandshake$GenCertVerify;
  23. class ClientHandshake$ParamsVerifier;
  24. class ClientHandshake$State;
  25. class DelegatedTask;
  26. class MaxFragmentLength;
  27. class ProtocolVersion;
  28. class SSLEngineImpl;
  29. class SessionImpl;
  30. }
  31. }
  32. }
  33. }
  34. }
  35. namespace java
  36. {
  37. namespace nio
  38. {
  39. class ByteBuffer;
  40. }
  41. namespace security
  42. {
  43. class KeyPair;
  44. class PrivateKey;
  45. }
  46. }
  47. namespace javax
  48. {
  49. namespace net
  50. {
  51. namespace ssl
  52. {
  53. class SSLEngineResult$HandshakeStatus;
  54. }
  55. }
  56. }
  57. }
  58. class gnu::javax::net::ssl::provider::ClientHandshake : public ::gnu::javax::net::ssl::provider::AbstractHandshake
  59. {
  60. public:
  61. ClientHandshake(::gnu::javax::net::ssl::provider::SSLEngineImpl *);
  62. public: // actually protected
  63. virtual ::javax::net::ssl::SSLEngineResult$HandshakeStatus * implHandleInput();
  64. virtual ::javax::net::ssl::SSLEngineResult$HandshakeStatus * implHandleOutput(::java::nio::ByteBuffer *);
  65. public: // actually package-private
  66. virtual ::javax::net::ssl::SSLEngineResult$HandshakeStatus * status();
  67. virtual void checkKeyExchange();
  68. virtual void handleV2Hello(::java::nio::ByteBuffer *);
  69. private:
  70. ::gnu::javax::net::ssl::provider::ProtocolVersion * chooseVersion();
  71. ::java::util::List * getSuites();
  72. ::java::util::List * getCompressionMethods();
  73. jboolean enableExtensions();
  74. ::gnu::javax::net::ssl::provider::MaxFragmentLength * maxFragmentLength();
  75. jboolean truncatedHMac();
  76. ::java::lang::String * getPSKIdentity();
  77. public: // actually package-private
  78. static ::gnu::javax::net::ssl::provider::ClientHandshake$ParamsVerifier * access$0(::gnu::javax::net::ssl::provider::ClientHandshake *);
  79. static void access$1(::gnu::javax::net::ssl::provider::ClientHandshake *, ::java::security::KeyPair *);
  80. static ::java::security::KeyPair * access$2(::gnu::javax::net::ssl::provider::ClientHandshake *);
  81. static void access$3(::gnu::javax::net::ssl::provider::ClientHandshake *, ::java::lang::String *);
  82. static ::java::lang::String * access$4(::gnu::javax::net::ssl::provider::ClientHandshake *);
  83. static void access$5(::gnu::javax::net::ssl::provider::ClientHandshake *, ::java::security::PrivateKey *);
  84. static ::gnu::javax::net::ssl::provider::AbstractHandshake$CertVerifier * access$6(::gnu::javax::net::ssl::provider::ClientHandshake *);
  85. static ::gnu::javax::net::ssl::provider::ProtocolVersion * access$7(::gnu::javax::net::ssl::provider::ClientHandshake *);
  86. static ::java::security::PrivateKey * access$8(::gnu::javax::net::ssl::provider::ClientHandshake *);
  87. static JArray< jint > * $SWITCH_TABLE$gnu$javax$net$ssl$provider$Extension$Type();
  88. static JArray< jint > * $SWITCH_TABLE$gnu$javax$net$ssl$provider$ClientHandshake$State();
  89. private:
  90. ::gnu::javax::net::ssl::provider::ClientHandshake$State * __attribute__((aligned(__alignof__( ::gnu::javax::net::ssl::provider::AbstractHandshake)))) state;
  91. ::java::nio::ByteBuffer * outBuffer;
  92. jboolean continuedSession;
  93. ::gnu::javax::net::ssl::provider::SessionImpl * continued;
  94. ::java::security::KeyPair * dhPair;
  95. ::java::lang::String * keyAlias;
  96. ::java::security::PrivateKey * privateKey;
  97. ::gnu::javax::net::ssl::provider::MaxFragmentLength * maxFragmentLengthSent;
  98. jboolean truncatedHMacSent;
  99. ::gnu::javax::net::ssl::provider::ProtocolVersion * sentVersion;
  100. ::gnu::javax::net::ssl::provider::AbstractHandshake$CertVerifier * certVerifier;
  101. ::gnu::javax::net::ssl::provider::ClientHandshake$ParamsVerifier * paramsVerifier;
  102. ::gnu::javax::net::ssl::provider::DelegatedTask * keyExchange;
  103. ::gnu::javax::net::ssl::provider::ClientHandshake$CertLoader * certLoader;
  104. ::gnu::javax::net::ssl::provider::ClientHandshake$GenCertVerify * genCertVerify;
  105. static JArray< jint > * $SWITCH_TABLE$gnu$javax$net$ssl$provider$Extension$Type__;
  106. static JArray< jint > * $SWITCH_TABLE$gnu$javax$net$ssl$provider$ClientHandshake$State__;
  107. public: // actually package-private
  108. static jboolean $assertionsDisabled;
  109. public:
  110. static ::java::lang::Class class$;
  111. };
  112. #endif // __gnu_javax_net_ssl_provider_ClientHandshake__