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