summaryrefslogtreecommitdiff
path: root/libjava/javax/net
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
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')
-rw-r--r--libjava/javax/net/ServerSocketFactory.h43
-rw-r--r--libjava/javax/net/SocketFactory.h44
-rw-r--r--libjava/javax/net/VanillaServerSocketFactory.h42
-rw-r--r--libjava/javax/net/VanillaSocketFactory.h43
-rw-r--r--libjava/javax/net/ssl/CertPathTrustManagerParameters.h46
-rw-r--r--libjava/javax/net/ssl/HandshakeCompletedEvent.h66
-rw-r--r--libjava/javax/net/ssl/HandshakeCompletedListener.h33
-rw-r--r--libjava/javax/net/ssl/HostnameVerifier.h33
-rw-r--r--libjava/javax/net/ssl/HttpsURLConnection.h73
-rw-r--r--libjava/javax/net/ssl/KeyManager.h31
-rw-r--r--libjava/javax/net/ssl/KeyManagerFactory$1.h34
-rw-r--r--libjava/javax/net/ssl/KeyManagerFactory.h62
-rw-r--r--libjava/javax/net/ssl/KeyManagerFactorySpi.h48
-rw-r--r--libjava/javax/net/ssl/KeyStoreBuilderParameters.h32
-rw-r--r--libjava/javax/net/ssl/ManagerFactoryParameters.h31
-rw-r--r--libjava/javax/net/ssl/SSLContext.h68
-rw-r--r--libjava/javax/net/ssl/SSLContextSpi.h56
-rw-r--r--libjava/javax/net/ssl/SSLEngine.h80
-rw-r--r--libjava/javax/net/ssl/SSLEngineResult$HandshakeStatus.h44
-rw-r--r--libjava/javax/net/ssl/SSLEngineResult$Status.h43
-rw-r--r--libjava/javax/net/ssl/SSLEngineResult.h45
-rw-r--r--libjava/javax/net/ssl/SSLException.h37
-rw-r--r--libjava/javax/net/ssl/SSLHandshakeException.h32
-rw-r--r--libjava/javax/net/ssl/SSLKeyException.h32
-rw-r--r--libjava/javax/net/ssl/SSLPeerUnverifiedException.h32
-rw-r--r--libjava/javax/net/ssl/SSLPermission.h36
-rw-r--r--libjava/javax/net/ssl/SSLProtocolException.h32
-rw-r--r--libjava/javax/net/ssl/SSLServerSocket.h59
-rw-r--r--libjava/javax/net/ssl/SSLServerSocketFactory$ErrorServerSocketFactory.h52
-rw-r--r--libjava/javax/net/ssl/SSLServerSocketFactory.h43
-rw-r--r--libjava/javax/net/ssl/SSLSession.h73
-rw-r--r--libjava/javax/net/ssl/SSLSessionBindingEvent.h39
-rw-r--r--libjava/javax/net/ssl/SSLSessionBindingListener.h34
-rw-r--r--libjava/javax/net/ssl/SSLSessionContext.h40
-rw-r--r--libjava/javax/net/ssl/SSLSocket.h66
-rw-r--r--libjava/javax/net/ssl/SSLSocketFactory$ErrorSocketFactory.h54
-rw-r--r--libjava/javax/net/ssl/SSLSocketFactory.h50
-rw-r--r--libjava/javax/net/ssl/TrivialHostnameVerifier.h35
-rw-r--r--libjava/javax/net/ssl/TrustManager.h31
-rw-r--r--libjava/javax/net/ssl/TrustManagerFactory$1.h34
-rw-r--r--libjava/javax/net/ssl/TrustManagerFactory.h62
-rw-r--r--libjava/javax/net/ssl/TrustManagerFactorySpi.h48
-rw-r--r--libjava/javax/net/ssl/X509ExtendedKeyManager.h60
-rw-r--r--libjava/javax/net/ssl/X509KeyManager.h55
-rw-r--r--libjava/javax/net/ssl/X509TrustManager.h46
45 files changed, 2079 insertions, 0 deletions
diff --git a/libjava/javax/net/ServerSocketFactory.h b/libjava/javax/net/ServerSocketFactory.h
new file mode 100644
index 000000000..51a57097a
--- /dev/null
+++ b/libjava/javax/net/ServerSocketFactory.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_net_ServerSocketFactory__
+#define __javax_net_ServerSocketFactory__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class InetAddress;
+ class ServerSocket;
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ class ServerSocketFactory;
+ }
+ }
+}
+
+class javax::net::ServerSocketFactory : public ::java::lang::Object
+{
+
+public: // actually protected
+ ServerSocketFactory();
+public:
+ static ::javax::net::ServerSocketFactory * getDefault();
+ virtual ::java::net::ServerSocket * createServerSocket();
+ virtual ::java::net::ServerSocket * createServerSocket(jint) = 0;
+ virtual ::java::net::ServerSocket * createServerSocket(jint, jint) = 0;
+ virtual ::java::net::ServerSocket * createServerSocket(jint, jint, ::java::net::InetAddress *) = 0;
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_net_ServerSocketFactory__
diff --git a/libjava/javax/net/SocketFactory.h b/libjava/javax/net/SocketFactory.h
new file mode 100644
index 000000000..2e7821c2d
--- /dev/null
+++ b/libjava/javax/net/SocketFactory.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_net_SocketFactory__
+#define __javax_net_SocketFactory__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class InetAddress;
+ class Socket;
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ class SocketFactory;
+ }
+ }
+}
+
+class javax::net::SocketFactory : public ::java::lang::Object
+{
+
+public: // actually protected
+ SocketFactory();
+public:
+ static ::javax::net::SocketFactory * getDefault();
+ virtual ::java::net::Socket * createSocket();
+ virtual ::java::net::Socket * createSocket(::java::lang::String *, jint) = 0;
+ virtual ::java::net::Socket * createSocket(::java::lang::String *, jint, ::java::net::InetAddress *, jint) = 0;
+ virtual ::java::net::Socket * createSocket(::java::net::InetAddress *, jint) = 0;
+ virtual ::java::net::Socket * createSocket(::java::net::InetAddress *, jint, ::java::net::InetAddress *, jint) = 0;
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_net_SocketFactory__
diff --git a/libjava/javax/net/VanillaServerSocketFactory.h b/libjava/javax/net/VanillaServerSocketFactory.h
new file mode 100644
index 000000000..1c6f7dc48
--- /dev/null
+++ b/libjava/javax/net/VanillaServerSocketFactory.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_net_VanillaServerSocketFactory__
+#define __javax_net_VanillaServerSocketFactory__
+
+#pragma interface
+
+#include <javax/net/ServerSocketFactory.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class InetAddress;
+ class ServerSocket;
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ class VanillaServerSocketFactory;
+ }
+ }
+}
+
+class javax::net::VanillaServerSocketFactory : public ::javax::net::ServerSocketFactory
+{
+
+public: // actually package-private
+ VanillaServerSocketFactory();
+public:
+ virtual ::java::net::ServerSocket * createServerSocket();
+ virtual ::java::net::ServerSocket * createServerSocket(jint);
+ virtual ::java::net::ServerSocket * createServerSocket(jint, jint);
+ virtual ::java::net::ServerSocket * createServerSocket(jint, jint, ::java::net::InetAddress *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_net_VanillaServerSocketFactory__
diff --git a/libjava/javax/net/VanillaSocketFactory.h b/libjava/javax/net/VanillaSocketFactory.h
new file mode 100644
index 000000000..cca82bd7c
--- /dev/null
+++ b/libjava/javax/net/VanillaSocketFactory.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_net_VanillaSocketFactory__
+#define __javax_net_VanillaSocketFactory__
+
+#pragma interface
+
+#include <javax/net/SocketFactory.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class InetAddress;
+ class Socket;
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ class VanillaSocketFactory;
+ }
+ }
+}
+
+class javax::net::VanillaSocketFactory : public ::javax::net::SocketFactory
+{
+
+public: // actually package-private
+ VanillaSocketFactory();
+public:
+ virtual ::java::net::Socket * createSocket();
+ virtual ::java::net::Socket * createSocket(::java::lang::String *, jint);
+ virtual ::java::net::Socket * createSocket(::java::lang::String *, jint, ::java::net::InetAddress *, jint);
+ virtual ::java::net::Socket * createSocket(::java::net::InetAddress *, jint);
+ virtual ::java::net::Socket * createSocket(::java::net::InetAddress *, jint, ::java::net::InetAddress *, jint);
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_net_VanillaSocketFactory__
diff --git a/libjava/javax/net/ssl/CertPathTrustManagerParameters.h b/libjava/javax/net/ssl/CertPathTrustManagerParameters.h
new file mode 100644
index 000000000..7f7cd67a0
--- /dev/null
+++ b/libjava/javax/net/ssl/CertPathTrustManagerParameters.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_net_ssl_CertPathTrustManagerParameters__
+#define __javax_net_ssl_CertPathTrustManagerParameters__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ namespace cert
+ {
+ class CertPathParameters;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class CertPathTrustManagerParameters;
+ }
+ }
+ }
+}
+
+class javax::net::ssl::CertPathTrustManagerParameters : public ::java::lang::Object
+{
+
+public:
+ CertPathTrustManagerParameters(::java::security::cert::CertPathParameters *);
+ virtual ::java::security::cert::CertPathParameters * getParameters();
+private:
+ ::java::security::cert::CertPathParameters * __attribute__((aligned(__alignof__( ::java::lang::Object)))) params;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_net_ssl_CertPathTrustManagerParameters__
diff --git a/libjava/javax/net/ssl/HandshakeCompletedEvent.h b/libjava/javax/net/ssl/HandshakeCompletedEvent.h
new file mode 100644
index 000000000..a9c15479a
--- /dev/null
+++ b/libjava/javax/net/ssl/HandshakeCompletedEvent.h
@@ -0,0 +1,66 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_net_ssl_HandshakeCompletedEvent__
+#define __javax_net_ssl_HandshakeCompletedEvent__
+
+#pragma interface
+
+#include <java/util/EventObject.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class Principal;
+ namespace cert
+ {
+ class Certificate;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class HandshakeCompletedEvent;
+ class SSLSession;
+ class SSLSocket;
+ }
+ }
+ namespace security
+ {
+ namespace cert
+ {
+ class X509Certificate;
+ }
+ }
+ }
+}
+
+class javax::net::ssl::HandshakeCompletedEvent : public ::java::util::EventObject
+{
+
+public:
+ HandshakeCompletedEvent(::javax::net::ssl::SSLSocket *, ::javax::net::ssl::SSLSession *);
+ virtual ::java::lang::String * getCipherSuite();
+ virtual JArray< ::java::security::cert::Certificate * > * getLocalCertificates();
+ virtual ::java::security::Principal * getLocalPrincipal();
+ virtual JArray< ::java::security::cert::Certificate * > * getPeerCertificates();
+ virtual JArray< ::javax::security::cert::X509Certificate * > * getPeerCertificateChain();
+ virtual ::java::security::Principal * getPeerPrincipal();
+ virtual ::javax::net::ssl::SSLSession * getSession();
+ virtual ::javax::net::ssl::SSLSocket * getSocket();
+private:
+ static const jlong serialVersionUID = 7914963744257769778LL;
+ ::javax::net::ssl::SSLSession * __attribute__((aligned(__alignof__( ::java::util::EventObject)))) session;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_net_ssl_HandshakeCompletedEvent__
diff --git a/libjava/javax/net/ssl/HandshakeCompletedListener.h b/libjava/javax/net/ssl/HandshakeCompletedListener.h
new file mode 100644
index 000000000..7a797bd4e
--- /dev/null
+++ b/libjava/javax/net/ssl/HandshakeCompletedListener.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_net_ssl_HandshakeCompletedListener__
+#define __javax_net_ssl_HandshakeCompletedListener__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class HandshakeCompletedEvent;
+ class HandshakeCompletedListener;
+ }
+ }
+ }
+}
+
+class javax::net::ssl::HandshakeCompletedListener : public ::java::lang::Object
+{
+
+public:
+ virtual void handshakeCompleted(::javax::net::ssl::HandshakeCompletedEvent *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_net_ssl_HandshakeCompletedListener__
diff --git a/libjava/javax/net/ssl/HostnameVerifier.h b/libjava/javax/net/ssl/HostnameVerifier.h
new file mode 100644
index 000000000..34a6ff01c
--- /dev/null
+++ b/libjava/javax/net/ssl/HostnameVerifier.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_net_ssl_HostnameVerifier__
+#define __javax_net_ssl_HostnameVerifier__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class HostnameVerifier;
+ class SSLSession;
+ }
+ }
+ }
+}
+
+class javax::net::ssl::HostnameVerifier : public ::java::lang::Object
+{
+
+public:
+ virtual jboolean verify(::java::lang::String *, ::javax::net::ssl::SSLSession *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_net_ssl_HostnameVerifier__
diff --git a/libjava/javax/net/ssl/HttpsURLConnection.h b/libjava/javax/net/ssl/HttpsURLConnection.h
new file mode 100644
index 000000000..3f0165419
--- /dev/null
+++ b/libjava/javax/net/ssl/HttpsURLConnection.h
@@ -0,0 +1,73 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_net_ssl_HttpsURLConnection__
+#define __javax_net_ssl_HttpsURLConnection__
+
+#pragma interface
+
+#include <java/net/HttpURLConnection.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class URL;
+ }
+ namespace security
+ {
+ class Principal;
+ namespace cert
+ {
+ class Certificate;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class HostnameVerifier;
+ class HttpsURLConnection;
+ class SSLSocketFactory;
+ }
+ }
+ }
+}
+
+class javax::net::ssl::HttpsURLConnection : public ::java::net::HttpURLConnection
+{
+
+public: // actually protected
+ HttpsURLConnection(::java::net::URL *);
+public:
+ static ::javax::net::ssl::HostnameVerifier * getDefaultHostnameVerifier();
+ static void setDefaultHostnameVerifier(::javax::net::ssl::HostnameVerifier *);
+ static ::javax::net::ssl::SSLSocketFactory * getDefaultSSLSocketFactory();
+ static void setDefaultSSLSocketFactory(::javax::net::ssl::SSLSocketFactory *);
+ virtual ::javax::net::ssl::HostnameVerifier * getHostnameVerifier();
+ virtual void setHostnameVerifier(::javax::net::ssl::HostnameVerifier *);
+ virtual ::javax::net::ssl::SSLSocketFactory * getSSLSocketFactory();
+ virtual void setSSLSocketFactory(::javax::net::ssl::SSLSocketFactory *);
+ virtual ::java::security::Principal * getLocalPrincipal();
+ virtual ::java::security::Principal * getPeerPrincipal();
+ virtual ::java::lang::String * getCipherSuite() = 0;
+ virtual JArray< ::java::security::cert::Certificate * > * getLocalCertificates() = 0;
+ virtual JArray< ::java::security::cert::Certificate * > * getServerCertificates() = 0;
+private:
+ static ::javax::net::ssl::HostnameVerifier * defaultVerifier;
+ static ::javax::net::ssl::SSLSocketFactory * defaultFactory;
+public: // actually protected
+ ::javax::net::ssl::HostnameVerifier * __attribute__((aligned(__alignof__( ::java::net::HttpURLConnection)))) hostnameVerifier;
+private:
+ ::javax::net::ssl::SSLSocketFactory * factory;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_net_ssl_HttpsURLConnection__
diff --git a/libjava/javax/net/ssl/KeyManager.h b/libjava/javax/net/ssl/KeyManager.h
new file mode 100644
index 000000000..80b3c7600
--- /dev/null
+++ b/libjava/javax/net/ssl/KeyManager.h
@@ -0,0 +1,31 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_net_ssl_KeyManager__
+#define __javax_net_ssl_KeyManager__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class KeyManager;
+ }
+ }
+ }
+}
+
+class javax::net::ssl::KeyManager : public ::java::lang::Object
+{
+
+public:
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_net_ssl_KeyManager__
diff --git a/libjava/javax/net/ssl/KeyManagerFactory$1.h b/libjava/javax/net/ssl/KeyManagerFactory$1.h
new file mode 100644
index 000000000..600509de5
--- /dev/null
+++ b/libjava/javax/net/ssl/KeyManagerFactory$1.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_net_ssl_KeyManagerFactory$1__
+#define __javax_net_ssl_KeyManagerFactory$1__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class KeyManagerFactory$1;
+ }
+ }
+ }
+}
+
+class javax::net::ssl::KeyManagerFactory$1 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ KeyManagerFactory$1();
+public:
+ virtual ::java::lang::Object * run();
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_net_ssl_KeyManagerFactory$1__
diff --git a/libjava/javax/net/ssl/KeyManagerFactory.h b/libjava/javax/net/ssl/KeyManagerFactory.h
new file mode 100644
index 000000000..726850631
--- /dev/null
+++ b/libjava/javax/net/ssl/KeyManagerFactory.h
@@ -0,0 +1,62 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_net_ssl_KeyManagerFactory__
+#define __javax_net_ssl_KeyManagerFactory__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class KeyStore;
+ class Provider;
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class KeyManager;
+ class KeyManagerFactory;
+ class KeyManagerFactorySpi;
+ class ManagerFactoryParameters;
+ }
+ }
+ }
+}
+
+class javax::net::ssl::KeyManagerFactory : public ::java::lang::Object
+{
+
+public: // actually protected
+ KeyManagerFactory(::javax::net::ssl::KeyManagerFactorySpi *, ::java::security::Provider *, ::java::lang::String *);
+public:
+ static ::java::lang::String * getDefaultAlgorithm();
+ static ::javax::net::ssl::KeyManagerFactory * getInstance(::java::lang::String *);
+ static ::javax::net::ssl::KeyManagerFactory * getInstance(::java::lang::String *, ::java::lang::String *);
+ static ::javax::net::ssl::KeyManagerFactory * getInstance(::java::lang::String *, ::java::security::Provider *);
+ virtual ::java::lang::String * getAlgorithm();
+ virtual JArray< ::javax::net::ssl::KeyManager * > * getKeyManagers();
+ virtual ::java::security::Provider * getProvider();
+ virtual void init(::javax::net::ssl::ManagerFactoryParameters *);
+ virtual void init(::java::security::KeyStore *, JArray< jchar > *);
+private:
+ static ::java::lang::String * KEY_MANAGER_FACTORY;
+ static ::java::lang::String * DEFAULT_ALGORITHM;
+ ::javax::net::ssl::KeyManagerFactorySpi * __attribute__((aligned(__alignof__( ::java::lang::Object)))) kmfSpi;
+ ::java::security::Provider * provider;
+ ::java::lang::String * algorithm;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_net_ssl_KeyManagerFactory__
diff --git a/libjava/javax/net/ssl/KeyManagerFactorySpi.h b/libjava/javax/net/ssl/KeyManagerFactorySpi.h
new file mode 100644
index 000000000..4b8252569
--- /dev/null
+++ b/libjava/javax/net/ssl/KeyManagerFactorySpi.h
@@ -0,0 +1,48 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_net_ssl_KeyManagerFactorySpi__
+#define __javax_net_ssl_KeyManagerFactorySpi__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class KeyStore;
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class KeyManager;
+ class KeyManagerFactorySpi;
+ class ManagerFactoryParameters;
+ }
+ }
+ }
+}
+
+class javax::net::ssl::KeyManagerFactorySpi : public ::java::lang::Object
+{
+
+public:
+ KeyManagerFactorySpi();
+public: // actually protected
+ virtual JArray< ::javax::net::ssl::KeyManager * > * engineGetKeyManagers() = 0;
+ virtual void engineInit(::javax::net::ssl::ManagerFactoryParameters *) = 0;
+ virtual void engineInit(::java::security::KeyStore *, JArray< jchar > *) = 0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_net_ssl_KeyManagerFactorySpi__
diff --git a/libjava/javax/net/ssl/KeyStoreBuilderParameters.h b/libjava/javax/net/ssl/KeyStoreBuilderParameters.h
new file mode 100644
index 000000000..da1ada286
--- /dev/null
+++ b/libjava/javax/net/ssl/KeyStoreBuilderParameters.h
@@ -0,0 +1,32 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_net_ssl_KeyStoreBuilderParameters__
+#define __javax_net_ssl_KeyStoreBuilderParameters__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class KeyStoreBuilderParameters;
+ }
+ }
+ }
+}
+
+class javax::net::ssl::KeyStoreBuilderParameters : public ::java::lang::Object
+{
+
+public:
+ KeyStoreBuilderParameters();
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_net_ssl_KeyStoreBuilderParameters__
diff --git a/libjava/javax/net/ssl/ManagerFactoryParameters.h b/libjava/javax/net/ssl/ManagerFactoryParameters.h
new file mode 100644
index 000000000..e78e6e5d4
--- /dev/null
+++ b/libjava/javax/net/ssl/ManagerFactoryParameters.h
@@ -0,0 +1,31 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_net_ssl_ManagerFactoryParameters__
+#define __javax_net_ssl_ManagerFactoryParameters__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class ManagerFactoryParameters;
+ }
+ }
+ }
+}
+
+class javax::net::ssl::ManagerFactoryParameters : public ::java::lang::Object
+{
+
+public:
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_net_ssl_ManagerFactoryParameters__
diff --git a/libjava/javax/net/ssl/SSLContext.h b/libjava/javax/net/ssl/SSLContext.h
new file mode 100644
index 000000000..43be1bc99
--- /dev/null
+++ b/libjava/javax/net/ssl/SSLContext.h
@@ -0,0 +1,68 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_net_ssl_SSLContext__
+#define __javax_net_ssl_SSLContext__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class Provider;
+ class SecureRandom;
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class KeyManager;
+ class SSLContext;
+ class SSLContextSpi;
+ class SSLEngine;
+ class SSLServerSocketFactory;
+ class SSLSessionContext;
+ class SSLSocketFactory;
+ class TrustManager;
+ }
+ }
+ }
+}
+
+class javax::net::ssl::SSLContext : public ::java::lang::Object
+{
+
+public: // actually protected
+ SSLContext(::javax::net::ssl::SSLContextSpi *, ::java::security::Provider *, ::java::lang::String *);
+public:
+ static ::javax::net::ssl::SSLContext * getInstance(::java::lang::String *);
+ static ::javax::net::ssl::SSLContext * getInstance(::java::lang::String *, ::java::lang::String *);
+ static ::javax::net::ssl::SSLContext * getInstance(::java::lang::String *, ::java::security::Provider *);
+ virtual ::javax::net::ssl::SSLEngine * createSSLEngine();
+ virtual ::javax::net::ssl::SSLEngine * createSSLEngine(::java::lang::String *, jint);
+ virtual ::javax::net::ssl::SSLSessionContext * getClientSessionContext();
+ virtual ::java::lang::String * getProtocol();
+ virtual ::java::security::Provider * getProvider();
+ virtual ::javax::net::ssl::SSLSessionContext * getServerSessionContext();
+ virtual ::javax::net::ssl::SSLServerSocketFactory * getServerSocketFactory();
+ virtual ::javax::net::ssl::SSLSocketFactory * getSocketFactory();
+ virtual void init(JArray< ::javax::net::ssl::KeyManager * > *, JArray< ::javax::net::ssl::TrustManager * > *, ::java::security::SecureRandom *);
+private:
+ static ::java::lang::String * SSL_CONTEXT;
+ ::javax::net::ssl::SSLContextSpi * __attribute__((aligned(__alignof__( ::java::lang::Object)))) ctxSpi;
+ ::java::security::Provider * provider;
+ ::java::lang::String * protocol;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_net_ssl_SSLContext__
diff --git a/libjava/javax/net/ssl/SSLContextSpi.h b/libjava/javax/net/ssl/SSLContextSpi.h
new file mode 100644
index 000000000..618b0157b
--- /dev/null
+++ b/libjava/javax/net/ssl/SSLContextSpi.h
@@ -0,0 +1,56 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_net_ssl_SSLContextSpi__
+#define __javax_net_ssl_SSLContextSpi__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class SecureRandom;
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class KeyManager;
+ class SSLContextSpi;
+ class SSLEngine;
+ class SSLServerSocketFactory;
+ class SSLSessionContext;
+ class SSLSocketFactory;
+ class TrustManager;
+ }
+ }
+ }
+}
+
+class javax::net::ssl::SSLContextSpi : public ::java::lang::Object
+{
+
+public:
+ SSLContextSpi();
+public: // actually protected
+ virtual ::javax::net::ssl::SSLEngine * engineCreateSSLEngine() = 0;
+ virtual ::javax::net::ssl::SSLEngine * engineCreateSSLEngine(::java::lang::String *, jint) = 0;
+ virtual ::javax::net::ssl::SSLSessionContext * engineGetClientSessionContext() = 0;
+ virtual ::javax::net::ssl::SSLSessionContext * engineGetServerSessionContext() = 0;
+ virtual ::javax::net::ssl::SSLServerSocketFactory * engineGetServerSocketFactory() = 0;
+ virtual ::javax::net::ssl::SSLSocketFactory * engineGetSocketFactory() = 0;
+ virtual void engineInit(JArray< ::javax::net::ssl::KeyManager * > *, JArray< ::javax::net::ssl::TrustManager * > *, ::java::security::SecureRandom *) = 0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_net_ssl_SSLContextSpi__
diff --git a/libjava/javax/net/ssl/SSLEngine.h b/libjava/javax/net/ssl/SSLEngine.h
new file mode 100644
index 000000000..7bbe1b9c5
--- /dev/null
+++ b/libjava/javax/net/ssl/SSLEngine.h
@@ -0,0 +1,80 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_net_ssl_SSLEngine__
+#define __javax_net_ssl_SSLEngine__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class SSLEngine;
+ class SSLEngineResult;
+ class SSLEngineResult$HandshakeStatus;
+ class SSLSession;
+ }
+ }
+ }
+}
+
+class javax::net::ssl::SSLEngine : public ::java::lang::Object
+{
+
+public: // actually protected
+ SSLEngine();
+ SSLEngine(::java::lang::String *, jint);
+public:
+ virtual void beginHandshake() = 0;
+ virtual void closeInbound() = 0;
+ virtual void closeOutbound() = 0;
+ virtual ::java::lang::Runnable * getDelegatedTask() = 0;
+ virtual ::java::lang::String * getPeerHost();
+ virtual jint getPeerPort();
+ virtual JArray< ::java::lang::String * > * getEnabledCipherSuites() = 0;
+ virtual JArray< ::java::lang::String * > * getEnabledProtocols() = 0;
+ virtual jboolean getEnableSessionCreation() = 0;
+ virtual ::javax::net::ssl::SSLEngineResult$HandshakeStatus * getHandshakeStatus() = 0;
+ virtual jboolean getNeedClientAuth() = 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 jboolean getWantClientAuth() = 0;
+ virtual jboolean isInboundDone() = 0;
+ virtual jboolean isOutboundDone() = 0;
+ virtual void setEnabledCipherSuites(JArray< ::java::lang::String * > *) = 0;
+ virtual void setEnabledProtocols(JArray< ::java::lang::String * > *) = 0;
+ virtual void setEnableSessionCreation(jboolean) = 0;
+ virtual void setUseClientMode(jboolean) = 0;
+ virtual void setNeedClientAuth(jboolean) = 0;
+ virtual void setWantClientAuth(jboolean) = 0;
+ virtual ::javax::net::ssl::SSLEngineResult * unwrap(::java::nio::ByteBuffer *, ::java::nio::ByteBuffer *);
+ virtual ::javax::net::ssl::SSLEngineResult * unwrap(::java::nio::ByteBuffer *, JArray< ::java::nio::ByteBuffer * > *);
+ virtual ::javax::net::ssl::SSLEngineResult * unwrap(::java::nio::ByteBuffer *, JArray< ::java::nio::ByteBuffer * > *, jint, jint) = 0;
+ virtual ::javax::net::ssl::SSLEngineResult * wrap(::java::nio::ByteBuffer *, ::java::nio::ByteBuffer *);
+ virtual ::javax::net::ssl::SSLEngineResult * wrap(JArray< ::java::nio::ByteBuffer * > *, ::java::nio::ByteBuffer *);
+ virtual ::javax::net::ssl::SSLEngineResult * wrap(JArray< ::java::nio::ByteBuffer * > *, jint, jint, ::java::nio::ByteBuffer *) = 0;
+private:
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) peerHost;
+ jint peerPort;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_net_ssl_SSLEngine__
diff --git a/libjava/javax/net/ssl/SSLEngineResult$HandshakeStatus.h b/libjava/javax/net/ssl/SSLEngineResult$HandshakeStatus.h
new file mode 100644
index 000000000..8fa544db5
--- /dev/null
+++ b/libjava/javax/net/ssl/SSLEngineResult$HandshakeStatus.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_net_ssl_SSLEngineResult$HandshakeStatus__
+#define __javax_net_ssl_SSLEngineResult$HandshakeStatus__
+
+#pragma interface
+
+#include <java/lang/Enum.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class SSLEngineResult$HandshakeStatus;
+ }
+ }
+ }
+}
+
+class javax::net::ssl::SSLEngineResult$HandshakeStatus : public ::java::lang::Enum
+{
+
+ SSLEngineResult$HandshakeStatus(::java::lang::String *, jint);
+public:
+ static JArray< ::javax::net::ssl::SSLEngineResult$HandshakeStatus * > * values();
+ static ::javax::net::ssl::SSLEngineResult$HandshakeStatus * valueOf(::java::lang::String *);
+ static ::javax::net::ssl::SSLEngineResult$HandshakeStatus * NOT_HANDSHAKING;
+ static ::javax::net::ssl::SSLEngineResult$HandshakeStatus * FINISHED;
+ static ::javax::net::ssl::SSLEngineResult$HandshakeStatus * NEED_TASK;
+ static ::javax::net::ssl::SSLEngineResult$HandshakeStatus * NEED_WRAP;
+ static ::javax::net::ssl::SSLEngineResult$HandshakeStatus * NEED_UNWRAP;
+private:
+ static JArray< ::javax::net::ssl::SSLEngineResult$HandshakeStatus * > * ENUM$VALUES;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_net_ssl_SSLEngineResult$HandshakeStatus__
diff --git a/libjava/javax/net/ssl/SSLEngineResult$Status.h b/libjava/javax/net/ssl/SSLEngineResult$Status.h
new file mode 100644
index 000000000..925e3d5e8
--- /dev/null
+++ b/libjava/javax/net/ssl/SSLEngineResult$Status.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_net_ssl_SSLEngineResult$Status__
+#define __javax_net_ssl_SSLEngineResult$Status__
+
+#pragma interface
+
+#include <java/lang/Enum.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class SSLEngineResult$Status;
+ }
+ }
+ }
+}
+
+class javax::net::ssl::SSLEngineResult$Status : public ::java::lang::Enum
+{
+
+ SSLEngineResult$Status(::java::lang::String *, jint);
+public:
+ static JArray< ::javax::net::ssl::SSLEngineResult$Status * > * values();
+ static ::javax::net::ssl::SSLEngineResult$Status * valueOf(::java::lang::String *);
+ static ::javax::net::ssl::SSLEngineResult$Status * BUFFER_UNDERFLOW;
+ static ::javax::net::ssl::SSLEngineResult$Status * BUFFER_OVERFLOW;
+ static ::javax::net::ssl::SSLEngineResult$Status * OK;
+ static ::javax::net::ssl::SSLEngineResult$Status * CLOSED;
+private:
+ static JArray< ::javax::net::ssl::SSLEngineResult$Status * > * ENUM$VALUES;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_net_ssl_SSLEngineResult$Status__
diff --git a/libjava/javax/net/ssl/SSLEngineResult.h b/libjava/javax/net/ssl/SSLEngineResult.h
new file mode 100644
index 000000000..c88f3e4f8
--- /dev/null
+++ b/libjava/javax/net/ssl/SSLEngineResult.h
@@ -0,0 +1,45 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_net_ssl_SSLEngineResult__
+#define __javax_net_ssl_SSLEngineResult__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class SSLEngineResult;
+ class SSLEngineResult$HandshakeStatus;
+ class SSLEngineResult$Status;
+ }
+ }
+ }
+}
+
+class javax::net::ssl::SSLEngineResult : public ::java::lang::Object
+{
+
+public:
+ SSLEngineResult(::javax::net::ssl::SSLEngineResult$Status *, ::javax::net::ssl::SSLEngineResult$HandshakeStatus *, jint, jint);
+ virtual jint bytesConsumed();
+ virtual jint bytesProduced();
+ virtual ::javax::net::ssl::SSLEngineResult$HandshakeStatus * getHandshakeStatus();
+ virtual ::javax::net::ssl::SSLEngineResult$Status * getStatus();
+ virtual ::java::lang::String * toString();
+private:
+ ::javax::net::ssl::SSLEngineResult$HandshakeStatus * __attribute__((aligned(__alignof__( ::java::lang::Object)))) handshakeStatus;
+ ::javax::net::ssl::SSLEngineResult$Status * status;
+ jint bytesConsumed__;
+ jint bytesProduced__;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_net_ssl_SSLEngineResult__
diff --git a/libjava/javax/net/ssl/SSLException.h b/libjava/javax/net/ssl/SSLException.h
new file mode 100644
index 000000000..7364cb101
--- /dev/null
+++ b/libjava/javax/net/ssl/SSLException.h
@@ -0,0 +1,37 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_net_ssl_SSLException__
+#define __javax_net_ssl_SSLException__
+
+#pragma interface
+
+#include <java/io/IOException.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class SSLException;
+ }
+ }
+ }
+}
+
+class javax::net::ssl::SSLException : public ::java::io::IOException
+{
+
+public:
+ SSLException(::java::lang::String *);
+ SSLException(::java::lang::String *, ::java::lang::Throwable *);
+ SSLException(::java::lang::Throwable *);
+private:
+ static const jlong serialVersionUID = 4511006460650708967LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_net_ssl_SSLException__
diff --git a/libjava/javax/net/ssl/SSLHandshakeException.h b/libjava/javax/net/ssl/SSLHandshakeException.h
new file mode 100644
index 000000000..0894667b9
--- /dev/null
+++ b/libjava/javax/net/ssl/SSLHandshakeException.h
@@ -0,0 +1,32 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_net_ssl_SSLHandshakeException__
+#define __javax_net_ssl_SSLHandshakeException__
+
+#pragma interface
+
+#include <javax/net/ssl/SSLException.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class SSLHandshakeException;
+ }
+ }
+ }
+}
+
+class javax::net::ssl::SSLHandshakeException : public ::javax::net::ssl::SSLException
+{
+
+public:
+ SSLHandshakeException(::java::lang::String *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_net_ssl_SSLHandshakeException__
diff --git a/libjava/javax/net/ssl/SSLKeyException.h b/libjava/javax/net/ssl/SSLKeyException.h
new file mode 100644
index 000000000..4a6d8b69d
--- /dev/null
+++ b/libjava/javax/net/ssl/SSLKeyException.h
@@ -0,0 +1,32 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_net_ssl_SSLKeyException__
+#define __javax_net_ssl_SSLKeyException__
+
+#pragma interface
+
+#include <javax/net/ssl/SSLException.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class SSLKeyException;
+ }
+ }
+ }
+}
+
+class javax::net::ssl::SSLKeyException : public ::javax::net::ssl::SSLException
+{
+
+public:
+ SSLKeyException(::java::lang::String *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_net_ssl_SSLKeyException__
diff --git a/libjava/javax/net/ssl/SSLPeerUnverifiedException.h b/libjava/javax/net/ssl/SSLPeerUnverifiedException.h
new file mode 100644
index 000000000..d5085f1ff
--- /dev/null
+++ b/libjava/javax/net/ssl/SSLPeerUnverifiedException.h
@@ -0,0 +1,32 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_net_ssl_SSLPeerUnverifiedException__
+#define __javax_net_ssl_SSLPeerUnverifiedException__
+
+#pragma interface
+
+#include <javax/net/ssl/SSLException.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class SSLPeerUnverifiedException;
+ }
+ }
+ }
+}
+
+class javax::net::ssl::SSLPeerUnverifiedException : public ::javax::net::ssl::SSLException
+{
+
+public:
+ SSLPeerUnverifiedException(::java::lang::String *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_net_ssl_SSLPeerUnverifiedException__
diff --git a/libjava/javax/net/ssl/SSLPermission.h b/libjava/javax/net/ssl/SSLPermission.h
new file mode 100644
index 000000000..32ccc233f
--- /dev/null
+++ b/libjava/javax/net/ssl/SSLPermission.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_net_ssl_SSLPermission__
+#define __javax_net_ssl_SSLPermission__
+
+#pragma interface
+
+#include <java/security/BasicPermission.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class SSLPermission;
+ }
+ }
+ }
+}
+
+class javax::net::ssl::SSLPermission : public ::java::security::BasicPermission
+{
+
+public:
+ SSLPermission(::java::lang::String *);
+ SSLPermission(::java::lang::String *, ::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -3456898025505876775LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_net_ssl_SSLPermission__
diff --git a/libjava/javax/net/ssl/SSLProtocolException.h b/libjava/javax/net/ssl/SSLProtocolException.h
new file mode 100644
index 000000000..afe38494e
--- /dev/null
+++ b/libjava/javax/net/ssl/SSLProtocolException.h
@@ -0,0 +1,32 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_net_ssl_SSLProtocolException__
+#define __javax_net_ssl_SSLProtocolException__
+
+#pragma interface
+
+#include <javax/net/ssl/SSLException.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class SSLProtocolException;
+ }
+ }
+ }
+}
+
+class javax::net::ssl::SSLProtocolException : public ::javax::net::ssl::SSLException
+{
+
+public:
+ SSLProtocolException(::java::lang::String *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_net_ssl_SSLProtocolException__
diff --git a/libjava/javax/net/ssl/SSLServerSocket.h b/libjava/javax/net/ssl/SSLServerSocket.h
new file mode 100644
index 000000000..e47aa9e2a
--- /dev/null
+++ b/libjava/javax/net/ssl/SSLServerSocket.h
@@ -0,0 +1,59 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_net_ssl_SSLServerSocket__
+#define __javax_net_ssl_SSLServerSocket__
+
+#pragma interface
+
+#include <java/net/ServerSocket.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class InetAddress;
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class SSLServerSocket;
+ }
+ }
+ }
+}
+
+class javax::net::ssl::SSLServerSocket : public ::java::net::ServerSocket
+{
+
+public: // actually protected
+ SSLServerSocket();
+ SSLServerSocket(jint);
+ SSLServerSocket(jint, jint);
+ SSLServerSocket(jint, jint, ::java::net::InetAddress *);
+public:
+ 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 jboolean getUseClientMode() = 0;
+ virtual void setUseClientMode(jboolean) = 0;
+ virtual jboolean getWantClientAuth() = 0;
+ virtual void setWantClientAuth(jboolean) = 0;
+ virtual JArray< ::java::lang::String * > * getSupportedCipherSuites() = 0;
+ virtual JArray< ::java::lang::String * > * getSupportedProtocols() = 0;
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_net_ssl_SSLServerSocket__
diff --git a/libjava/javax/net/ssl/SSLServerSocketFactory$ErrorServerSocketFactory.h b/libjava/javax/net/ssl/SSLServerSocketFactory$ErrorServerSocketFactory.h
new file mode 100644
index 000000000..a21a8dd74
--- /dev/null
+++ b/libjava/javax/net/ssl/SSLServerSocketFactory$ErrorServerSocketFactory.h
@@ -0,0 +1,52 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_net_ssl_SSLServerSocketFactory$ErrorServerSocketFactory__
+#define __javax_net_ssl_SSLServerSocketFactory$ErrorServerSocketFactory__
+
+#pragma interface
+
+#include <javax/net/ssl/SSLServerSocketFactory.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class InetAddress;
+ class ServerSocket;
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class SSLServerSocketFactory$ErrorServerSocketFactory;
+ }
+ }
+ }
+}
+
+class javax::net::ssl::SSLServerSocketFactory$ErrorServerSocketFactory : public ::javax::net::ssl::SSLServerSocketFactory
+{
+
+public: // actually package-private
+ SSLServerSocketFactory$ErrorServerSocketFactory(::java::lang::RuntimeException *);
+public:
+ ::java::net::ServerSocket * createServerSocket();
+ ::java::net::ServerSocket * createServerSocket(jint);
+ ::java::net::ServerSocket * createServerSocket(jint, jint);
+ ::java::net::ServerSocket * createServerSocket(jint, jint, ::java::net::InetAddress *);
+ JArray< ::java::lang::String * > * getDefaultCipherSuites();
+ JArray< ::java::lang::String * > * getSupportedCipherSuites();
+private:
+ ::java::lang::RuntimeException * __attribute__((aligned(__alignof__( ::javax::net::ssl::SSLServerSocketFactory)))) x;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_net_ssl_SSLServerSocketFactory$ErrorServerSocketFactory__
diff --git a/libjava/javax/net/ssl/SSLServerSocketFactory.h b/libjava/javax/net/ssl/SSLServerSocketFactory.h
new file mode 100644
index 000000000..cffb2fbd7
--- /dev/null
+++ b/libjava/javax/net/ssl/SSLServerSocketFactory.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_net_ssl_SSLServerSocketFactory__
+#define __javax_net_ssl_SSLServerSocketFactory__
+
+#pragma interface
+
+#include <javax/net/ServerSocketFactory.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace javax
+ {
+ namespace net
+ {
+ class ServerSocketFactory;
+ namespace ssl
+ {
+ class SSLContext;
+ class SSLServerSocketFactory;
+ }
+ }
+ }
+}
+
+class javax::net::ssl::SSLServerSocketFactory : public ::javax::net::ServerSocketFactory
+{
+
+public: // actually protected
+ SSLServerSocketFactory();
+public:
+ static ::javax::net::ServerSocketFactory * getDefault();
+ virtual JArray< ::java::lang::String * > * getDefaultCipherSuites() = 0;
+ virtual JArray< ::java::lang::String * > * getSupportedCipherSuites() = 0;
+private:
+ static ::javax::net::ssl::SSLContext * context;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_net_ssl_SSLServerSocketFactory__
diff --git a/libjava/javax/net/ssl/SSLSession.h b/libjava/javax/net/ssl/SSLSession.h
new file mode 100644
index 000000000..ade9a0e30
--- /dev/null
+++ b/libjava/javax/net/ssl/SSLSession.h
@@ -0,0 +1,73 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_net_ssl_SSLSession__
+#define __javax_net_ssl_SSLSession__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class Principal;
+ namespace cert
+ {
+ class Certificate;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class SSLSession;
+ class SSLSessionContext;
+ }
+ }
+ namespace security
+ {
+ namespace cert
+ {
+ class X509Certificate;
+ }
+ }
+ }
+}
+
+class javax::net::ssl::SSLSession : public ::java::lang::Object
+{
+
+public:
+ virtual jint getApplicationBufferSize() = 0;
+ virtual ::java::lang::String * getCipherSuite() = 0;
+ virtual jlong getCreationTime() = 0;
+ virtual JArray< jbyte > * getId() = 0;
+ virtual jlong getLastAccessedTime() = 0;
+ virtual JArray< ::java::security::cert::Certificate * > * getLocalCertificates() = 0;
+ virtual ::java::security::Principal * getLocalPrincipal() = 0;
+ virtual jint getPacketBufferSize() = 0;
+ virtual JArray< ::java::security::cert::Certificate * > * getPeerCertificates() = 0;
+ virtual JArray< ::javax::security::cert::X509Certificate * > * getPeerCertificateChain() = 0;
+ virtual ::java::lang::String * getPeerHost() = 0;
+ virtual jint getPeerPort() = 0;
+ virtual ::java::security::Principal * getPeerPrincipal() = 0;
+ virtual ::java::lang::String * getProtocol() = 0;
+ virtual ::javax::net::ssl::SSLSessionContext * getSessionContext() = 0;
+ virtual JArray< ::java::lang::String * > * getValueNames() = 0;
+ virtual ::java::lang::Object * getValue(::java::lang::String *) = 0;
+ virtual void invalidate() = 0;
+ virtual jboolean isValid() = 0;
+ virtual void putValue(::java::lang::String *, ::java::lang::Object *) = 0;
+ virtual void removeValue(::java::lang::String *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_net_ssl_SSLSession__
diff --git a/libjava/javax/net/ssl/SSLSessionBindingEvent.h b/libjava/javax/net/ssl/SSLSessionBindingEvent.h
new file mode 100644
index 000000000..b8b623151
--- /dev/null
+++ b/libjava/javax/net/ssl/SSLSessionBindingEvent.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_net_ssl_SSLSessionBindingEvent__
+#define __javax_net_ssl_SSLSessionBindingEvent__
+
+#pragma interface
+
+#include <java/util/EventObject.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class SSLSession;
+ class SSLSessionBindingEvent;
+ }
+ }
+ }
+}
+
+class javax::net::ssl::SSLSessionBindingEvent : public ::java::util::EventObject
+{
+
+public:
+ SSLSessionBindingEvent(::javax::net::ssl::SSLSession *, ::java::lang::String *);
+ virtual ::java::lang::String * getName();
+ virtual ::javax::net::ssl::SSLSession * getSession();
+private:
+ static const jlong serialVersionUID = 3989172637106345LL;
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::util::EventObject)))) name;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_net_ssl_SSLSessionBindingEvent__
diff --git a/libjava/javax/net/ssl/SSLSessionBindingListener.h b/libjava/javax/net/ssl/SSLSessionBindingListener.h
new file mode 100644
index 000000000..442b749f3
--- /dev/null
+++ b/libjava/javax/net/ssl/SSLSessionBindingListener.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_net_ssl_SSLSessionBindingListener__
+#define __javax_net_ssl_SSLSessionBindingListener__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class SSLSessionBindingEvent;
+ class SSLSessionBindingListener;
+ }
+ }
+ }
+}
+
+class javax::net::ssl::SSLSessionBindingListener : public ::java::lang::Object
+{
+
+public:
+ virtual void valueBound(::javax::net::ssl::SSLSessionBindingEvent *) = 0;
+ virtual void valueUnbound(::javax::net::ssl::SSLSessionBindingEvent *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_net_ssl_SSLSessionBindingListener__
diff --git a/libjava/javax/net/ssl/SSLSessionContext.h b/libjava/javax/net/ssl/SSLSessionContext.h
new file mode 100644
index 000000000..ec20fb6a6
--- /dev/null
+++ b/libjava/javax/net/ssl/SSLSessionContext.h
@@ -0,0 +1,40 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_net_ssl_SSLSessionContext__
+#define __javax_net_ssl_SSLSessionContext__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class SSLSession;
+ class SSLSessionContext;
+ }
+ }
+ }
+}
+
+class javax::net::ssl::SSLSessionContext : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::util::Enumeration * getIds() = 0;
+ virtual ::javax::net::ssl::SSLSession * getSession(JArray< jbyte > *) = 0;
+ virtual jint getSessionCacheSize() = 0;
+ virtual jint getSessionTimeout() = 0;
+ virtual void setSessionCacheSize(jint) = 0;
+ virtual void setSessionTimeout(jint) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_net_ssl_SSLSessionContext__
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__
diff --git a/libjava/javax/net/ssl/SSLSocketFactory$ErrorSocketFactory.h b/libjava/javax/net/ssl/SSLSocketFactory$ErrorSocketFactory.h
new file mode 100644
index 000000000..df6eab75d
--- /dev/null
+++ b/libjava/javax/net/ssl/SSLSocketFactory$ErrorSocketFactory.h
@@ -0,0 +1,54 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_net_ssl_SSLSocketFactory$ErrorSocketFactory__
+#define __javax_net_ssl_SSLSocketFactory$ErrorSocketFactory__
+
+#pragma interface
+
+#include <javax/net/ssl/SSLSocketFactory.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class InetAddress;
+ class Socket;
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class SSLSocketFactory$ErrorSocketFactory;
+ }
+ }
+ }
+}
+
+class javax::net::ssl::SSLSocketFactory$ErrorSocketFactory : public ::javax::net::ssl::SSLSocketFactory
+{
+
+public: // actually package-private
+ SSLSocketFactory$ErrorSocketFactory(::java::lang::RuntimeException *);
+public:
+ ::java::net::Socket * createSocket();
+ ::java::net::Socket * createSocket(::java::lang::String *, jint);
+ ::java::net::Socket * createSocket(::java::lang::String *, jint, ::java::net::InetAddress *, jint);
+ ::java::net::Socket * createSocket(::java::net::InetAddress *, jint);
+ ::java::net::Socket * createSocket(::java::net::InetAddress *, jint, ::java::net::InetAddress *, jint);
+ JArray< ::java::lang::String * > * getDefaultCipherSuites();
+ JArray< ::java::lang::String * > * getSupportedCipherSuites();
+ ::java::net::Socket * createSocket(::java::net::Socket *, ::java::lang::String *, jint, jboolean);
+private:
+ ::java::lang::RuntimeException * __attribute__((aligned(__alignof__( ::javax::net::ssl::SSLSocketFactory)))) x;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_net_ssl_SSLSocketFactory$ErrorSocketFactory__
diff --git a/libjava/javax/net/ssl/SSLSocketFactory.h b/libjava/javax/net/ssl/SSLSocketFactory.h
new file mode 100644
index 000000000..624a97ab6
--- /dev/null
+++ b/libjava/javax/net/ssl/SSLSocketFactory.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_net_ssl_SSLSocketFactory__
+#define __javax_net_ssl_SSLSocketFactory__
+
+#pragma interface
+
+#include <javax/net/SocketFactory.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class Socket;
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ class SocketFactory;
+ namespace ssl
+ {
+ class SSLContext;
+ class SSLSocketFactory;
+ }
+ }
+ }
+}
+
+class javax::net::ssl::SSLSocketFactory : public ::javax::net::SocketFactory
+{
+
+public:
+ SSLSocketFactory();
+ static ::javax::net::SocketFactory * getDefault();
+ virtual ::java::net::Socket * createSocket(::java::net::Socket *, ::java::lang::String *, jint, jboolean) = 0;
+ virtual JArray< ::java::lang::String * > * getDefaultCipherSuites() = 0;
+ virtual JArray< ::java::lang::String * > * getSupportedCipherSuites() = 0;
+private:
+ static ::javax::net::ssl::SSLContext * context;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_net_ssl_SSLSocketFactory__
diff --git a/libjava/javax/net/ssl/TrivialHostnameVerifier.h b/libjava/javax/net/ssl/TrivialHostnameVerifier.h
new file mode 100644
index 000000000..e36085823
--- /dev/null
+++ b/libjava/javax/net/ssl/TrivialHostnameVerifier.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_net_ssl_TrivialHostnameVerifier__
+#define __javax_net_ssl_TrivialHostnameVerifier__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class SSLSession;
+ class TrivialHostnameVerifier;
+ }
+ }
+ }
+}
+
+class javax::net::ssl::TrivialHostnameVerifier : public ::java::lang::Object
+{
+
+public: // actually package-private
+ TrivialHostnameVerifier();
+public:
+ virtual jboolean verify(::java::lang::String *, ::javax::net::ssl::SSLSession *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_net_ssl_TrivialHostnameVerifier__
diff --git a/libjava/javax/net/ssl/TrustManager.h b/libjava/javax/net/ssl/TrustManager.h
new file mode 100644
index 000000000..3ef89b7b7
--- /dev/null
+++ b/libjava/javax/net/ssl/TrustManager.h
@@ -0,0 +1,31 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_net_ssl_TrustManager__
+#define __javax_net_ssl_TrustManager__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class TrustManager;
+ }
+ }
+ }
+}
+
+class javax::net::ssl::TrustManager : public ::java::lang::Object
+{
+
+public:
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_net_ssl_TrustManager__
diff --git a/libjava/javax/net/ssl/TrustManagerFactory$1.h b/libjava/javax/net/ssl/TrustManagerFactory$1.h
new file mode 100644
index 000000000..526d7ee90
--- /dev/null
+++ b/libjava/javax/net/ssl/TrustManagerFactory$1.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_net_ssl_TrustManagerFactory$1__
+#define __javax_net_ssl_TrustManagerFactory$1__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class TrustManagerFactory$1;
+ }
+ }
+ }
+}
+
+class javax::net::ssl::TrustManagerFactory$1 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ TrustManagerFactory$1();
+public:
+ virtual ::java::lang::Object * run();
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_net_ssl_TrustManagerFactory$1__
diff --git a/libjava/javax/net/ssl/TrustManagerFactory.h b/libjava/javax/net/ssl/TrustManagerFactory.h
new file mode 100644
index 000000000..2d87597c1
--- /dev/null
+++ b/libjava/javax/net/ssl/TrustManagerFactory.h
@@ -0,0 +1,62 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_net_ssl_TrustManagerFactory__
+#define __javax_net_ssl_TrustManagerFactory__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class KeyStore;
+ class Provider;
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class ManagerFactoryParameters;
+ class TrustManager;
+ class TrustManagerFactory;
+ class TrustManagerFactorySpi;
+ }
+ }
+ }
+}
+
+class javax::net::ssl::TrustManagerFactory : public ::java::lang::Object
+{
+
+public: // actually protected
+ TrustManagerFactory(::javax::net::ssl::TrustManagerFactorySpi *, ::java::security::Provider *, ::java::lang::String *);
+public:
+ static ::javax::net::ssl::TrustManagerFactory * getInstance(::java::lang::String *);
+ static ::javax::net::ssl::TrustManagerFactory * getInstance(::java::lang::String *, ::java::lang::String *);
+ static ::javax::net::ssl::TrustManagerFactory * getInstance(::java::lang::String *, ::java::security::Provider *);
+ static ::java::lang::String * getDefaultAlgorithm();
+ virtual ::java::lang::String * getAlgorithm();
+ virtual ::java::security::Provider * getProvider();
+ virtual JArray< ::javax::net::ssl::TrustManager * > * getTrustManagers();
+ virtual void init(::javax::net::ssl::ManagerFactoryParameters *);
+ virtual void init(::java::security::KeyStore *);
+private:
+ static ::java::lang::String * TRUST_MANAGER_FACTORY;
+ static ::java::lang::String * DEFAULT_ALGORITHM;
+ ::javax::net::ssl::TrustManagerFactorySpi * __attribute__((aligned(__alignof__( ::java::lang::Object)))) tmfSpi;
+ ::java::security::Provider * provider;
+ ::java::lang::String * algorithm;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_net_ssl_TrustManagerFactory__
diff --git a/libjava/javax/net/ssl/TrustManagerFactorySpi.h b/libjava/javax/net/ssl/TrustManagerFactorySpi.h
new file mode 100644
index 000000000..3c1343d74
--- /dev/null
+++ b/libjava/javax/net/ssl/TrustManagerFactorySpi.h
@@ -0,0 +1,48 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_net_ssl_TrustManagerFactorySpi__
+#define __javax_net_ssl_TrustManagerFactorySpi__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class KeyStore;
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class ManagerFactoryParameters;
+ class TrustManager;
+ class TrustManagerFactorySpi;
+ }
+ }
+ }
+}
+
+class javax::net::ssl::TrustManagerFactorySpi : public ::java::lang::Object
+{
+
+public:
+ TrustManagerFactorySpi();
+public: // actually protected
+ virtual JArray< ::javax::net::ssl::TrustManager * > * engineGetTrustManagers() = 0;
+ virtual void engineInit(::javax::net::ssl::ManagerFactoryParameters *) = 0;
+ virtual void engineInit(::java::security::KeyStore *) = 0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_net_ssl_TrustManagerFactorySpi__
diff --git a/libjava/javax/net/ssl/X509ExtendedKeyManager.h b/libjava/javax/net/ssl/X509ExtendedKeyManager.h
new file mode 100644
index 000000000..cb3b68c3a
--- /dev/null
+++ b/libjava/javax/net/ssl/X509ExtendedKeyManager.h
@@ -0,0 +1,60 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_net_ssl_X509ExtendedKeyManager__
+#define __javax_net_ssl_X509ExtendedKeyManager__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class Socket;
+ }
+ namespace security
+ {
+ class Principal;
+ class PrivateKey;
+ namespace cert
+ {
+ class X509Certificate;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class SSLEngine;
+ class X509ExtendedKeyManager;
+ }
+ }
+ }
+}
+
+class javax::net::ssl::X509ExtendedKeyManager : public ::java::lang::Object
+{
+
+public: // actually protected
+ X509ExtendedKeyManager();
+public:
+ virtual ::java::lang::String * chooseEngineClientAlias(JArray< ::java::lang::String * > *, JArray< ::java::security::Principal * > *, ::javax::net::ssl::SSLEngine *);
+ virtual ::java::lang::String * chooseEngineServerAlias(::java::lang::String *, JArray< ::java::security::Principal * > *, ::javax::net::ssl::SSLEngine *);
+ virtual ::java::lang::String * chooseClientAlias(JArray< ::java::lang::String * > *, JArray< ::java::security::Principal * > *, ::java::net::Socket *) = 0;
+ virtual ::java::lang::String * chooseServerAlias(::java::lang::String *, JArray< ::java::security::Principal * > *, ::java::net::Socket *) = 0;
+ virtual JArray< ::java::security::cert::X509Certificate * > * getCertificateChain(::java::lang::String *) = 0;
+ virtual JArray< ::java::lang::String * > * getClientAliases(::java::lang::String *, JArray< ::java::security::Principal * > *) = 0;
+ virtual ::java::security::PrivateKey * getPrivateKey(::java::lang::String *) = 0;
+ virtual JArray< ::java::lang::String * > * getServerAliases(::java::lang::String *, JArray< ::java::security::Principal * > *) = 0;
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_net_ssl_X509ExtendedKeyManager__
diff --git a/libjava/javax/net/ssl/X509KeyManager.h b/libjava/javax/net/ssl/X509KeyManager.h
new file mode 100644
index 000000000..9ce4f14c4
--- /dev/null
+++ b/libjava/javax/net/ssl/X509KeyManager.h
@@ -0,0 +1,55 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_net_ssl_X509KeyManager__
+#define __javax_net_ssl_X509KeyManager__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class Socket;
+ }
+ namespace security
+ {
+ class Principal;
+ class PrivateKey;
+ namespace cert
+ {
+ class X509Certificate;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class X509KeyManager;
+ }
+ }
+ }
+}
+
+class javax::net::ssl::X509KeyManager : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::String * chooseClientAlias(JArray< ::java::lang::String * > *, JArray< ::java::security::Principal * > *, ::java::net::Socket *) = 0;
+ virtual ::java::lang::String * chooseServerAlias(::java::lang::String *, JArray< ::java::security::Principal * > *, ::java::net::Socket *) = 0;
+ virtual JArray< ::java::security::cert::X509Certificate * > * getCertificateChain(::java::lang::String *) = 0;
+ virtual JArray< ::java::lang::String * > * getClientAliases(::java::lang::String *, JArray< ::java::security::Principal * > *) = 0;
+ virtual ::java::security::PrivateKey * getPrivateKey(::java::lang::String *) = 0;
+ virtual JArray< ::java::lang::String * > * getServerAliases(::java::lang::String *, JArray< ::java::security::Principal * > *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_net_ssl_X509KeyManager__
diff --git a/libjava/javax/net/ssl/X509TrustManager.h b/libjava/javax/net/ssl/X509TrustManager.h
new file mode 100644
index 000000000..4afd47e09
--- /dev/null
+++ b/libjava/javax/net/ssl/X509TrustManager.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_net_ssl_X509TrustManager__
+#define __javax_net_ssl_X509TrustManager__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ namespace cert
+ {
+ class X509Certificate;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class X509TrustManager;
+ }
+ }
+ }
+}
+
+class javax::net::ssl::X509TrustManager : public ::java::lang::Object
+{
+
+public:
+ virtual void checkClientTrusted(JArray< ::java::security::cert::X509Certificate * > *, ::java::lang::String *) = 0;
+ virtual void checkServerTrusted(JArray< ::java::security::cert::X509Certificate * > *, ::java::lang::String *) = 0;
+ virtual JArray< ::java::security::cert::X509Certificate * > * getAcceptedIssuers() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_net_ssl_X509TrustManager__