blob: 8877d8226e80f3679c89ae33a8e20887e5e7ade6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_javax_net_ssl_provider_SSLServerSocket__
#define __gnu_javax_net_ssl_provider_SSLServerSocket__
#pragma interface
#include <javax/net/ssl/SSLServerSocket.h>
#include <gcj/array.h>
extern "Java"
{
namespace gnu
{
namespace javax
{
namespace net
{
namespace ssl
{
class SRPTrustManager;
namespace provider
{
class SSLServerSocket;
class SessionContext;
}
}
}
}
}
namespace java
{
namespace net
{
class InetAddress;
class Socket;
}
namespace security
{
class SecureRandom;
}
}
namespace javax
{
namespace net
{
namespace ssl
{
class X509KeyManager;
class X509TrustManager;
}
}
}
}
class gnu::javax::net::ssl::provider::SSLServerSocket : public ::javax::net::ssl::SSLServerSocket
{
public: // actually package-private
SSLServerSocket();
SSLServerSocket(jint);
SSLServerSocket(jint, jint);
SSLServerSocket(jint, jint, ::java::net::InetAddress *);
public:
virtual JArray< ::java::lang::String * > * getSupportedCipherSuites();
virtual JArray< ::java::lang::String * > * getEnabledCipherSuites();
virtual void setEnabledCipherSuites(JArray< ::java::lang::String * > *);
virtual JArray< ::java::lang::String * > * getSupportedProtocols();
virtual JArray< ::java::lang::String * > * getEnabledProtocols();
virtual void setEnabledProtocols(JArray< ::java::lang::String * > *);
virtual void setUseClientMode(jboolean);
virtual jboolean getUseClientMode();
virtual void setNeedClientAuth(jboolean);
virtual jboolean getNeedClientAuth();
virtual void setWantClientAuth(jboolean);
virtual jboolean getWantClientAuth();
virtual void setEnabledSessionCreation(jboolean);
virtual void setEnableSessionCreation(jboolean);
virtual jboolean getEnableSessionCreation();
virtual ::java::net::Socket * accept();
public: // actually package-private
virtual void setSessionContext(::gnu::javax::net::ssl::provider::SessionContext *);
virtual void setKeyManager(::javax::net::ssl::X509KeyManager *);
virtual void setTrustManager(::javax::net::ssl::X509TrustManager *);
virtual void setSRPTrustManager(::gnu::javax::net::ssl::SRPTrustManager *);
virtual void setRandom(::java::security::SecureRandom *);
private:
::gnu::javax::net::ssl::provider::SessionContext * __attribute__((aligned(__alignof__( ::javax::net::ssl::SSLServerSocket)))) sessions;
::java::util::SortedSet * enabledProtocols;
::java::util::List * enabledSuites;
jboolean clientMode;
jboolean needClientAuth;
jboolean wantClientAuth;
jboolean createSessions;
::gnu::javax::net::ssl::SRPTrustManager * srpTrustManager;
::javax::net::ssl::X509TrustManager * trustManager;
::javax::net::ssl::X509KeyManager * keyManager;
::java::security::SecureRandom * random;
public:
static ::java::lang::Class class$;
};
#endif // __gnu_javax_net_ssl_provider_SSLServerSocket__
|