summaryrefslogtreecommitdiff
path: root/libjava/javax/net/ssl/SSLSocket.h
diff options
context:
space:
mode:
authorupstream source tree <ports@midipix.org>2015-03-15 20:14:05 -0400
committerupstream source tree <ports@midipix.org>2015-03-15 20:14:05 -0400
commit554fd8c5195424bdbcabf5de30fdc183aba391bd (patch)
tree976dc5ab7fddf506dadce60ae936f43f58787092 /libjava/javax/net/ssl/SSLSocket.h
downloadcbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.bz2
cbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.xz
obtained gcc-4.6.4.tar.bz2 from upstream website;upstream
verified gcc-4.6.4.tar.bz2.sig; imported gcc-4.6.4 source tree from verified upstream tarball. downloading a git-generated archive based on the 'upstream' tag should provide you with a source tree that is binary identical to the one extracted from the above tarball. if you have obtained the source via the command 'git clone', however, do note that line-endings of files in your working directory might differ from line-endings of the respective files in the upstream repository.
Diffstat (limited to 'libjava/javax/net/ssl/SSLSocket.h')
-rw-r--r--libjava/javax/net/ssl/SSLSocket.h66
1 files changed, 66 insertions, 0 deletions
diff --git a/libjava/javax/net/ssl/SSLSocket.h b/libjava/javax/net/ssl/SSLSocket.h
new file mode 100644
index 000000000..061bfe15e
--- /dev/null
+++ b/libjava/javax/net/ssl/SSLSocket.h
@@ -0,0 +1,66 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_net_ssl_SSLSocket__
+#define __javax_net_ssl_SSLSocket__
+
+#pragma interface
+
+#include <java/net/Socket.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class InetAddress;
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class HandshakeCompletedListener;
+ class SSLSession;
+ class SSLSocket;
+ }
+ }
+ }
+}
+
+class javax::net::ssl::SSLSocket : public ::java::net::Socket
+{
+
+public: // actually protected
+ SSLSocket();
+ SSLSocket(::java::lang::String *, jint);
+ SSLSocket(::java::net::InetAddress *, jint);
+ SSLSocket(::java::lang::String *, jint, ::java::net::InetAddress *, jint);
+ SSLSocket(::java::net::InetAddress *, jint, ::java::net::InetAddress *, jint);
+public:
+ virtual void addHandshakeCompletedListener(::javax::net::ssl::HandshakeCompletedListener *) = 0;
+ virtual void removeHandshakeCompletedListener(::javax::net::ssl::HandshakeCompletedListener *) = 0;
+ virtual JArray< ::java::lang::String * > * getEnabledCipherSuites() = 0;
+ virtual void setEnabledCipherSuites(JArray< ::java::lang::String * > *) = 0;
+ virtual JArray< ::java::lang::String * > * getEnabledProtocols() = 0;
+ virtual void setEnabledProtocols(JArray< ::java::lang::String * > *) = 0;
+ virtual jboolean getEnableSessionCreation() = 0;
+ virtual void setEnableSessionCreation(jboolean) = 0;
+ virtual jboolean getNeedClientAuth() = 0;
+ virtual void setNeedClientAuth(jboolean) = 0;
+ virtual ::javax::net::ssl::SSLSession * getSession() = 0;
+ virtual JArray< ::java::lang::String * > * getSupportedCipherSuites() = 0;
+ virtual JArray< ::java::lang::String * > * getSupportedProtocols() = 0;
+ virtual jboolean getUseClientMode() = 0;
+ virtual void setUseClientMode(jboolean) = 0;
+ virtual jboolean getWantClientAuth() = 0;
+ virtual void setWantClientAuth(jboolean) = 0;
+ virtual void startHandshake() = 0;
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_net_ssl_SSLSocket__