ServerHandshake.h 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_net_ssl_provider_ServerHandshake__
  3. #define __gnu_javax_net_ssl_provider_ServerHandshake__
  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 CipherSuite;
  21. class CipherSuiteList;
  22. class CompressionMethod;
  23. class CompressionMethodList;
  24. class DelegatedTask;
  25. class ProtocolVersion;
  26. class SSLEngineImpl;
  27. class ServerHandshake;
  28. class ServerHandshake$CertLoader;
  29. class ServerHandshake$GenDH;
  30. class ServerHandshake$State;
  31. class ServerNameList;
  32. }
  33. }
  34. }
  35. }
  36. }
  37. namespace java
  38. {
  39. namespace nio
  40. {
  41. class ByteBuffer;
  42. }
  43. namespace security
  44. {
  45. class KeyPair;
  46. class PrivateKey;
  47. namespace cert
  48. {
  49. class X509Certificate;
  50. }
  51. }
  52. }
  53. namespace javax
  54. {
  55. namespace net
  56. {
  57. namespace ssl
  58. {
  59. class SSLEngineResult$HandshakeStatus;
  60. }
  61. }
  62. }
  63. }
  64. class gnu::javax::net::ssl::provider::ServerHandshake : public ::gnu::javax::net::ssl::provider::AbstractHandshake
  65. {
  66. public: // actually package-private
  67. ServerHandshake(jboolean, ::gnu::javax::net::ssl::provider::SSLEngineImpl *);
  68. private:
  69. static ::gnu::javax::net::ssl::provider::ProtocolVersion * chooseProtocol(::gnu::javax::net::ssl::provider::ProtocolVersion *, JArray< ::java::lang::String * > *);
  70. ::gnu::javax::net::ssl::provider::CipherSuite * chooseSuite(::gnu::javax::net::ssl::provider::CipherSuiteList *, JArray< ::java::lang::String * > *, ::gnu::javax::net::ssl::provider::ProtocolVersion *);
  71. static ::gnu::javax::net::ssl::provider::CompressionMethod * chooseCompression(::gnu::javax::net::ssl::provider::CompressionMethodList *);
  72. public: // actually protected
  73. virtual jboolean doHash();
  74. public:
  75. virtual ::javax::net::ssl::SSLEngineResult$HandshakeStatus * implHandleInput();
  76. virtual ::javax::net::ssl::SSLEngineResult$HandshakeStatus * implHandleOutput(::java::nio::ByteBuffer *);
  77. public: // actually package-private
  78. virtual ::javax::net::ssl::SSLEngineResult$HandshakeStatus * status();
  79. virtual void checkKeyExchange();
  80. virtual void handleV2Hello(::java::nio::ByteBuffer *);
  81. private:
  82. ::java::nio::ByteBuffer * signParams(::java::nio::ByteBuffer *);
  83. void verifyClient(JArray< jbyte > *);
  84. public: // actually package-private
  85. static void access$0(::gnu::javax::net::ssl::provider::ServerHandshake *, ::java::lang::String *);
  86. static ::java::lang::String * access$1(::gnu::javax::net::ssl::provider::ServerHandshake *);
  87. static void access$2(::gnu::javax::net::ssl::provider::ServerHandshake *, ::java::security::cert::X509Certificate *);
  88. static void access$3(::gnu::javax::net::ssl::provider::ServerHandshake *, ::java::security::PrivateKey *);
  89. static ::java::security::cert::X509Certificate * access$4(::gnu::javax::net::ssl::provider::ServerHandshake *);
  90. static void access$5(::gnu::javax::net::ssl::provider::ServerHandshake *, ::java::security::KeyPair *);
  91. static ::java::security::KeyPair * access$6(::gnu::javax::net::ssl::provider::ServerHandshake *);
  92. static ::java::nio::ByteBuffer * access$7(::gnu::javax::net::ssl::provider::ServerHandshake *, ::java::nio::ByteBuffer *);
  93. static ::java::security::PrivateKey * access$8(::gnu::javax::net::ssl::provider::ServerHandshake *);
  94. static JArray< jint > * $SWITCH_TABLE$gnu$javax$net$ssl$provider$Extension$Type();
  95. static JArray< jint > * $SWITCH_TABLE$gnu$javax$net$ssl$provider$KeyExchangeAlgorithm();
  96. static JArray< jint > * $SWITCH_TABLE$gnu$javax$net$ssl$provider$ServerHandshake$State();
  97. private:
  98. ::gnu::javax::net::ssl::provider::ServerHandshake$State * __attribute__((aligned(__alignof__( ::gnu::javax::net::ssl::provider::AbstractHandshake)))) state;
  99. ::java::nio::ByteBuffer * outBuffer;
  100. jboolean clientHadExtensions;
  101. jboolean continuedSession;
  102. ::gnu::javax::net::ssl::provider::ServerNameList * requestedNames;
  103. ::java::lang::String * keyAlias;
  104. ::java::security::cert::X509Certificate * clientCert;
  105. ::java::security::cert::X509Certificate * localCert;
  106. jboolean helloV2;
  107. ::java::security::KeyPair * dhPair;
  108. ::java::security::PrivateKey * serverKey;
  109. ::gnu::javax::net::ssl::provider::ServerHandshake$GenDH * genDH;
  110. ::gnu::javax::net::ssl::provider::AbstractHandshake$CertVerifier * certVerifier;
  111. ::gnu::javax::net::ssl::provider::ServerHandshake$CertLoader * certLoader;
  112. ::gnu::javax::net::ssl::provider::DelegatedTask * keyExchangeTask;
  113. static JArray< jint > * $SWITCH_TABLE$gnu$javax$net$ssl$provider$Extension$Type__;
  114. static JArray< jint > * $SWITCH_TABLE$gnu$javax$net$ssl$provider$KeyExchangeAlgorithm__;
  115. static JArray< jint > * $SWITCH_TABLE$gnu$javax$net$ssl$provider$ServerHandshake$State__;
  116. public: // actually package-private
  117. static jboolean $assertionsDisabled;
  118. public:
  119. static ::java::lang::Class class$;
  120. };
  121. #endif // __gnu_javax_net_ssl_provider_ServerHandshake__