summaryrefslogtreecommitdiff
path: root/libjava/gnu/javax/net/ssl
diff options
context:
space:
mode:
authorTom Tromey <tromey@gcc.gnu.org>2007-01-09 19:58:05 +0000
committerTom Tromey <tromey@gcc.gnu.org>2007-01-09 19:58:05 +0000
commit97b8365cafc3a344a22d3980b8ed885f5c6d8357 (patch)
tree996a5f57d4a68c53473382e45cb22f574cb3e4db /libjava/gnu/javax/net/ssl
parentc648dedbde727ca3f883bb5fd773aa4af70d3369 (diff)
downloadgcc-97b8365cafc3a344a22d3980b8ed885f5c6d8357.tar.gz
Merged gcj-eclipse branch to trunk.
From-SVN: r120621
Diffstat (limited to 'libjava/gnu/javax/net/ssl')
-rw-r--r--libjava/gnu/javax/net/ssl/AbstractSessionContext.h71
-rw-r--r--libjava/gnu/javax/net/ssl/Base64.h43
-rw-r--r--libjava/gnu/javax/net/ssl/EntropySource.h38
-rw-r--r--libjava/gnu/javax/net/ssl/NullManagerParameters.h35
-rw-r--r--libjava/gnu/javax/net/ssl/PreSharedKeyManager.h43
-rw-r--r--libjava/gnu/javax/net/ssl/PreSharedKeyManagerParameters.h49
-rw-r--r--libjava/gnu/javax/net/ssl/PrivateCredentials.h56
-rw-r--r--libjava/gnu/javax/net/ssl/SRPManagerParameters.h49
-rw-r--r--libjava/gnu/javax/net/ssl/SRPTrustManager.h62
-rw-r--r--libjava/gnu/javax/net/ssl/SSLCipherSuite.h66
-rw-r--r--libjava/gnu/javax/net/ssl/SSLProtocolVersion.h46
-rw-r--r--libjava/gnu/javax/net/ssl/SSLRecordHandler.h50
-rw-r--r--libjava/gnu/javax/net/ssl/Session$ID.h47
-rw-r--r--libjava/gnu/javax/net/ssl/Session.h117
-rw-r--r--libjava/gnu/javax/net/ssl/SessionStoreException.h37
-rw-r--r--libjava/gnu/javax/net/ssl/StaticTrustAnchors.h54
-rw-r--r--libjava/gnu/javax/net/ssl/provider/AbstractHandshake$1.h45
-rw-r--r--libjava/gnu/javax/net/ssl/provider/AbstractHandshake$CertVerifier.h62
-rw-r--r--libjava/gnu/javax/net/ssl/provider/AbstractHandshake$DHE_PSKGen.h58
-rw-r--r--libjava/gnu/javax/net/ssl/provider/AbstractHandshake$DHPhase.h57
-rw-r--r--libjava/gnu/javax/net/ssl/provider/AbstractHandshake.h142
-rw-r--r--libjava/gnu/javax/net/ssl/provider/Alert$Description.h79
-rw-r--r--libjava/gnu/javax/net/ssl/provider/Alert$Level.h50
-rw-r--r--libjava/gnu/javax/net/ssl/provider/Alert.h65
-rw-r--r--libjava/gnu/javax/net/ssl/provider/AlertException.h49
-rw-r--r--libjava/gnu/javax/net/ssl/provider/Builder.h47
-rw-r--r--libjava/gnu/javax/net/ssl/provider/Certificate.h54
-rw-r--r--libjava/gnu/javax/net/ssl/provider/CertificateBuilder.h48
-rw-r--r--libjava/gnu/javax/net/ssl/provider/CertificateRequest$ClientCertificateType.h53
-rw-r--r--libjava/gnu/javax/net/ssl/provider/CertificateRequest$ClientType.h53
-rw-r--r--libjava/gnu/javax/net/ssl/provider/CertificateRequest.h55
-rw-r--r--libjava/gnu/javax/net/ssl/provider/CertificateRequestBuilder.h49
-rw-r--r--libjava/gnu/javax/net/ssl/provider/CertificateStatusRequest$ResponderIdIterator.h50
-rw-r--r--libjava/gnu/javax/net/ssl/provider/CertificateStatusRequest.h65
-rw-r--r--libjava/gnu/javax/net/ssl/provider/CertificateStatusType.h47
-rw-r--r--libjava/gnu/javax/net/ssl/provider/CertificateType.h49
-rw-r--r--libjava/gnu/javax/net/ssl/provider/CertificateURL$CertChainType.h49
-rw-r--r--libjava/gnu/javax/net/ssl/provider/CertificateURL$Iterator.h49
-rw-r--r--libjava/gnu/javax/net/ssl/provider/CertificateURL$URLAndOptionalHash.h61
-rw-r--r--libjava/gnu/javax/net/ssl/provider/CertificateURL.h61
-rw-r--r--libjava/gnu/javax/net/ssl/provider/CertificateVerify.h51
-rw-r--r--libjava/gnu/javax/net/ssl/provider/CipherAlgorithm.h51
-rw-r--r--libjava/gnu/javax/net/ssl/provider/CipherSuite.h145
-rw-r--r--libjava/gnu/javax/net/ssl/provider/CipherSuiteList$Iterator.h60
-rw-r--r--libjava/gnu/javax/net/ssl/provider/CipherSuiteList.h63
-rw-r--r--libjava/gnu/javax/net/ssl/provider/ClientCertificateTypeList$Iterator.h60
-rw-r--r--libjava/gnu/javax/net/ssl/provider/ClientCertificateTypeList.h60
-rw-r--r--libjava/gnu/javax/net/ssl/provider/ClientDHE_PSKParameters.h55
-rw-r--r--libjava/gnu/javax/net/ssl/provider/ClientDiffieHellmanPublic.h59
-rw-r--r--libjava/gnu/javax/net/ssl/provider/ClientHandshake$CertLoader.h47
-rw-r--r--libjava/gnu/javax/net/ssl/provider/ClientHandshake$ClientDHGen.h64
-rw-r--r--libjava/gnu/javax/net/ssl/provider/ClientHandshake$GenCertVerify.h59
-rw-r--r--libjava/gnu/javax/net/ssl/provider/ClientHandshake$ParamsVerifier.h59
-rw-r--r--libjava/gnu/javax/net/ssl/provider/ClientHandshake$RSAGen.h52
-rw-r--r--libjava/gnu/javax/net/ssl/provider/ClientHandshake$State.h62
-rw-r--r--libjava/gnu/javax/net/ssl/provider/ClientHandshake.h120
-rw-r--r--libjava/gnu/javax/net/ssl/provider/ClientHello.h75
-rw-r--r--libjava/gnu/javax/net/ssl/provider/ClientHelloBuilder.h58
-rw-r--r--libjava/gnu/javax/net/ssl/provider/ClientHelloV2.h66
-rw-r--r--libjava/gnu/javax/net/ssl/provider/ClientKeyExchange.h57
-rw-r--r--libjava/gnu/javax/net/ssl/provider/ClientKeyExchangeBuilder.h49
-rw-r--r--libjava/gnu/javax/net/ssl/provider/ClientPSKParameters.h51
-rw-r--r--libjava/gnu/javax/net/ssl/provider/ClientRSA_PSKParameters.h55
-rw-r--r--libjava/gnu/javax/net/ssl/provider/CompressionMethod.h50
-rw-r--r--libjava/gnu/javax/net/ssl/provider/CompressionMethodList$Iterator.h60
-rw-r--r--libjava/gnu/javax/net/ssl/provider/CompressionMethodList.h60
-rw-r--r--libjava/gnu/javax/net/ssl/provider/Constructed.h39
-rw-r--r--libjava/gnu/javax/net/ssl/provider/ContentType.h54
-rw-r--r--libjava/gnu/javax/net/ssl/provider/Context.h82
-rw-r--r--libjava/gnu/javax/net/ssl/provider/Debug.h41
-rw-r--r--libjava/gnu/javax/net/ssl/provider/DelegatedTask.h57
-rw-r--r--libjava/gnu/javax/net/ssl/provider/DiffieHellman.h66
-rw-r--r--libjava/gnu/javax/net/ssl/provider/DigestInputStream.h60
-rw-r--r--libjava/gnu/javax/net/ssl/provider/DigestOutputStream.h60
-rw-r--r--libjava/gnu/javax/net/ssl/provider/EmptyExchangeKeys.h41
-rw-r--r--libjava/gnu/javax/net/ssl/provider/EncryptedPreMasterSecret.h58
-rw-r--r--libjava/gnu/javax/net/ssl/provider/Enumerated.h42
-rw-r--r--libjava/gnu/javax/net/ssl/provider/ExchangeKeys.h50
-rw-r--r--libjava/gnu/javax/net/ssl/provider/Extension$Type.h56
-rw-r--r--libjava/gnu/javax/net/ssl/provider/Extension$Value.h48
-rw-r--r--libjava/gnu/javax/net/ssl/provider/Extension.h68
-rw-r--r--libjava/gnu/javax/net/ssl/provider/ExtensionList$ExtensionsIterator.h60
-rw-r--r--libjava/gnu/javax/net/ssl/provider/ExtensionList.h64
-rw-r--r--libjava/gnu/javax/net/ssl/provider/Extensions.h54
-rw-r--r--libjava/gnu/javax/net/ssl/provider/Finished.h64
-rw-r--r--libjava/gnu/javax/net/ssl/provider/GNUSecurityParameters.h98
-rw-r--r--libjava/gnu/javax/net/ssl/provider/Handshake$Body.h39
-rw-r--r--libjava/gnu/javax/net/ssl/provider/Handshake$Type.h60
-rw-r--r--libjava/gnu/javax/net/ssl/provider/Handshake$buffer.h44
-rw-r--r--libjava/gnu/javax/net/ssl/provider/Handshake.h68
-rw-r--r--libjava/gnu/javax/net/ssl/provider/HelloRequest.h41
-rw-r--r--libjava/gnu/javax/net/ssl/provider/InputSecurityParameters.h90
-rw-r--r--libjava/gnu/javax/net/ssl/provider/JCESecurityParameters.h76
-rw-r--r--libjava/gnu/javax/net/ssl/provider/JDBCSessionContext.h87
-rw-r--r--libjava/gnu/javax/net/ssl/provider/Jessie$1.h44
-rw-r--r--libjava/gnu/javax/net/ssl/provider/Jessie.h43
-rw-r--r--libjava/gnu/javax/net/ssl/provider/JessieDHPrivateKey.h68
-rw-r--r--libjava/gnu/javax/net/ssl/provider/JessieDHPublicKey.h68
-rw-r--r--libjava/gnu/javax/net/ssl/provider/JessieRSAPrivateKey.h58
-rw-r--r--libjava/gnu/javax/net/ssl/provider/JessieRSAPublicKey.h58
-rw-r--r--libjava/gnu/javax/net/ssl/provider/KeyExchangeAlgorithm.h55
-rw-r--r--libjava/gnu/javax/net/ssl/provider/KeyPool.h60
-rw-r--r--libjava/gnu/javax/net/ssl/provider/MacAlgorithm.h48
-rw-r--r--libjava/gnu/javax/net/ssl/provider/MacException.h39
-rw-r--r--libjava/gnu/javax/net/ssl/provider/MaxFragmentLength.h59
-rw-r--r--libjava/gnu/javax/net/ssl/provider/OutputSecurityParameters.h77
-rw-r--r--libjava/gnu/javax/net/ssl/provider/OverflowException.h40
-rw-r--r--libjava/gnu/javax/net/ssl/provider/PreSharedKeyManagerFactoryImpl$Manager.h52
-rw-r--r--libjava/gnu/javax/net/ssl/provider/PreSharedKeyManagerFactoryImpl.h66
-rw-r--r--libjava/gnu/javax/net/ssl/provider/ProtocolVersion.h62
-rw-r--r--libjava/gnu/javax/net/ssl/provider/Random.h62
-rw-r--r--libjava/gnu/javax/net/ssl/provider/Record.h60
-rw-r--r--libjava/gnu/javax/net/ssl/provider/RecordInput.h56
-rw-r--r--libjava/gnu/javax/net/ssl/provider/RecordInputStream.h52
-rw-r--r--libjava/gnu/javax/net/ssl/provider/RecordOutputStream.h54
-rw-r--r--libjava/gnu/javax/net/ssl/provider/RecordingInputStream.h52
-rw-r--r--libjava/gnu/javax/net/ssl/provider/SRPTrustManagerFactory$Manager.h73
-rw-r--r--libjava/gnu/javax/net/ssl/provider/SRPTrustManagerFactory.h66
-rw-r--r--libjava/gnu/javax/net/ssl/provider/SSLContextImpl.h88
-rw-r--r--libjava/gnu/javax/net/ssl/provider/SSLEngineImpl$Mode.h47
-rw-r--r--libjava/gnu/javax/net/ssl/provider/SSLEngineImpl.h128
-rw-r--r--libjava/gnu/javax/net/ssl/provider/SSLHMac.h69
-rw-r--r--libjava/gnu/javax/net/ssl/provider/SSLRSASignature.h79
-rw-r--r--libjava/gnu/javax/net/ssl/provider/SSLRSASignatureImpl.h79
-rw-r--r--libjava/gnu/javax/net/ssl/provider/SSLRandom.h74
-rw-r--r--libjava/gnu/javax/net/ssl/provider/SSLServerSocket.h104
-rw-r--r--libjava/gnu/javax/net/ssl/provider/SSLServerSocketFactory.h81
-rw-r--r--libjava/gnu/javax/net/ssl/provider/SSLServerSocketFactoryImpl.h61
-rw-r--r--libjava/gnu/javax/net/ssl/provider/SSLServerSocketImpl.h74
-rw-r--r--libjava/gnu/javax/net/ssl/provider/SSLSocket.h240
-rw-r--r--libjava/gnu/javax/net/ssl/provider/SSLSocketFactory.h81
-rw-r--r--libjava/gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.h64
-rw-r--r--libjava/gnu/javax/net/ssl/provider/SSLSocketImpl$1.h44
-rw-r--r--libjava/gnu/javax/net/ssl/provider/SSLSocketImpl$SocketInputStream.h58
-rw-r--r--libjava/gnu/javax/net/ssl/provider/SSLSocketImpl$SocketOutputStream.h58
-rw-r--r--libjava/gnu/javax/net/ssl/provider/SSLSocketImpl.h160
-rw-r--r--libjava/gnu/javax/net/ssl/provider/SSLSocketInputStream.h52
-rw-r--r--libjava/gnu/javax/net/ssl/provider/SSLSocketOutputStream.h51
-rw-r--r--libjava/gnu/javax/net/ssl/provider/SSLv3HMacMD5Impl.h62
-rw-r--r--libjava/gnu/javax/net/ssl/provider/SSLv3HMacSHAImpl.h62
-rw-r--r--libjava/gnu/javax/net/ssl/provider/SecurityParameters.h54
-rw-r--r--libjava/gnu/javax/net/ssl/provider/ServerDHE_PSKParameters.h62
-rw-r--r--libjava/gnu/javax/net/ssl/provider/ServerDHParams.h65
-rw-r--r--libjava/gnu/javax/net/ssl/provider/ServerHandshake$CertLoader.h44
-rw-r--r--libjava/gnu/javax/net/ssl/provider/ServerHandshake$GenDH.h53
-rw-r--r--libjava/gnu/javax/net/ssl/provider/ServerHandshake$RSAKeyExchange.h48
-rw-r--r--libjava/gnu/javax/net/ssl/provider/ServerHandshake$RSA_PSKExchange.h56
-rw-r--r--libjava/gnu/javax/net/ssl/provider/ServerHandshake$State.h63
-rw-r--r--libjava/gnu/javax/net/ssl/provider/ServerHandshake.h129
-rw-r--r--libjava/gnu/javax/net/ssl/provider/ServerHello.h69
-rw-r--r--libjava/gnu/javax/net/ssl/provider/ServerHelloBuilder.h60
-rw-r--r--libjava/gnu/javax/net/ssl/provider/ServerHelloDone.h41
-rw-r--r--libjava/gnu/javax/net/ssl/provider/ServerKeyExchange.h57
-rw-r--r--libjava/gnu/javax/net/ssl/provider/ServerKeyExchangeBuilder.h50
-rw-r--r--libjava/gnu/javax/net/ssl/provider/ServerKeyExchangeParams.h41
-rw-r--r--libjava/gnu/javax/net/ssl/provider/ServerNameList$Iterator.h49
-rw-r--r--libjava/gnu/javax/net/ssl/provider/ServerNameList$NameType.h48
-rw-r--r--libjava/gnu/javax/net/ssl/provider/ServerNameList$ServerName.h56
-rw-r--r--libjava/gnu/javax/net/ssl/provider/ServerNameList.h58
-rw-r--r--libjava/gnu/javax/net/ssl/provider/ServerPSKParameters.h56
-rw-r--r--libjava/gnu/javax/net/ssl/provider/ServerRSAParams.h61
-rw-r--r--libjava/gnu/javax/net/ssl/provider/ServerRSA_PSKParameters.h48
-rw-r--r--libjava/gnu/javax/net/ssl/provider/Session$ID.h49
-rw-r--r--libjava/gnu/javax/net/ssl/provider/Session.h134
-rw-r--r--libjava/gnu/javax/net/ssl/provider/SessionContext.h70
-rw-r--r--libjava/gnu/javax/net/ssl/provider/SessionImpl$PrivateData.h43
-rw-r--r--libjava/gnu/javax/net/ssl/provider/SessionImpl.h87
-rw-r--r--libjava/gnu/javax/net/ssl/provider/Signature.h60
-rw-r--r--libjava/gnu/javax/net/ssl/provider/SignatureAlgorithm.h53
-rw-r--r--libjava/gnu/javax/net/ssl/provider/SimpleSessionContext$1.h46
-rw-r--r--libjava/gnu/javax/net/ssl/provider/SimpleSessionContext.h59
-rw-r--r--libjava/gnu/javax/net/ssl/provider/SynchronizedRandom.h62
-rw-r--r--libjava/gnu/javax/net/ssl/provider/TLSHMac.h54
-rw-r--r--libjava/gnu/javax/net/ssl/provider/TLSRandom.h71
-rw-r--r--libjava/gnu/javax/net/ssl/provider/TruncatedHMAC.h49
-rw-r--r--libjava/gnu/javax/net/ssl/provider/TrustedAuthorities$AuthoritiesIterator.h49
-rw-r--r--libjava/gnu/javax/net/ssl/provider/TrustedAuthorities$IdentifierType.h51
-rw-r--r--libjava/gnu/javax/net/ssl/provider/TrustedAuthorities$TrustedAuthority.h70
-rw-r--r--libjava/gnu/javax/net/ssl/provider/TrustedAuthorities.h56
-rw-r--r--libjava/gnu/javax/net/ssl/provider/UnresolvedExtensionValue.h53
-rw-r--r--libjava/gnu/javax/net/ssl/provider/Util$1.h43
-rw-r--r--libjava/gnu/javax/net/ssl/provider/Util$2.h43
-rw-r--r--libjava/gnu/javax/net/ssl/provider/Util$WrappedBuffer.h51
-rw-r--r--libjava/gnu/javax/net/ssl/provider/Util.h76
-rw-r--r--libjava/gnu/javax/net/ssl/provider/X500PrincipalList$Iterator.h72
-rw-r--r--libjava/gnu/javax/net/ssl/provider/X500PrincipalList.h76
-rw-r--r--libjava/gnu/javax/net/ssl/provider/X509KeyManagerFactory$Manager.h85
-rw-r--r--libjava/gnu/javax/net/ssl/provider/X509KeyManagerFactory.h72
-rw-r--r--libjava/gnu/javax/net/ssl/provider/X509TrustManagerFactory$Manager.h61
-rw-r--r--libjava/gnu/javax/net/ssl/provider/X509TrustManagerFactory.h69
-rw-r--r--libjava/gnu/javax/net/ssl/provider/XMLSessionContext$SAXHandler.h102
-rw-r--r--libjava/gnu/javax/net/ssl/provider/XMLSessionContext.h69
192 files changed, 11966 insertions, 0 deletions
diff --git a/libjava/gnu/javax/net/ssl/AbstractSessionContext.h b/libjava/gnu/javax/net/ssl/AbstractSessionContext.h
new file mode 100644
index 00000000000..06d145e7b77
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/AbstractSessionContext.h
@@ -0,0 +1,71 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_AbstractSessionContext__
+#define __gnu_javax_net_ssl_AbstractSessionContext__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class AbstractSessionContext;
+ class Session;
+ }
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class SSLSession;
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::AbstractSessionContext : public ::java::lang::Object
+{
+
+public:
+ static ::gnu::javax::net::ssl::AbstractSessionContext * newInstance();
+ static void setImplClass(::java::lang::Class *);
+public: // actually protected
+ AbstractSessionContext(jint);
+public:
+ virtual ::javax::net::ssl::SSLSession * getSession(JArray< jbyte > *);
+ virtual ::javax::net::ssl::SSLSession * getSession(::java::lang::String *, jint);
+public: // actually protected
+ virtual ::gnu::javax::net::ssl::Session * implGet(JArray< jbyte > *) = 0;
+public:
+ virtual jint getSessionTimeout();
+ virtual void load(JArray< jchar > *) = 0;
+ virtual void put(::gnu::javax::net::ssl::Session *) = 0;
+ virtual void remove(JArray< jbyte > *) = 0;
+ virtual void setSessionTimeout(jint);
+ virtual void store(JArray< jchar > *) = 0;
+ virtual ::java::util::Enumeration * getIds() = 0;
+ virtual jint getSessionCacheSize() = 0;
+ virtual void setSessionCacheSize(jint) = 0;
+public: // actually protected
+ jlong __attribute__((aligned(__alignof__( ::java::lang::Object)))) timeout;
+private:
+ static ::java::lang::Class * implClass;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_AbstractSessionContext__
diff --git a/libjava/gnu/javax/net/ssl/Base64.h b/libjava/gnu/javax/net/ssl/Base64.h
new file mode 100644
index 00000000000..658e1376808
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/Base64.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_Base64__
+#define __gnu_javax_net_ssl_Base64__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class Base64;
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::Base64 : public ::java::lang::Object
+{
+
+ Base64();
+public:
+ static ::java::lang::String * encode(JArray< jbyte > *, jint);
+ static JArray< jbyte > * decode(::java::lang::String *);
+private:
+ static ::java::lang::String * BASE_64;
+ static const jchar BASE_64_PAD = 61;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_Base64__
diff --git a/libjava/gnu/javax/net/ssl/EntropySource.h b/libjava/gnu/javax/net/ssl/EntropySource.h
new file mode 100644
index 00000000000..d44398c4c03
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/EntropySource.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_EntropySource__
+#define __gnu_javax_net_ssl_EntropySource__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class EntropySource;
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::EntropySource : public ::java::lang::Object
+{
+
+public:
+ virtual jdouble quality() = 0;
+ virtual JArray< jbyte > * nextBytes() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __gnu_javax_net_ssl_EntropySource__
diff --git a/libjava/gnu/javax/net/ssl/NullManagerParameters.h b/libjava/gnu/javax/net/ssl/NullManagerParameters.h
new file mode 100644
index 00000000000..519138e6e89
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/NullManagerParameters.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_NullManagerParameters__
+#define __gnu_javax_net_ssl_NullManagerParameters__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class NullManagerParameters;
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::NullManagerParameters : public ::java::lang::Object
+{
+
+public:
+ NullManagerParameters();
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_NullManagerParameters__
diff --git a/libjava/gnu/javax/net/ssl/PreSharedKeyManager.h b/libjava/gnu/javax/net/ssl/PreSharedKeyManager.h
new file mode 100644
index 00000000000..8ced9ef5341
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/PreSharedKeyManager.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_PreSharedKeyManager__
+#define __gnu_javax_net_ssl_PreSharedKeyManager__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class PreSharedKeyManager;
+ }
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace crypto
+ {
+ class SecretKey;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::PreSharedKeyManager : public ::java::lang::Object
+{
+
+public:
+ virtual ::javax::crypto::SecretKey * getKey(::java::lang::String *) = 0;
+ virtual ::java::lang::String * chooseIdentityHint() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __gnu_javax_net_ssl_PreSharedKeyManager__
diff --git a/libjava/gnu/javax/net/ssl/PreSharedKeyManagerParameters.h b/libjava/gnu/javax/net/ssl/PreSharedKeyManagerParameters.h
new file mode 100644
index 00000000000..5f2e23bc6d7
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/PreSharedKeyManagerParameters.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_PreSharedKeyManagerParameters__
+#define __gnu_javax_net_ssl_PreSharedKeyManagerParameters__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class PreSharedKeyManagerParameters;
+ }
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace crypto
+ {
+ class SecretKey;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::PreSharedKeyManagerParameters : public ::java::lang::Object
+{
+
+public:
+ PreSharedKeyManagerParameters();
+ virtual ::javax::crypto::SecretKey * getKey(::java::lang::String *);
+ virtual void putKey(::java::lang::String *, ::javax::crypto::SecretKey *);
+ virtual jboolean removeKey(::java::lang::String *);
+ virtual ::java::util::Iterator * identities();
+private:
+ ::java::util::LinkedHashMap * __attribute__((aligned(__alignof__( ::java::lang::Object)))) keys;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_PreSharedKeyManagerParameters__
diff --git a/libjava/gnu/javax/net/ssl/PrivateCredentials.h b/libjava/gnu/javax/net/ssl/PrivateCredentials.h
new file mode 100644
index 00000000000..ab47f4fdd72
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/PrivateCredentials.h
@@ -0,0 +1,56 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_PrivateCredentials__
+#define __gnu_javax_net_ssl_PrivateCredentials__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class PrivateCredentials;
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::PrivateCredentials : public ::java::lang::Object
+{
+
+public:
+ PrivateCredentials();
+ virtual void add(::java::io::InputStream *, ::java::io::InputStream *);
+ virtual ::java::util::List * getPrivateKeys();
+ virtual ::java::util::List * getCertChains();
+ virtual void destroy();
+ virtual jboolean isDestroyed();
+private:
+ ::java::lang::String * readLine(::java::io::InputStream *);
+ JArray< jbyte > * decryptKey(JArray< jbyte > *, ::java::lang::String *, JArray< jbyte > *);
+ JArray< jbyte > * deriveKey(JArray< jbyte > *, jint);
+ JArray< jbyte > * toByteArray(::java::lang::String *);
+public:
+ static ::java::lang::String * BEGIN_DSA;
+ static ::java::lang::String * END_DSA;
+ static ::java::lang::String * BEGIN_RSA;
+ static ::java::lang::String * END_RSA;
+private:
+ ::java::util::List * __attribute__((aligned(__alignof__( ::java::lang::Object)))) privateKeys;
+ ::java::util::List * certChains;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_PrivateCredentials__
diff --git a/libjava/gnu/javax/net/ssl/SRPManagerParameters.h b/libjava/gnu/javax/net/ssl/SRPManagerParameters.h
new file mode 100644
index 00000000000..16a617bdd0c
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/SRPManagerParameters.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_SRPManagerParameters__
+#define __gnu_javax_net_ssl_SRPManagerParameters__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace sasl
+ {
+ namespace srp
+ {
+ class PasswordFile;
+ }
+ }
+ }
+ namespace net
+ {
+ namespace ssl
+ {
+ class SRPManagerParameters;
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::SRPManagerParameters : public ::java::lang::Object
+{
+
+public:
+ SRPManagerParameters(::gnu::javax::crypto::sasl::srp::PasswordFile *);
+ virtual ::gnu::javax::crypto::sasl::srp::PasswordFile * getPasswordFile();
+private:
+ ::gnu::javax::crypto::sasl::srp::PasswordFile * __attribute__((aligned(__alignof__( ::java::lang::Object)))) file;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_SRPManagerParameters__
diff --git a/libjava/gnu/javax/net/ssl/SRPTrustManager.h b/libjava/gnu/javax/net/ssl/SRPTrustManager.h
new file mode 100644
index 00000000000..740ae3bc1cc
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/SRPTrustManager.h
@@ -0,0 +1,62 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_SRPTrustManager__
+#define __gnu_javax_net_ssl_SRPTrustManager__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace sasl
+ {
+ namespace srp
+ {
+ class PasswordFile;
+ }
+ }
+ }
+ namespace net
+ {
+ namespace ssl
+ {
+ class SRPTrustManager;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ namespace security
+ {
+ class KeyPair;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::SRPTrustManager : public ::java::lang::Object
+{
+
+public:
+ virtual jboolean contains(::java::lang::String *) = 0;
+ virtual ::java::security::KeyPair * getKeyPair(::java::lang::String *) = 0;
+ virtual JArray< jbyte > * getSalt(::java::lang::String *) = 0;
+ virtual ::java::math::BigInteger * getVerifier(::java::lang::String *) = 0;
+ virtual ::gnu::javax::crypto::sasl::srp::PasswordFile * getPasswordFile() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __gnu_javax_net_ssl_SRPTrustManager__
diff --git a/libjava/gnu/javax/net/ssl/SSLCipherSuite.h b/libjava/gnu/javax/net/ssl/SSLCipherSuite.h
new file mode 100644
index 00000000000..de863b7030e
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/SSLCipherSuite.h
@@ -0,0 +1,66 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_SSLCipherSuite__
+#define __gnu_javax_net_ssl_SSLCipherSuite__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class SSLCipherSuite;
+ class SSLProtocolVersion;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ namespace security
+ {
+ class Provider;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::SSLCipherSuite : public ::java::lang::Object
+{
+
+public: // actually protected
+ SSLCipherSuite(::java::lang::String *, JArray< jbyte > *, ::gnu::javax::net::ssl::SSLProtocolVersion *);
+public:
+ static ::gnu::javax::net::ssl::SSLCipherSuite * getInstance(::gnu::javax::net::ssl::SSLProtocolVersion *, JArray< jbyte > *);
+ static ::gnu::javax::net::ssl::SSLCipherSuite * getInstance(::gnu::javax::net::ssl::SSLProtocolVersion *, JArray< jbyte > *, ::java::security::Provider *);
+ static ::gnu::javax::net::ssl::SSLCipherSuite * getInstance(::java::lang::String *);
+ static ::gnu::javax::net::ssl::SSLCipherSuite * getInstance(::java::lang::String *, ::java::security::Provider *);
+ virtual ::java::lang::String * getAlgorithm();
+ virtual JArray< jbyte > * getId();
+ virtual ::java::security::Provider * getProvider();
+ virtual ::gnu::javax::net::ssl::SSLProtocolVersion * getProtocolVersion();
+ virtual void encipher(::java::nio::ByteBuffer *, ::java::nio::ByteBuffer *) = 0;
+private:
+ static ::java::lang::String * SERVICE;
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) algorithm;
+ JArray< jbyte > * id;
+ ::gnu::javax::net::ssl::SSLProtocolVersion * version;
+ ::java::security::Provider * provider;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_SSLCipherSuite__
diff --git a/libjava/gnu/javax/net/ssl/SSLProtocolVersion.h b/libjava/gnu/javax/net/ssl/SSLProtocolVersion.h
new file mode 100644
index 00000000000..f7feac96dfd
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/SSLProtocolVersion.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_SSLProtocolVersion__
+#define __gnu_javax_net_ssl_SSLProtocolVersion__
+
+#pragma interface
+
+#include <java/lang/Enum.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class SSLProtocolVersion;
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::SSLProtocolVersion : public ::java::lang::Enum
+{
+
+ SSLProtocolVersion(::java::lang::String *, jint, jint, jint);
+public:
+ static JArray< ::gnu::javax::net::ssl::SSLProtocolVersion * > * values();
+ static ::gnu::javax::net::ssl::SSLProtocolVersion * valueOf(::java::lang::String *);
+ static ::gnu::javax::net::ssl::SSLProtocolVersion * SSLv3;
+ static ::gnu::javax::net::ssl::SSLProtocolVersion * TLSv1;
+ jint __attribute__((aligned(__alignof__( ::java::lang::Enum)))) major;
+ jint minor;
+private:
+ static JArray< ::gnu::javax::net::ssl::SSLProtocolVersion * > * ENUM$VALUES;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_SSLProtocolVersion__
diff --git a/libjava/gnu/javax/net/ssl/SSLRecordHandler.h b/libjava/gnu/javax/net/ssl/SSLRecordHandler.h
new file mode 100644
index 00000000000..f4fab150983
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/SSLRecordHandler.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_SSLRecordHandler__
+#define __gnu_javax_net_ssl_SSLRecordHandler__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class SSLRecordHandler;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::SSLRecordHandler : public ::java::lang::Object
+{
+
+public: // actually protected
+ SSLRecordHandler(jbyte);
+public:
+ virtual void handle(::java::nio::ByteBuffer *, ::java::nio::ByteBuffer *) = 0;
+ virtual jbyte contentType();
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jint hashCode();
+private:
+ jbyte __attribute__((aligned(__alignof__( ::java::lang::Object)))) contentType__;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_SSLRecordHandler__
diff --git a/libjava/gnu/javax/net/ssl/Session$ID.h b/libjava/gnu/javax/net/ssl/Session$ID.h
new file mode 100644
index 00000000000..cccfb0254f3
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/Session$ID.h
@@ -0,0 +1,47 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_Session$ID__
+#define __gnu_javax_net_ssl_Session$ID__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class Session$ID;
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::Session$ID : public ::java::lang::Object
+{
+
+public:
+ Session$ID(JArray< jbyte > *);
+ JArray< jbyte > * id();
+ jboolean equals(::java::lang::Object *);
+ jint hashCode();
+ jint compareTo(::java::lang::Object *);
+ ::java::lang::String * toString();
+public: // actually package-private
+ static const jlong serialVersionUID = 7887036954666565936LL;
+private:
+ JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) id__;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_Session$ID__
diff --git a/libjava/gnu/javax/net/ssl/Session.h b/libjava/gnu/javax/net/ssl/Session.h
new file mode 100644
index 00000000000..1061db2260f
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/Session.h
@@ -0,0 +1,117 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_Session__
+#define __gnu_javax_net_ssl_Session__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class Session;
+ class Session$ID;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace security
+ {
+ class Principal;
+ class SecureRandom;
+ namespace cert
+ {
+ class Certificate;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace crypto
+ {
+ class SealedObject;
+ }
+ namespace net
+ {
+ namespace ssl
+ {
+ class SSLSessionContext;
+ }
+ }
+ namespace security
+ {
+ namespace cert
+ {
+ class X509Certificate;
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::Session : public ::java::lang::Object
+{
+
+public: // actually protected
+ Session();
+public:
+ virtual void access();
+ virtual jint getApplicationBufferSize();
+ virtual ::java::lang::String * getCipherSuite();
+ virtual jlong getCreationTime();
+ virtual JArray< jbyte > * getId();
+ virtual ::gnu::javax::net::ssl::Session$ID * id();
+ virtual jlong getLastAccessedTime();
+ virtual JArray< ::java::security::cert::Certificate * > * getLocalCertificates();
+ virtual ::java::security::Principal * getLocalPrincipal();
+ virtual jint getPacketBufferSize();
+ virtual JArray< ::java::security::cert::Certificate * > * getPeerCertificates();
+ virtual JArray< ::javax::security::cert::X509Certificate * > * getPeerCertificateChain();
+ virtual ::java::lang::String * getPeerHost();
+ virtual jint getPeerPort();
+ virtual ::java::security::Principal * getPeerPrincipal();
+ virtual ::javax::net::ssl::SSLSessionContext * getSessionContext();
+ virtual JArray< ::java::lang::String * > * getValueNames();
+ virtual ::java::lang::Object * getValue(::java::lang::String *);
+ virtual void invalidate();
+ virtual jboolean isValid();
+ virtual void putValue(::java::lang::String *, ::java::lang::Object *);
+ virtual void removeValue(::java::lang::String *);
+ virtual jboolean isTruncatedMac();
+ virtual void prepare(JArray< jchar > *) = 0;
+ virtual void repair(JArray< jchar > *) = 0;
+ virtual ::javax::crypto::SealedObject * privateData() = 0;
+ virtual void setPrivateData(::javax::crypto::SealedObject *) = 0;
+ virtual ::java::lang::String * getProtocol() = 0;
+public: // actually protected
+ jlong __attribute__((aligned(__alignof__( ::java::lang::Object)))) creationTime;
+ jlong lastAccessedTime;
+ jint applicationBufferSize;
+ ::gnu::javax::net::ssl::Session$ID * sessionId;
+ JArray< ::java::security::cert::Certificate * > * localCerts;
+ JArray< ::java::security::cert::Certificate * > * peerCerts;
+ JArray< ::javax::security::cert::X509Certificate * > * peerCertChain;
+ ::java::lang::String * peerHost;
+ jint peerPort;
+ jboolean peerVerified;
+ ::java::util::HashMap * values;
+ jboolean valid;
+ jboolean truncatedMac;
+ ::java::security::SecureRandom * random;
+ ::javax::net::ssl::SSLSessionContext * context;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_Session__
diff --git a/libjava/gnu/javax/net/ssl/SessionStoreException.h b/libjava/gnu/javax/net/ssl/SessionStoreException.h
new file mode 100644
index 00000000000..50049b7a9ad
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/SessionStoreException.h
@@ -0,0 +1,37 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_SessionStoreException__
+#define __gnu_javax_net_ssl_SessionStoreException__
+
+#pragma interface
+
+#include <javax/net/ssl/SSLException.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class SessionStoreException;
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::SessionStoreException : public ::javax::net::ssl::SSLException
+{
+
+public:
+ SessionStoreException(::java::lang::String *);
+ SessionStoreException(::java::lang::String *, ::java::lang::Throwable *);
+ SessionStoreException(::java::lang::Throwable *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_SessionStoreException__
diff --git a/libjava/gnu/javax/net/ssl/StaticTrustAnchors.h b/libjava/gnu/javax/net/ssl/StaticTrustAnchors.h
new file mode 100644
index 00000000000..ac00c815140
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/StaticTrustAnchors.h
@@ -0,0 +1,54 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_StaticTrustAnchors__
+#define __gnu_javax_net_ssl_StaticTrustAnchors__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class StaticTrustAnchors;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace security
+ {
+ namespace cert
+ {
+ class CertificateFactory;
+ class X509Certificate;
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::StaticTrustAnchors : public ::java::lang::Object
+{
+
+public:
+ StaticTrustAnchors(JArray< ::java::security::cert::X509Certificate * > *);
+ static ::java::security::cert::X509Certificate * generate(::java::security::cert::CertificateFactory *, ::java::lang::String *);
+ virtual JArray< ::java::security::cert::X509Certificate * > * getCertificates();
+private:
+ JArray< ::java::security::cert::X509Certificate * > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) certs;
+public:
+ static ::gnu::javax::net::ssl::StaticTrustAnchors * CA_CERTS;
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_StaticTrustAnchors__
diff --git a/libjava/gnu/javax/net/ssl/provider/AbstractHandshake$1.h b/libjava/gnu/javax/net/ssl/provider/AbstractHandshake$1.h
new file mode 100644
index 00000000000..2e888342633
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/AbstractHandshake$1.h
@@ -0,0 +1,45 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_AbstractHandshake$1__
+#define __gnu_javax_net_ssl_provider_AbstractHandshake$1__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class AbstractHandshake$1;
+ class AbstractHandshake$CertVerifier;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::AbstractHandshake$1 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ AbstractHandshake$1(::gnu::javax::net::ssl::provider::AbstractHandshake$CertVerifier *);
+public:
+ ::java::lang::ClassLoader * target$run();
+ ::java::lang::Object * run();
+public: // actually package-private
+ ::gnu::javax::net::ssl::provider::AbstractHandshake$CertVerifier * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$1;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_AbstractHandshake$1__
diff --git a/libjava/gnu/javax/net/ssl/provider/AbstractHandshake$CertVerifier.h b/libjava/gnu/javax/net/ssl/provider/AbstractHandshake$CertVerifier.h
new file mode 100644
index 00000000000..56b6f9ce2c9
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/AbstractHandshake$CertVerifier.h
@@ -0,0 +1,62 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_AbstractHandshake$CertVerifier__
+#define __gnu_javax_net_ssl_provider_AbstractHandshake$CertVerifier__
+
+#pragma interface
+
+#include <gnu/javax/net/ssl/provider/DelegatedTask.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class AbstractHandshake;
+ class AbstractHandshake$CertVerifier;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace security
+ {
+ namespace cert
+ {
+ class X509Certificate;
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::AbstractHandshake$CertVerifier : public ::gnu::javax::net::ssl::provider::DelegatedTask
+{
+
+public: // actually protected
+ AbstractHandshake$CertVerifier(::gnu::javax::net::ssl::provider::AbstractHandshake *, jboolean, JArray< ::java::security::cert::X509Certificate * > *);
+public: // actually package-private
+ virtual jboolean verified();
+public: // actually protected
+ virtual void implRun();
+private:
+ jboolean __attribute__((aligned(__alignof__( ::gnu::javax::net::ssl::provider::DelegatedTask)))) clientSide;
+ JArray< ::java::security::cert::X509Certificate * > * chain;
+ jboolean verified__;
+public: // actually package-private
+ ::gnu::javax::net::ssl::provider::AbstractHandshake * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_AbstractHandshake$CertVerifier__
diff --git a/libjava/gnu/javax/net/ssl/provider/AbstractHandshake$DHE_PSKGen.h b/libjava/gnu/javax/net/ssl/provider/AbstractHandshake$DHE_PSKGen.h
new file mode 100644
index 00000000000..d5f0278a7c5
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/AbstractHandshake$DHE_PSKGen.h
@@ -0,0 +1,58 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_AbstractHandshake$DHE_PSKGen__
+#define __gnu_javax_net_ssl_provider_AbstractHandshake$DHE_PSKGen__
+
+#pragma interface
+
+#include <gnu/javax/net/ssl/provider/DelegatedTask.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class AbstractHandshake;
+ class AbstractHandshake$DHE_PSKGen;
+ }
+ }
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace crypto
+ {
+ class SecretKey;
+ namespace interfaces
+ {
+ class DHPublicKey;
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::AbstractHandshake$DHE_PSKGen : public ::gnu::javax::net::ssl::provider::DelegatedTask
+{
+
+public: // actually protected
+ AbstractHandshake$DHE_PSKGen(::gnu::javax::net::ssl::provider::AbstractHandshake *, ::javax::crypto::interfaces::DHPublicKey *, ::javax::crypto::SecretKey *, jboolean);
+ virtual void implRun();
+private:
+ ::javax::crypto::interfaces::DHPublicKey * __attribute__((aligned(__alignof__( ::gnu::javax::net::ssl::provider::DelegatedTask)))) dhKey;
+ ::javax::crypto::SecretKey * psKey;
+ jboolean isClient;
+public: // actually package-private
+ ::gnu::javax::net::ssl::provider::AbstractHandshake * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_AbstractHandshake$DHE_PSKGen__
diff --git a/libjava/gnu/javax/net/ssl/provider/AbstractHandshake$DHPhase.h b/libjava/gnu/javax/net/ssl/provider/AbstractHandshake$DHPhase.h
new file mode 100644
index 00000000000..a344f39e528
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/AbstractHandshake$DHPhase.h
@@ -0,0 +1,57 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_AbstractHandshake$DHPhase__
+#define __gnu_javax_net_ssl_provider_AbstractHandshake$DHPhase__
+
+#pragma interface
+
+#include <gnu/javax/net/ssl/provider/DelegatedTask.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class AbstractHandshake;
+ class AbstractHandshake$DHPhase;
+ }
+ }
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace interfaces
+ {
+ class DHPublicKey;
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::AbstractHandshake$DHPhase : public ::gnu::javax::net::ssl::provider::DelegatedTask
+{
+
+public: // actually protected
+ AbstractHandshake$DHPhase(::gnu::javax::net::ssl::provider::AbstractHandshake *, ::javax::crypto::interfaces::DHPublicKey *);
+ AbstractHandshake$DHPhase(::gnu::javax::net::ssl::provider::AbstractHandshake *, ::javax::crypto::interfaces::DHPublicKey *, jboolean);
+ virtual void implRun();
+private:
+ ::javax::crypto::interfaces::DHPublicKey * __attribute__((aligned(__alignof__( ::gnu::javax::net::ssl::provider::DelegatedTask)))) key;
+ jboolean full;
+public: // actually package-private
+ ::gnu::javax::net::ssl::provider::AbstractHandshake * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_AbstractHandshake$DHPhase__
diff --git a/libjava/gnu/javax/net/ssl/provider/AbstractHandshake.h b/libjava/gnu/javax/net/ssl/provider/AbstractHandshake.h
new file mode 100644
index 00000000000..c0501a7da46
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/AbstractHandshake.h
@@ -0,0 +1,142 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_AbstractHandshake__
+#define __gnu_javax_net_ssl_provider_AbstractHandshake__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace classpath
+ {
+ namespace debug
+ {
+ class SystemLogger;
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class AbstractHandshake;
+ class CompressionMethod;
+ class InputSecurityParameters;
+ class OutputSecurityParameters;
+ class Random;
+ class SSLEngineImpl;
+ class SessionImpl;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ namespace security
+ {
+ class MessageDigest;
+ class SecureRandom;
+ }
+ }
+ namespace javax
+ {
+ namespace crypto
+ {
+ class KeyAgreement;
+ namespace interfaces
+ {
+ class DHPrivateKey;
+ }
+ }
+ namespace net
+ {
+ namespace ssl
+ {
+ class SSLEngineResult$HandshakeStatus;
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::AbstractHandshake : public ::java::lang::Object
+{
+
+public: // actually protected
+ AbstractHandshake(::gnu::javax::net::ssl::provider::SSLEngineImpl *);
+public:
+ virtual ::javax::net::ssl::SSLEngineResult$HandshakeStatus * handleInput(::java::nio::ByteBuffer *);
+public: // actually protected
+ virtual ::javax::net::ssl::SSLEngineResult$HandshakeStatus * implHandleInput() = 0;
+public:
+ virtual ::javax::net::ssl::SSLEngineResult$HandshakeStatus * handleOutput(::java::nio::ByteBuffer *);
+public: // actually protected
+ virtual ::javax::net::ssl::SSLEngineResult$HandshakeStatus * implHandleOutput(::java::nio::ByteBuffer *) = 0;
+public: // actually package-private
+ virtual ::gnu::javax::net::ssl::provider::InputSecurityParameters * getInputParams();
+ virtual ::gnu::javax::net::ssl::provider::OutputSecurityParameters * getOutputParams();
+ virtual ::java::lang::Runnable * getTask();
+ virtual ::javax::net::ssl::SSLEngineResult$HandshakeStatus * status() = 0;
+ virtual void checkKeyExchange() = 0;
+ virtual void handleV2Hello(::java::nio::ByteBuffer *) = 0;
+public: // actually protected
+ virtual jboolean pollHandshake(::java::nio::ByteBuffer *);
+ virtual jboolean doHash();
+ virtual jboolean hasMessage();
+private:
+ void reallocateBuffer(jint);
+public: // actually protected
+ virtual JArray< jbyte > * genV3CertificateVerify(::java::security::MessageDigest *, ::java::security::MessageDigest *, ::gnu::javax::net::ssl::provider::SessionImpl *);
+ virtual JArray< JArray< jbyte > * > * generateKeys(::gnu::javax::net::ssl::provider::Random *, ::gnu::javax::net::ssl::provider::Random *, ::gnu::javax::net::ssl::provider::SessionImpl *);
+ virtual ::java::nio::ByteBuffer * generateFinished(::java::security::MessageDigest *, ::java::security::MessageDigest *, jboolean, ::gnu::javax::net::ssl::provider::SessionImpl *);
+ virtual void initDiffieHellman(::javax::crypto::interfaces::DHPrivateKey *, ::java::security::SecureRandom *);
+ virtual void generateMasterSecret(::gnu::javax::net::ssl::provider::Random *, ::gnu::javax::net::ssl::provider::Random *, ::gnu::javax::net::ssl::provider::SessionImpl *);
+ virtual void setupSecurityParameters(JArray< JArray< jbyte > * > *, jboolean, ::gnu::javax::net::ssl::provider::SSLEngineImpl *, ::gnu::javax::net::ssl::provider::CompressionMethod *);
+ virtual void generatePSKSecret(::java::lang::String *, JArray< jbyte > *, jboolean);
+ static ::gnu::classpath::debug::SystemLogger * logger;
+ static JArray< jbyte > * SERVER_FINISHED;
+ static JArray< jbyte > * CLIENT_FINISHED;
+private:
+ static JArray< jbyte > * KEY_EXPANSION;
+ static JArray< jbyte > * MASTER_SECRET;
+ static JArray< jbyte > * CLIENT_WRITE_KEY;
+ static JArray< jbyte > * SERVER_WRITE_KEY;
+ static JArray< jbyte > * IV_BLOCK;
+ static JArray< jbyte > * SENDER_CLIENT;
+ static JArray< jbyte > * SENDER_SERVER;
+public: // actually protected
+ static JArray< jbyte > * PAD1;
+ static JArray< jbyte > * PAD2;
+ ::java::nio::ByteBuffer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) handshakeBuffer;
+ jint handshakeOffset;
+ ::java::security::MessageDigest * sha;
+ ::java::security::MessageDigest * md5;
+ ::gnu::javax::net::ssl::provider::SSLEngineImpl * engine;
+ ::javax::crypto::KeyAgreement * keyAgreement;
+ JArray< jbyte > * preMasterSecret;
+ ::gnu::javax::net::ssl::provider::InputSecurityParameters * inParams;
+ ::gnu::javax::net::ssl::provider::OutputSecurityParameters * outParams;
+ ::java::util::LinkedList * tasks;
+ ::gnu::javax::net::ssl::provider::Random * serverRandom;
+ ::gnu::javax::net::ssl::provider::Random * clientRandom;
+ ::gnu::javax::net::ssl::provider::CompressionMethod * compression;
+public: // actually package-private
+ static jboolean $assertionsDisabled;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_AbstractHandshake__
diff --git a/libjava/gnu/javax/net/ssl/provider/Alert$Description.h b/libjava/gnu/javax/net/ssl/provider/Alert$Description.h
new file mode 100644
index 00000000000..90a652672bd
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/Alert$Description.h
@@ -0,0 +1,79 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_Alert$Description__
+#define __gnu_javax_net_ssl_provider_Alert$Description__
+
+#pragma interface
+
+#include <java/lang/Enum.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class Alert$Description;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::Alert$Description : public ::java::lang::Enum
+{
+
+ Alert$Description(::java::lang::String *, jint, jint);
+public:
+ static ::gnu::javax::net::ssl::provider::Alert$Description * forInteger(jint);
+ jint getValue();
+ static JArray< ::gnu::javax::net::ssl::provider::Alert$Description * > * values();
+ static ::gnu::javax::net::ssl::provider::Alert$Description * valueOf(::java::lang::String *);
+ static ::gnu::javax::net::ssl::provider::Alert$Description * CLOSE_NOTIFY;
+ static ::gnu::javax::net::ssl::provider::Alert$Description * UNEXPECTED_MESSAGE;
+ static ::gnu::javax::net::ssl::provider::Alert$Description * BAD_RECORD_MAC;
+ static ::gnu::javax::net::ssl::provider::Alert$Description * DECRYPTION_FAILED;
+ static ::gnu::javax::net::ssl::provider::Alert$Description * RECORD_OVERFLOW;
+ static ::gnu::javax::net::ssl::provider::Alert$Description * DECOMPRESSION_FAILURE;
+ static ::gnu::javax::net::ssl::provider::Alert$Description * HANDSHAKE_FAILURE;
+ static ::gnu::javax::net::ssl::provider::Alert$Description * NO_CERTIFICATE;
+ static ::gnu::javax::net::ssl::provider::Alert$Description * BAD_CERTIFICATE;
+ static ::gnu::javax::net::ssl::provider::Alert$Description * UNSUPPORTED_CERTIFICATE;
+ static ::gnu::javax::net::ssl::provider::Alert$Description * CERTIFICATE_REVOKED;
+ static ::gnu::javax::net::ssl::provider::Alert$Description * CERTIFICATE_EXPIRED;
+ static ::gnu::javax::net::ssl::provider::Alert$Description * CERTIFICATE_UNKNOWN;
+ static ::gnu::javax::net::ssl::provider::Alert$Description * ILLEGAL_PARAMETER;
+ static ::gnu::javax::net::ssl::provider::Alert$Description * UNKNOWN_CA;
+ static ::gnu::javax::net::ssl::provider::Alert$Description * ACCESS_DENIED;
+ static ::gnu::javax::net::ssl::provider::Alert$Description * DECODE_ERROR;
+ static ::gnu::javax::net::ssl::provider::Alert$Description * DECRYPT_ERROR;
+ static ::gnu::javax::net::ssl::provider::Alert$Description * EXPORT_RESTRICTION;
+ static ::gnu::javax::net::ssl::provider::Alert$Description * PROTOCOL_VERSION;
+ static ::gnu::javax::net::ssl::provider::Alert$Description * INSUFFICIENT_SECURITY;
+ static ::gnu::javax::net::ssl::provider::Alert$Description * INTERNAL_ERROR;
+ static ::gnu::javax::net::ssl::provider::Alert$Description * USER_CANCELED;
+ static ::gnu::javax::net::ssl::provider::Alert$Description * NO_RENEGOTIATION;
+ static ::gnu::javax::net::ssl::provider::Alert$Description * UNSUPPORTED_EXTENSION;
+ static ::gnu::javax::net::ssl::provider::Alert$Description * CERTIFICATE_UNOBTAINABLE;
+ static ::gnu::javax::net::ssl::provider::Alert$Description * UNRECOGNIZED_NAME;
+ static ::gnu::javax::net::ssl::provider::Alert$Description * BAD_CERTIFICATE_STATUS_RESPONSE;
+ static ::gnu::javax::net::ssl::provider::Alert$Description * BAD_CERTIFICATE_HASH_VALUE;
+ static ::gnu::javax::net::ssl::provider::Alert$Description * UNKNOWN_SRP_USERNAME;
+ static ::gnu::javax::net::ssl::provider::Alert$Description * MISSING_SRP_USERNAME;
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Enum)))) value;
+ static JArray< ::gnu::javax::net::ssl::provider::Alert$Description * > * ENUM$VALUES;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_Alert$Description__
diff --git a/libjava/gnu/javax/net/ssl/provider/Alert$Level.h b/libjava/gnu/javax/net/ssl/provider/Alert$Level.h
new file mode 100644
index 00000000000..6c31c4e5fe2
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/Alert$Level.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_Alert$Level__
+#define __gnu_javax_net_ssl_provider_Alert$Level__
+
+#pragma interface
+
+#include <java/lang/Enum.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class Alert$Level;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::Alert$Level : public ::java::lang::Enum
+{
+
+ Alert$Level(::java::lang::String *, jint, jint);
+public:
+ static ::gnu::javax::net::ssl::provider::Alert$Level * forInteger(jint);
+ jint getValue();
+ static JArray< ::gnu::javax::net::ssl::provider::Alert$Level * > * values();
+ static ::gnu::javax::net::ssl::provider::Alert$Level * valueOf(::java::lang::String *);
+ static ::gnu::javax::net::ssl::provider::Alert$Level * WARNING;
+ static ::gnu::javax::net::ssl::provider::Alert$Level * FATAL;
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Enum)))) value;
+ static JArray< ::gnu::javax::net::ssl::provider::Alert$Level * > * ENUM$VALUES;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_Alert$Level__
diff --git a/libjava/gnu/javax/net/ssl/provider/Alert.h b/libjava/gnu/javax/net/ssl/provider/Alert.h
new file mode 100644
index 00000000000..02a4371933c
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/Alert.h
@@ -0,0 +1,65 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_Alert__
+#define __gnu_javax_net_ssl_provider_Alert__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class Alert;
+ class Alert$Description;
+ class Alert$Level;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::Alert : public ::java::lang::Object
+{
+
+public:
+ Alert(::java::nio::ByteBuffer *);
+ Alert(::gnu::javax::net::ssl::provider::Alert$Level *, ::gnu::javax::net::ssl::provider::Alert$Description *);
+ jint length();
+public: // actually package-private
+ JArray< jbyte > * getEncoded();
+public:
+ ::gnu::javax::net::ssl::provider::Alert$Level * level();
+ ::gnu::javax::net::ssl::provider::Alert$Description * description();
+ void setLevel(::gnu::javax::net::ssl::provider::Alert$Level *);
+ void setDescription(::gnu::javax::net::ssl::provider::Alert$Description *);
+ jboolean equals(::java::lang::Object *);
+ jint hashCode();
+ ::java::lang::String * toString();
+ ::java::lang::String * toString(::java::lang::String *);
+private:
+ ::java::nio::ByteBuffer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) buffer;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_Alert__
diff --git a/libjava/gnu/javax/net/ssl/provider/AlertException.h b/libjava/gnu/javax/net/ssl/provider/AlertException.h
new file mode 100644
index 00000000000..bb335b873e5
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/AlertException.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_AlertException__
+#define __gnu_javax_net_ssl_provider_AlertException__
+
+#pragma interface
+
+#include <javax/net/ssl/SSLException.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class Alert;
+ class AlertException;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::AlertException : public ::javax::net::ssl::SSLException
+{
+
+public:
+ AlertException(::gnu::javax::net::ssl::provider::Alert *, jboolean);
+ AlertException(::gnu::javax::net::ssl::provider::Alert *);
+ AlertException(::gnu::javax::net::ssl::provider::Alert *, jboolean, ::java::lang::Throwable *);
+ AlertException(::gnu::javax::net::ssl::provider::Alert *, ::java::lang::Throwable *);
+ virtual ::java::lang::String * getMessage();
+ virtual ::gnu::javax::net::ssl::provider::Alert * alert();
+ virtual jboolean isLocal();
+private:
+ ::gnu::javax::net::ssl::provider::Alert * __attribute__((aligned(__alignof__( ::javax::net::ssl::SSLException)))) alert__;
+ jboolean isLocal__;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_AlertException__
diff --git a/libjava/gnu/javax/net/ssl/provider/Builder.h b/libjava/gnu/javax/net/ssl/provider/Builder.h
new file mode 100644
index 00000000000..4c6b795c71a
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/Builder.h
@@ -0,0 +1,47 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_Builder__
+#define __gnu_javax_net_ssl_provider_Builder__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class Builder;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::Builder : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::nio::ByteBuffer * buffer() = 0;
+ virtual jint length() = 0;
+ virtual ::java::lang::String * toString(::java::lang::String *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __gnu_javax_net_ssl_provider_Builder__
diff --git a/libjava/gnu/javax/net/ssl/provider/Certificate.h b/libjava/gnu/javax/net/ssl/provider/Certificate.h
new file mode 100644
index 00000000000..2ad08db5580
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/Certificate.h
@@ -0,0 +1,54 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_Certificate__
+#define __gnu_javax_net_ssl_provider_Certificate__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class Certificate;
+ class CertificateType;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::Certificate : public ::java::lang::Object
+{
+
+public:
+ Certificate(::java::nio::ByteBuffer *, ::gnu::javax::net::ssl::provider::CertificateType *);
+ virtual jint length();
+ virtual ::java::util::List * certificates();
+ virtual ::java::lang::String * toString();
+ virtual ::java::lang::String * toString(::java::lang::String *);
+public: // actually protected
+ ::java::nio::ByteBuffer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) buffer;
+ ::gnu::javax::net::ssl::provider::CertificateType * type;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_Certificate__
diff --git a/libjava/gnu/javax/net/ssl/provider/CertificateBuilder.h b/libjava/gnu/javax/net/ssl/provider/CertificateBuilder.h
new file mode 100644
index 00000000000..136fd69adba
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/CertificateBuilder.h
@@ -0,0 +1,48 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_CertificateBuilder__
+#define __gnu_javax_net_ssl_provider_CertificateBuilder__
+
+#pragma interface
+
+#include <gnu/javax/net/ssl/provider/Certificate.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class CertificateBuilder;
+ class CertificateType;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::CertificateBuilder : public ::gnu::javax::net::ssl::provider::Certificate
+{
+
+public:
+ CertificateBuilder(::gnu::javax::net::ssl::provider::CertificateType *);
+ virtual ::java::nio::ByteBuffer * buffer();
+ virtual void setCertificates(::java::util::List *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_CertificateBuilder__
diff --git a/libjava/gnu/javax/net/ssl/provider/CertificateRequest$ClientCertificateType.h b/libjava/gnu/javax/net/ssl/provider/CertificateRequest$ClientCertificateType.h
new file mode 100644
index 00000000000..b6e51c839e7
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/CertificateRequest$ClientCertificateType.h
@@ -0,0 +1,53 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_CertificateRequest$ClientCertificateType__
+#define __gnu_javax_net_ssl_provider_CertificateRequest$ClientCertificateType__
+
+#pragma interface
+
+#include <java/lang/Enum.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class CertificateRequest$ClientCertificateType;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::CertificateRequest$ClientCertificateType : public ::java::lang::Enum
+{
+
+ CertificateRequest$ClientCertificateType(::java::lang::String *, jint, jint);
+public: // actually package-private
+ static ::gnu::javax::net::ssl::provider::CertificateRequest$ClientCertificateType * forValue(jint);
+public:
+ jint getValue();
+ static JArray< ::gnu::javax::net::ssl::provider::CertificateRequest$ClientCertificateType * > * values();
+ static ::gnu::javax::net::ssl::provider::CertificateRequest$ClientCertificateType * valueOf(::java::lang::String *);
+ static ::gnu::javax::net::ssl::provider::CertificateRequest$ClientCertificateType * RSA_SIGN;
+ static ::gnu::javax::net::ssl::provider::CertificateRequest$ClientCertificateType * DSS_SIGN;
+ static ::gnu::javax::net::ssl::provider::CertificateRequest$ClientCertificateType * RSA_FIXED_DH;
+ static ::gnu::javax::net::ssl::provider::CertificateRequest$ClientCertificateType * DSS_FIXED_DH;
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Enum)))) value;
+ static JArray< ::gnu::javax::net::ssl::provider::CertificateRequest$ClientCertificateType * > * ENUM$VALUES;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_CertificateRequest$ClientCertificateType__
diff --git a/libjava/gnu/javax/net/ssl/provider/CertificateRequest$ClientType.h b/libjava/gnu/javax/net/ssl/provider/CertificateRequest$ClientType.h
new file mode 100644
index 00000000000..54ace32dd92
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/CertificateRequest$ClientType.h
@@ -0,0 +1,53 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_CertificateRequest$ClientType__
+#define __gnu_javax_net_ssl_provider_CertificateRequest$ClientType__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class CertificateRequest$ClientType;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::CertificateRequest$ClientType : public ::java::lang::Object
+{
+
+ CertificateRequest$ClientType(jint);
+public: // actually package-private
+ static ::gnu::javax::net::ssl::provider::CertificateRequest$ClientType * read(::java::io::InputStream *);
+public:
+ JArray< jbyte > * getEncoded();
+ jint getValue();
+ ::java::lang::String * toString();
+public: // actually package-private
+ static ::gnu::javax::net::ssl::provider::CertificateRequest$ClientType * RSA_SIGN;
+ static ::gnu::javax::net::ssl::provider::CertificateRequest$ClientType * DSS_SIGN;
+ static ::gnu::javax::net::ssl::provider::CertificateRequest$ClientType * RSA_FIXED_DH;
+ static ::gnu::javax::net::ssl::provider::CertificateRequest$ClientType * DSS_FIXED_DH;
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) value;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_CertificateRequest$ClientType__
diff --git a/libjava/gnu/javax/net/ssl/provider/CertificateRequest.h b/libjava/gnu/javax/net/ssl/provider/CertificateRequest.h
new file mode 100644
index 00000000000..08e7f193dd7
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/CertificateRequest.h
@@ -0,0 +1,55 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_CertificateRequest__
+#define __gnu_javax_net_ssl_provider_CertificateRequest__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class CertificateRequest;
+ class ClientCertificateTypeList;
+ class X500PrincipalList;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::CertificateRequest : public ::java::lang::Object
+{
+
+public:
+ CertificateRequest(::java::nio::ByteBuffer *);
+ virtual jint length();
+ virtual ::gnu::javax::net::ssl::provider::ClientCertificateTypeList * types();
+ virtual ::gnu::javax::net::ssl::provider::X500PrincipalList * authorities();
+ virtual ::java::lang::String * toString();
+ virtual ::java::lang::String * toString(::java::lang::String *);
+public: // actually protected
+ ::java::nio::ByteBuffer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) buffer;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_CertificateRequest__
diff --git a/libjava/gnu/javax/net/ssl/provider/CertificateRequestBuilder.h b/libjava/gnu/javax/net/ssl/provider/CertificateRequestBuilder.h
new file mode 100644
index 00000000000..3be6ceac1ee
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/CertificateRequestBuilder.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_CertificateRequestBuilder__
+#define __gnu_javax_net_ssl_provider_CertificateRequestBuilder__
+
+#pragma interface
+
+#include <gnu/javax/net/ssl/provider/CertificateRequest.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class CertificateRequestBuilder;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::CertificateRequestBuilder : public ::gnu::javax::net::ssl::provider::CertificateRequest
+{
+
+public:
+ CertificateRequestBuilder();
+ virtual ::java::nio::ByteBuffer * buffer();
+ virtual void setTypes(::java::util::List *);
+ virtual void setAuthorities(::java::util::List *);
+ virtual void ensureCapacity(jint);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_CertificateRequestBuilder__
diff --git a/libjava/gnu/javax/net/ssl/provider/CertificateStatusRequest$ResponderIdIterator.h b/libjava/gnu/javax/net/ssl/provider/CertificateStatusRequest$ResponderIdIterator.h
new file mode 100644
index 00000000000..ce75fe69272
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/CertificateStatusRequest$ResponderIdIterator.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_CertificateStatusRequest$ResponderIdIterator__
+#define __gnu_javax_net_ssl_provider_CertificateStatusRequest$ResponderIdIterator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class CertificateStatusRequest;
+ class CertificateStatusRequest$ResponderIdIterator;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::CertificateStatusRequest$ResponderIdIterator : public ::java::lang::Object
+{
+
+public:
+ CertificateStatusRequest$ResponderIdIterator(::gnu::javax::net::ssl::provider::CertificateStatusRequest *);
+ virtual JArray< jbyte > * target$next();
+ virtual jboolean hasNext();
+ virtual void remove();
+ virtual ::java::lang::Object * next();
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) index;
+public: // actually package-private
+ ::gnu::javax::net::ssl::provider::CertificateStatusRequest * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_CertificateStatusRequest$ResponderIdIterator__
diff --git a/libjava/gnu/javax/net/ssl/provider/CertificateStatusRequest.h b/libjava/gnu/javax/net/ssl/provider/CertificateStatusRequest.h
new file mode 100644
index 00000000000..3d9ee96c1a3
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/CertificateStatusRequest.h
@@ -0,0 +1,65 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_CertificateStatusRequest__
+#define __gnu_javax_net_ssl_provider_CertificateStatusRequest__
+
+#pragma interface
+
+#include <gnu/javax/net/ssl/provider/Extension$Value.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class CertificateStatusRequest;
+ class CertificateStatusType;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::CertificateStatusRequest : public ::gnu::javax::net::ssl::provider::Extension$Value
+{
+
+public:
+ CertificateStatusRequest(::java::nio::ByteBuffer *);
+ CertificateStatusRequest(::gnu::javax::net::ssl::provider::CertificateStatusType *, ::java::util::List *, JArray< jbyte > *);
+ virtual jint length();
+ virtual ::java::nio::ByteBuffer * buffer();
+ virtual ::gnu::javax::net::ssl::provider::CertificateStatusType * statusType();
+ virtual jint size();
+ virtual JArray< jbyte > * responderId(jint);
+ virtual JArray< jbyte > * requestExtensions();
+ virtual void setStatusType(::gnu::javax::net::ssl::provider::CertificateStatusType *);
+ virtual void setRequestIdListLength(jint);
+ virtual void putRequestId(jint, JArray< jbyte > *);
+ virtual void setRequestExtensions(jint, JArray< jbyte > *);
+ virtual ::java::util::Iterator * iterator();
+ virtual ::java::lang::String * toString();
+ virtual ::java::lang::String * toString(::java::lang::String *);
+private:
+ ::java::nio::ByteBuffer * __attribute__((aligned(__alignof__( ::gnu::javax::net::ssl::provider::Extension$Value)))) buffer__;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_CertificateStatusRequest__
diff --git a/libjava/gnu/javax/net/ssl/provider/CertificateStatusType.h b/libjava/gnu/javax/net/ssl/provider/CertificateStatusType.h
new file mode 100644
index 00000000000..fedeebe1614
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/CertificateStatusType.h
@@ -0,0 +1,47 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_CertificateStatusType__
+#define __gnu_javax_net_ssl_provider_CertificateStatusType__
+
+#pragma interface
+
+#include <java/lang/Enum.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class CertificateStatusType;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::CertificateStatusType : public ::java::lang::Enum
+{
+
+ CertificateStatusType(::java::lang::String *, jint, jint);
+public:
+ static JArray< ::gnu::javax::net::ssl::provider::CertificateStatusType * > * values();
+ static ::gnu::javax::net::ssl::provider::CertificateStatusType * valueOf(::java::lang::String *);
+ static ::gnu::javax::net::ssl::provider::CertificateStatusType * OCSP;
+ jint __attribute__((aligned(__alignof__( ::java::lang::Enum)))) value;
+private:
+ static JArray< ::gnu::javax::net::ssl::provider::CertificateStatusType * > * ENUM$VALUES;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_CertificateStatusType__
diff --git a/libjava/gnu/javax/net/ssl/provider/CertificateType.h b/libjava/gnu/javax/net/ssl/provider/CertificateType.h
new file mode 100644
index 00000000000..e7cc0f62dfe
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/CertificateType.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_CertificateType__
+#define __gnu_javax_net_ssl_provider_CertificateType__
+
+#pragma interface
+
+#include <java/lang/Enum.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class CertificateType;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::CertificateType : public ::java::lang::Enum
+{
+
+ CertificateType(::java::lang::String *, jint, jint);
+public:
+ static ::gnu::javax::net::ssl::provider::CertificateType * forValue(jint);
+ static JArray< ::gnu::javax::net::ssl::provider::CertificateType * > * values();
+ static ::gnu::javax::net::ssl::provider::CertificateType * valueOf(::java::lang::String *);
+ static ::gnu::javax::net::ssl::provider::CertificateType * X509;
+ static ::gnu::javax::net::ssl::provider::CertificateType * OPEN_PGP;
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Enum)))) value;
+ static JArray< ::gnu::javax::net::ssl::provider::CertificateType * > * ENUM$VALUES;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_CertificateType__
diff --git a/libjava/gnu/javax/net/ssl/provider/CertificateURL$CertChainType.h b/libjava/gnu/javax/net/ssl/provider/CertificateURL$CertChainType.h
new file mode 100644
index 00000000000..ea65ea44522
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/CertificateURL$CertChainType.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_CertificateURL$CertChainType__
+#define __gnu_javax_net_ssl_provider_CertificateURL$CertChainType__
+
+#pragma interface
+
+#include <java/lang/Enum.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class CertificateURL$CertChainType;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::CertificateURL$CertChainType : public ::java::lang::Enum
+{
+
+ CertificateURL$CertChainType(::java::lang::String *, jint, jint);
+public:
+ jint getValue();
+ static JArray< ::gnu::javax::net::ssl::provider::CertificateURL$CertChainType * > * values();
+ static ::gnu::javax::net::ssl::provider::CertificateURL$CertChainType * valueOf(::java::lang::String *);
+ static ::gnu::javax::net::ssl::provider::CertificateURL$CertChainType * INDIVIDUAL_CERTS;
+ static ::gnu::javax::net::ssl::provider::CertificateURL$CertChainType * PKIPATH;
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Enum)))) value;
+ static JArray< ::gnu::javax::net::ssl::provider::CertificateURL$CertChainType * > * ENUM$VALUES;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_CertificateURL$CertChainType__
diff --git a/libjava/gnu/javax/net/ssl/provider/CertificateURL$Iterator.h b/libjava/gnu/javax/net/ssl/provider/CertificateURL$Iterator.h
new file mode 100644
index 00000000000..9809890d767
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/CertificateURL$Iterator.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_CertificateURL$Iterator__
+#define __gnu_javax_net_ssl_provider_CertificateURL$Iterator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class CertificateURL;
+ class CertificateURL$Iterator;
+ class CertificateURL$URLAndOptionalHash;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::CertificateURL$Iterator : public ::java::lang::Object
+{
+
+public:
+ CertificateURL$Iterator(::gnu::javax::net::ssl::provider::CertificateURL *);
+ virtual ::gnu::javax::net::ssl::provider::CertificateURL$URLAndOptionalHash * target$next();
+ virtual jboolean hasNext();
+ virtual void remove();
+ virtual ::java::lang::Object * next();
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) index;
+public: // actually package-private
+ ::gnu::javax::net::ssl::provider::CertificateURL * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_CertificateURL$Iterator__
diff --git a/libjava/gnu/javax/net/ssl/provider/CertificateURL$URLAndOptionalHash.h b/libjava/gnu/javax/net/ssl/provider/CertificateURL$URLAndOptionalHash.h
new file mode 100644
index 00000000000..4cc2a8e2348
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/CertificateURL$URLAndOptionalHash.h
@@ -0,0 +1,61 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_CertificateURL$URLAndOptionalHash__
+#define __gnu_javax_net_ssl_provider_CertificateURL$URLAndOptionalHash__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class CertificateURL$URLAndOptionalHash;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::CertificateURL$URLAndOptionalHash : public ::java::lang::Object
+{
+
+public:
+ CertificateURL$URLAndOptionalHash(::java::nio::ByteBuffer *);
+ CertificateURL$URLAndOptionalHash(::java::lang::String *);
+ CertificateURL$URLAndOptionalHash(::java::lang::String *, JArray< jbyte > *);
+ virtual jint length();
+ virtual ::java::nio::ByteBuffer * buffer();
+ virtual ::java::lang::String * url();
+ virtual jint urlLength();
+ virtual ::java::nio::ByteBuffer * urlBuffer();
+ virtual jboolean hashPresent();
+ virtual JArray< jbyte > * sha1Hash();
+ virtual ::java::lang::String * toString();
+ virtual ::java::lang::String * toString(::java::lang::String *);
+private:
+ ::java::nio::ByteBuffer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) buffer__;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_CertificateURL$URLAndOptionalHash__
diff --git a/libjava/gnu/javax/net/ssl/provider/CertificateURL.h b/libjava/gnu/javax/net/ssl/provider/CertificateURL.h
new file mode 100644
index 00000000000..d2eab487002
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/CertificateURL.h
@@ -0,0 +1,61 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_CertificateURL__
+#define __gnu_javax_net_ssl_provider_CertificateURL__
+
+#pragma interface
+
+#include <gnu/javax/net/ssl/provider/Extension$Value.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class CertificateURL;
+ class CertificateURL$CertChainType;
+ class CertificateURL$URLAndOptionalHash;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::CertificateURL : public ::gnu::javax::net::ssl::provider::Extension$Value
+{
+
+public:
+ CertificateURL(::java::nio::ByteBuffer *);
+ CertificateURL(::gnu::javax::net::ssl::provider::CertificateURL$CertChainType *, ::java::util::List *);
+ virtual jint length();
+ virtual ::java::nio::ByteBuffer * buffer();
+ virtual ::gnu::javax::net::ssl::provider::CertificateURL$CertChainType * type();
+ virtual jint size();
+ virtual ::gnu::javax::net::ssl::provider::CertificateURL$URLAndOptionalHash * get(jint);
+ virtual void set(jint, ::gnu::javax::net::ssl::provider::CertificateURL$URLAndOptionalHash *);
+ virtual void setLength(jint);
+ virtual ::java::lang::String * toString();
+ virtual ::java::lang::String * toString(::java::lang::String *);
+ virtual ::java::util::Iterator * iterator();
+private:
+ ::java::nio::ByteBuffer * __attribute__((aligned(__alignof__( ::gnu::javax::net::ssl::provider::Extension$Value)))) buffer__;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_CertificateURL__
diff --git a/libjava/gnu/javax/net/ssl/provider/CertificateVerify.h b/libjava/gnu/javax/net/ssl/provider/CertificateVerify.h
new file mode 100644
index 00000000000..e130b5c4bfa
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/CertificateVerify.h
@@ -0,0 +1,51 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_CertificateVerify__
+#define __gnu_javax_net_ssl_provider_CertificateVerify__
+
+#pragma interface
+
+#include <gnu/javax/net/ssl/provider/Signature.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class CertificateVerify;
+ class SignatureAlgorithm;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::CertificateVerify : public ::gnu::javax::net::ssl::provider::Signature
+{
+
+public:
+ CertificateVerify(::java::nio::ByteBuffer *, ::gnu::javax::net::ssl::provider::SignatureAlgorithm *);
+ CertificateVerify(JArray< jbyte > *, ::gnu::javax::net::ssl::provider::SignatureAlgorithm *);
+ virtual ::java::lang::String * toString();
+ virtual ::java::lang::String * toString(::java::lang::String *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_CertificateVerify__
diff --git a/libjava/gnu/javax/net/ssl/provider/CipherAlgorithm.h b/libjava/gnu/javax/net/ssl/provider/CipherAlgorithm.h
new file mode 100644
index 00000000000..54395bdb678
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/CipherAlgorithm.h
@@ -0,0 +1,51 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_CipherAlgorithm__
+#define __gnu_javax_net_ssl_provider_CipherAlgorithm__
+
+#pragma interface
+
+#include <java/lang/Enum.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class CipherAlgorithm;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::CipherAlgorithm : public ::java::lang::Enum
+{
+
+ CipherAlgorithm(::java::lang::String *, jint);
+public:
+ static JArray< ::gnu::javax::net::ssl::provider::CipherAlgorithm * > * values();
+ static ::gnu::javax::net::ssl::provider::CipherAlgorithm * valueOf(::java::lang::String *);
+ static ::gnu::javax::net::ssl::provider::CipherAlgorithm * NULL;
+ static ::gnu::javax::net::ssl::provider::CipherAlgorithm * RC4;
+ static ::gnu::javax::net::ssl::provider::CipherAlgorithm * DES;
+ static ::gnu::javax::net::ssl::provider::CipherAlgorithm * DESede;
+ static ::gnu::javax::net::ssl::provider::CipherAlgorithm * CAST5;
+ static ::gnu::javax::net::ssl::provider::CipherAlgorithm * AES;
+private:
+ static JArray< ::gnu::javax::net::ssl::provider::CipherAlgorithm * > * ENUM$VALUES;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_CipherAlgorithm__
diff --git a/libjava/gnu/javax/net/ssl/provider/CipherSuite.h b/libjava/gnu/javax/net/ssl/provider/CipherSuite.h
new file mode 100644
index 00000000000..511b6de6596
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/CipherSuite.h
@@ -0,0 +1,145 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_CipherSuite__
+#define __gnu_javax_net_ssl_provider_CipherSuite__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class CipherAlgorithm;
+ class CipherSuite;
+ class KeyExchangeAlgorithm;
+ class MacAlgorithm;
+ class ProtocolVersion;
+ class SignatureAlgorithm;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+ namespace javax
+ {
+ namespace crypto
+ {
+ class Cipher;
+ class Mac;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::CipherSuite : public ::java::lang::Object
+{
+
+ CipherSuite(::gnu::javax::net::ssl::provider::CipherAlgorithm *, ::gnu::javax::net::ssl::provider::KeyExchangeAlgorithm *, ::gnu::javax::net::ssl::provider::SignatureAlgorithm *, ::gnu::javax::net::ssl::provider::MacAlgorithm *, jint, jint, jint, ::java::lang::String *);
+ CipherSuite(::gnu::javax::net::ssl::provider::CipherAlgorithm *, ::gnu::javax::net::ssl::provider::KeyExchangeAlgorithm *, jboolean, ::gnu::javax::net::ssl::provider::SignatureAlgorithm *, ::gnu::javax::net::ssl::provider::MacAlgorithm *, jint, jint, jint, ::java::lang::String *);
+ CipherSuite(JArray< jbyte > *);
+public:
+ static ::gnu::javax::net::ssl::provider::CipherSuite * forName(::java::lang::String *);
+ static ::gnu::javax::net::ssl::provider::CipherSuite * forValue(jshort);
+ static ::java::util::List * availableSuiteNames();
+ ::gnu::javax::net::ssl::provider::CipherAlgorithm * cipherAlgorithm();
+ ::javax::crypto::Cipher * cipher();
+ ::gnu::javax::net::ssl::provider::MacAlgorithm * macAlgorithm();
+ ::javax::crypto::Mac * mac(::gnu::javax::net::ssl::provider::ProtocolVersion *);
+ ::gnu::javax::net::ssl::provider::SignatureAlgorithm * signatureAlgorithm();
+ ::gnu::javax::net::ssl::provider::KeyExchangeAlgorithm * keyExchangeAlgorithm();
+ jboolean isEphemeralDH();
+ jint length();
+ void write(::java::io::OutputStream *);
+ void put(::java::nio::ByteBuffer *);
+ ::gnu::javax::net::ssl::provider::CipherSuite * resolve();
+ jboolean isResolved();
+ jint keyLength();
+ jboolean isExportable();
+ jboolean isStreamCipher();
+ JArray< jbyte > * id();
+ jboolean equals(::java::lang::Object *);
+ jint hashCode();
+ ::java::lang::String * toString(::java::lang::String *);
+ ::java::lang::String * toString();
+private:
+ static ::java::util::List * tlsSuiteNames;
+ static ::java::util::HashMap * namesToSuites;
+public:
+ static ::gnu::javax::net::ssl::provider::CipherSuite * TLS_NULL_WITH_NULL_NULL;
+ static ::gnu::javax::net::ssl::provider::CipherSuite * TLS_RSA_WITH_NULL_MD5;
+ static ::gnu::javax::net::ssl::provider::CipherSuite * TLS_RSA_WITH_NULL_SHA;
+ static ::gnu::javax::net::ssl::provider::CipherSuite * TLS_RSA_EXPORT_WITH_RC4_40_MD5;
+ static ::gnu::javax::net::ssl::provider::CipherSuite * TLS_RSA_WITH_RC4_128_MD5;
+ static ::gnu::javax::net::ssl::provider::CipherSuite * TLS_RSA_WITH_RC4_128_SHA;
+ static ::gnu::javax::net::ssl::provider::CipherSuite * TLS_RSA_EXPORT_WITH_DES40_CBC_SHA;
+ static ::gnu::javax::net::ssl::provider::CipherSuite * TLS_RSA_WITH_DES_CBC_SHA;
+ static ::gnu::javax::net::ssl::provider::CipherSuite * TLS_RSA_WITH_3DES_EDE_CBC_SHA;
+ static ::gnu::javax::net::ssl::provider::CipherSuite * TLS_DH_DSS_EXPORT_WITH_DES40_CBC_SHA;
+ static ::gnu::javax::net::ssl::provider::CipherSuite * TLS_DH_DSS_WITH_DES_CBC_SHA;
+ static ::gnu::javax::net::ssl::provider::CipherSuite * TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA;
+ static ::gnu::javax::net::ssl::provider::CipherSuite * TLS_DH_RSA_EXPORT_WITH_DES40_CBC_SHA;
+ static ::gnu::javax::net::ssl::provider::CipherSuite * TLS_DH_RSA_WITH_DES_CBC_SHA;
+ static ::gnu::javax::net::ssl::provider::CipherSuite * TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA;
+ static ::gnu::javax::net::ssl::provider::CipherSuite * TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA;
+ static ::gnu::javax::net::ssl::provider::CipherSuite * TLS_DHE_DSS_WITH_DES_CBC_SHA;
+ static ::gnu::javax::net::ssl::provider::CipherSuite * TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA;
+ static ::gnu::javax::net::ssl::provider::CipherSuite * TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA;
+ static ::gnu::javax::net::ssl::provider::CipherSuite * TLS_DHE_RSA_WITH_DES_CBC_SHA;
+ static ::gnu::javax::net::ssl::provider::CipherSuite * TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA;
+ static ::gnu::javax::net::ssl::provider::CipherSuite * TLS_RSA_WITH_AES_128_CBC_SHA;
+ static ::gnu::javax::net::ssl::provider::CipherSuite * TLS_DH_DSS_WITH_AES_128_CBC_SHA;
+ static ::gnu::javax::net::ssl::provider::CipherSuite * TLS_DH_RSA_WITH_AES_128_CBC_SHA;
+ static ::gnu::javax::net::ssl::provider::CipherSuite * TLS_DHE_DSS_WITH_AES_128_CBC_SHA;
+ static ::gnu::javax::net::ssl::provider::CipherSuite * TLS_DHE_RSA_WITH_AES_128_CBC_SHA;
+ static ::gnu::javax::net::ssl::provider::CipherSuite * TLS_RSA_WITH_AES_256_CBC_SHA;
+ static ::gnu::javax::net::ssl::provider::CipherSuite * TLS_DH_DSS_WITH_AES_256_CBC_SHA;
+ static ::gnu::javax::net::ssl::provider::CipherSuite * TLS_DH_RSA_WITH_AES_256_CBC_SHA;
+ static ::gnu::javax::net::ssl::provider::CipherSuite * TLS_DHE_DSS_WITH_AES_256_CBC_SHA;
+ static ::gnu::javax::net::ssl::provider::CipherSuite * TLS_DHE_RSA_WITH_AES_256_CBC_SHA;
+ static ::gnu::javax::net::ssl::provider::CipherSuite * TLS_PSK_WITH_RC4_128_SHA;
+ static ::gnu::javax::net::ssl::provider::CipherSuite * TLS_PSK_WITH_3DES_EDE_CBC_SHA;
+ static ::gnu::javax::net::ssl::provider::CipherSuite * TLS_PSK_WITH_AES_128_CBC_SHA;
+ static ::gnu::javax::net::ssl::provider::CipherSuite * TLS_PSK_WITH_AES_256_CBC_SHA;
+ static ::gnu::javax::net::ssl::provider::CipherSuite * TLS_DHE_PSK_WITH_RC4_128_SHA;
+ static ::gnu::javax::net::ssl::provider::CipherSuite * TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA;
+ static ::gnu::javax::net::ssl::provider::CipherSuite * TLS_DHE_PSK_WITH_AES_128_CBC_SHA;
+ static ::gnu::javax::net::ssl::provider::CipherSuite * TLS_DHE_PSK_WITH_AES_256_CBC_SHA;
+ static ::gnu::javax::net::ssl::provider::CipherSuite * TLS_RSA_PSK_WITH_RC4_128_SHA;
+ static ::gnu::javax::net::ssl::provider::CipherSuite * TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA;
+ static ::gnu::javax::net::ssl::provider::CipherSuite * TLS_RSA_PSK_WITH_AES_128_CBC_SHA;
+ static ::gnu::javax::net::ssl::provider::CipherSuite * TLS_RSA_PSK_WITH_AES_256_CBC_SHA;
+private:
+ ::gnu::javax::net::ssl::provider::CipherAlgorithm * __attribute__((aligned(__alignof__( ::java::lang::Object)))) cipherAlgorithm__;
+ ::gnu::javax::net::ssl::provider::KeyExchangeAlgorithm * keyExchangeAlgorithm__;
+ ::gnu::javax::net::ssl::provider::SignatureAlgorithm * signatureAlgorithm__;
+ ::gnu::javax::net::ssl::provider::MacAlgorithm * macAlgorithm__;
+ jboolean ephemeralDH;
+ jboolean exportable;
+ jboolean isStream;
+ jint keyLength__;
+ JArray< jbyte > * id__;
+ ::java::lang::String * name;
+ jboolean isResolved__;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_CipherSuite__
diff --git a/libjava/gnu/javax/net/ssl/provider/CipherSuiteList$Iterator.h b/libjava/gnu/javax/net/ssl/provider/CipherSuiteList$Iterator.h
new file mode 100644
index 00000000000..0d206f0a93e
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/CipherSuiteList$Iterator.h
@@ -0,0 +1,60 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_CipherSuiteList$Iterator__
+#define __gnu_javax_net_ssl_provider_CipherSuiteList$Iterator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class CipherSuite;
+ class CipherSuiteList;
+ class CipherSuiteList$Iterator;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::CipherSuiteList$Iterator : public ::java::lang::Object
+{
+
+public: // actually package-private
+ CipherSuiteList$Iterator(::gnu::javax::net::ssl::provider::CipherSuiteList *);
+public:
+ virtual void target$add(::gnu::javax::net::ssl::provider::CipherSuite *);
+ virtual jboolean hasNext();
+ virtual jboolean hasPrevious();
+ virtual ::gnu::javax::net::ssl::provider::CipherSuite * target$next();
+ virtual jint nextIndex();
+ virtual ::gnu::javax::net::ssl::provider::CipherSuite * target$previous();
+ virtual jint previousIndex();
+ virtual void remove();
+ virtual void target$set(::gnu::javax::net::ssl::provider::CipherSuite *);
+ virtual ::java::lang::Object * next();
+ virtual ::java::lang::Object * previous();
+ virtual void add(::java::lang::Object *);
+ virtual void set(::java::lang::Object *);
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) modCount;
+ jint index;
+public: // actually package-private
+ ::gnu::javax::net::ssl::provider::CipherSuiteList * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_CipherSuiteList$Iterator__
diff --git a/libjava/gnu/javax/net/ssl/provider/CipherSuiteList.h b/libjava/gnu/javax/net/ssl/provider/CipherSuiteList.h
new file mode 100644
index 00000000000..3262080aacc
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/CipherSuiteList.h
@@ -0,0 +1,63 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_CipherSuiteList__
+#define __gnu_javax_net_ssl_provider_CipherSuiteList__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class CipherSuite;
+ class CipherSuiteList;
+ class ProtocolVersion;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::CipherSuiteList : public ::java::lang::Object
+{
+
+public:
+ CipherSuiteList(::java::nio::ByteBuffer *);
+ CipherSuiteList(::java::nio::ByteBuffer *, ::gnu::javax::net::ssl::provider::ProtocolVersion *);
+ jint size();
+ ::gnu::javax::net::ssl::provider::CipherSuite * get(jint);
+ void put(jint, ::gnu::javax::net::ssl::provider::CipherSuite *);
+ void setSize(jint);
+ ::java::lang::String * toString();
+ ::java::lang::String * toString(::java::lang::String *);
+ jboolean equals(::java::lang::Object *);
+ ::java::util::Iterator * iterator();
+public: // actually package-private
+ static jint access$0(::gnu::javax::net::ssl::provider::CipherSuiteList *);
+private:
+ ::java::nio::ByteBuffer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) buffer;
+ ::gnu::javax::net::ssl::provider::ProtocolVersion * version;
+ jint modCount;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_CipherSuiteList__
diff --git a/libjava/gnu/javax/net/ssl/provider/ClientCertificateTypeList$Iterator.h b/libjava/gnu/javax/net/ssl/provider/ClientCertificateTypeList$Iterator.h
new file mode 100644
index 00000000000..215e4b38832
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/ClientCertificateTypeList$Iterator.h
@@ -0,0 +1,60 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_ClientCertificateTypeList$Iterator__
+#define __gnu_javax_net_ssl_provider_ClientCertificateTypeList$Iterator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class CertificateRequest$ClientCertificateType;
+ class ClientCertificateTypeList;
+ class ClientCertificateTypeList$Iterator;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::ClientCertificateTypeList$Iterator : public ::java::lang::Object
+{
+
+public: // actually package-private
+ ClientCertificateTypeList$Iterator(::gnu::javax::net::ssl::provider::ClientCertificateTypeList *);
+public:
+ virtual void target$add(::gnu::javax::net::ssl::provider::CertificateRequest$ClientCertificateType *);
+ virtual jboolean hasNext();
+ virtual jboolean hasPrevious();
+ virtual ::gnu::javax::net::ssl::provider::CertificateRequest$ClientCertificateType * target$next();
+ virtual jint nextIndex();
+ virtual ::gnu::javax::net::ssl::provider::CertificateRequest$ClientCertificateType * target$previous();
+ virtual jint previousIndex();
+ virtual void remove();
+ virtual void target$set(::gnu::javax::net::ssl::provider::CertificateRequest$ClientCertificateType *);
+ virtual ::java::lang::Object * next();
+ virtual ::java::lang::Object * previous();
+ virtual void add(::java::lang::Object *);
+ virtual void set(::java::lang::Object *);
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) index;
+ jint modCount;
+public: // actually package-private
+ ::gnu::javax::net::ssl::provider::ClientCertificateTypeList * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_ClientCertificateTypeList$Iterator__
diff --git a/libjava/gnu/javax/net/ssl/provider/ClientCertificateTypeList.h b/libjava/gnu/javax/net/ssl/provider/ClientCertificateTypeList.h
new file mode 100644
index 00000000000..975b227780f
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/ClientCertificateTypeList.h
@@ -0,0 +1,60 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_ClientCertificateTypeList__
+#define __gnu_javax_net_ssl_provider_ClientCertificateTypeList__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class CertificateRequest$ClientCertificateType;
+ class ClientCertificateTypeList;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::ClientCertificateTypeList : public ::java::lang::Object
+{
+
+public:
+ ClientCertificateTypeList(::java::nio::ByteBuffer *);
+ virtual jint size();
+ virtual ::gnu::javax::net::ssl::provider::CertificateRequest$ClientCertificateType * get(jint);
+ virtual ::java::util::Iterator * iterator();
+ virtual void put(jint, ::gnu::javax::net::ssl::provider::CertificateRequest$ClientCertificateType *);
+ virtual void setSize(jint);
+ virtual ::java::lang::String * toString();
+ virtual ::java::lang::String * toString(::java::lang::String *);
+ virtual jboolean equals(::java::lang::Object *);
+public: // actually package-private
+ static jint access$0(::gnu::javax::net::ssl::provider::ClientCertificateTypeList *);
+private:
+ ::java::nio::ByteBuffer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) buffer;
+ jint modCount;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_ClientCertificateTypeList__
diff --git a/libjava/gnu/javax/net/ssl/provider/ClientDHE_PSKParameters.h b/libjava/gnu/javax/net/ssl/provider/ClientDHE_PSKParameters.h
new file mode 100644
index 00000000000..bd4fd8827ce
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/ClientDHE_PSKParameters.h
@@ -0,0 +1,55 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_ClientDHE_PSKParameters__
+#define __gnu_javax_net_ssl_provider_ClientDHE_PSKParameters__
+
+#pragma interface
+
+#include <gnu/javax/net/ssl/provider/ExchangeKeys.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class ClientDHE_PSKParameters;
+ class ClientDiffieHellmanPublic;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::ClientDHE_PSKParameters : public ::gnu::javax::net::ssl::provider::ExchangeKeys
+{
+
+public:
+ ClientDHE_PSKParameters(::java::nio::ByteBuffer *);
+ ClientDHE_PSKParameters(::java::lang::String *, ::gnu::javax::net::ssl::provider::ClientDiffieHellmanPublic *);
+ virtual ::java::nio::ByteBuffer * buffer();
+private:
+ jint identityLength();
+public:
+ virtual ::java::lang::String * identity();
+ virtual jint length();
+ virtual ::gnu::javax::net::ssl::provider::ClientDiffieHellmanPublic * params();
+ virtual ::java::lang::String * toString(::java::lang::String *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_ClientDHE_PSKParameters__
diff --git a/libjava/gnu/javax/net/ssl/provider/ClientDiffieHellmanPublic.h b/libjava/gnu/javax/net/ssl/provider/ClientDiffieHellmanPublic.h
new file mode 100644
index 00000000000..77bd040bd2d
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/ClientDiffieHellmanPublic.h
@@ -0,0 +1,59 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_ClientDiffieHellmanPublic__
+#define __gnu_javax_net_ssl_provider_ClientDiffieHellmanPublic__
+
+#pragma interface
+
+#include <gnu/javax/net/ssl/provider/ExchangeKeys.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class ClientDiffieHellmanPublic;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::ClientDiffieHellmanPublic : public ::gnu::javax::net::ssl::provider::ExchangeKeys
+{
+
+public:
+ ClientDiffieHellmanPublic(::java::nio::ByteBuffer *);
+ ClientDiffieHellmanPublic(::java::math::BigInteger *);
+private:
+ static ::java::nio::ByteBuffer * wrap(::java::math::BigInteger *);
+public:
+ virtual ::java::nio::ByteBuffer * buffer();
+ virtual ::java::math::BigInteger * publicValue();
+ virtual void setPublicValue(::java::math::BigInteger *);
+ virtual jint length();
+ virtual ::java::lang::String * toString();
+ virtual ::java::lang::String * toString(::java::lang::String *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_ClientDiffieHellmanPublic__
diff --git a/libjava/gnu/javax/net/ssl/provider/ClientHandshake$CertLoader.h b/libjava/gnu/javax/net/ssl/provider/ClientHandshake$CertLoader.h
new file mode 100644
index 00000000000..dc42fab4fc3
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/ClientHandshake$CertLoader.h
@@ -0,0 +1,47 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_ClientHandshake$CertLoader__
+#define __gnu_javax_net_ssl_provider_ClientHandshake$CertLoader__
+
+#pragma interface
+
+#include <gnu/javax/net/ssl/provider/DelegatedTask.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class ClientHandshake;
+ class ClientHandshake$CertLoader;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::ClientHandshake$CertLoader : public ::gnu::javax::net::ssl::provider::DelegatedTask
+{
+
+public: // actually package-private
+ ClientHandshake$CertLoader(::gnu::javax::net::ssl::provider::ClientHandshake *, ::java::util::List *, ::java::util::List *);
+public:
+ virtual void implRun();
+private:
+ ::java::util::List * __attribute__((aligned(__alignof__( ::gnu::javax::net::ssl::provider::DelegatedTask)))) keyTypes;
+ ::java::util::List * issuers;
+public: // actually package-private
+ ::gnu::javax::net::ssl::provider::ClientHandshake * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_ClientHandshake$CertLoader__
diff --git a/libjava/gnu/javax/net/ssl/provider/ClientHandshake$ClientDHGen.h b/libjava/gnu/javax/net/ssl/provider/ClientHandshake$ClientDHGen.h
new file mode 100644
index 00000000000..8f33e96dd52
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/ClientHandshake$ClientDHGen.h
@@ -0,0 +1,64 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_ClientHandshake$ClientDHGen__
+#define __gnu_javax_net_ssl_provider_ClientHandshake$ClientDHGen__
+
+#pragma interface
+
+#include <gnu/javax/net/ssl/provider/DelegatedTask.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class ClientHandshake;
+ class ClientHandshake$ClientDHGen;
+ }
+ }
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace interfaces
+ {
+ class DHPublicKey;
+ }
+ namespace spec
+ {
+ class DHParameterSpec;
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::ClientHandshake$ClientDHGen : public ::gnu::javax::net::ssl::provider::DelegatedTask
+{
+
+public: // actually package-private
+ ClientHandshake$ClientDHGen(::gnu::javax::net::ssl::provider::ClientHandshake *, ::javax::crypto::interfaces::DHPublicKey *, ::javax::crypto::spec::DHParameterSpec *, jboolean);
+public:
+ virtual void implRun();
+public: // actually package-private
+ virtual ::javax::crypto::interfaces::DHPublicKey * serverKey();
+private:
+ ::javax::crypto::interfaces::DHPublicKey * __attribute__((aligned(__alignof__( ::gnu::javax::net::ssl::provider::DelegatedTask)))) serverKey__;
+ ::javax::crypto::spec::DHParameterSpec * params;
+ jboolean full;
+public: // actually package-private
+ ::gnu::javax::net::ssl::provider::ClientHandshake * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_ClientHandshake$ClientDHGen__
diff --git a/libjava/gnu/javax/net/ssl/provider/ClientHandshake$GenCertVerify.h b/libjava/gnu/javax/net/ssl/provider/ClientHandshake$GenCertVerify.h
new file mode 100644
index 00000000000..4c4e8f18bc9
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/ClientHandshake$GenCertVerify.h
@@ -0,0 +1,59 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_ClientHandshake$GenCertVerify__
+#define __gnu_javax_net_ssl_provider_ClientHandshake$GenCertVerify__
+
+#pragma interface
+
+#include <gnu/javax/net/ssl/provider/DelegatedTask.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class ClientHandshake;
+ class ClientHandshake$GenCertVerify;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace security
+ {
+ class MessageDigest;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::ClientHandshake$GenCertVerify : public ::gnu::javax::net::ssl::provider::DelegatedTask
+{
+
+public: // actually package-private
+ ClientHandshake$GenCertVerify(::gnu::javax::net::ssl::provider::ClientHandshake *, ::java::security::MessageDigest *, ::java::security::MessageDigest *);
+public:
+ virtual void implRun();
+public: // actually package-private
+ virtual JArray< jbyte > * signed$();
+private:
+ ::java::security::MessageDigest * __attribute__((aligned(__alignof__( ::gnu::javax::net::ssl::provider::DelegatedTask)))) md5;
+ ::java::security::MessageDigest * sha;
+ JArray< jbyte > * signed$__;
+public: // actually package-private
+ ::gnu::javax::net::ssl::provider::ClientHandshake * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_ClientHandshake$GenCertVerify__
diff --git a/libjava/gnu/javax/net/ssl/provider/ClientHandshake$ParamsVerifier.h b/libjava/gnu/javax/net/ssl/provider/ClientHandshake$ParamsVerifier.h
new file mode 100644
index 00000000000..d1830a03bc2
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/ClientHandshake$ParamsVerifier.h
@@ -0,0 +1,59 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_ClientHandshake$ParamsVerifier__
+#define __gnu_javax_net_ssl_provider_ClientHandshake$ParamsVerifier__
+
+#pragma interface
+
+#include <gnu/javax/net/ssl/provider/DelegatedTask.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class ClientHandshake;
+ class ClientHandshake$ParamsVerifier;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::ClientHandshake$ParamsVerifier : public ::gnu::javax::net::ssl::provider::DelegatedTask
+{
+
+public: // actually package-private
+ ClientHandshake$ParamsVerifier(::gnu::javax::net::ssl::provider::ClientHandshake *, ::java::nio::ByteBuffer *, JArray< jbyte > *);
+public:
+ virtual void implRun();
+public: // actually package-private
+ virtual jboolean verified();
+private:
+ ::java::nio::ByteBuffer * __attribute__((aligned(__alignof__( ::gnu::javax::net::ssl::provider::DelegatedTask)))) paramsBuffer;
+ JArray< jbyte > * signature;
+ jboolean verified__;
+public: // actually package-private
+ ::gnu::javax::net::ssl::provider::ClientHandshake * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_ClientHandshake$ParamsVerifier__
diff --git a/libjava/gnu/javax/net/ssl/provider/ClientHandshake$RSAGen.h b/libjava/gnu/javax/net/ssl/provider/ClientHandshake$RSAGen.h
new file mode 100644
index 00000000000..02cde17b3e3
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/ClientHandshake$RSAGen.h
@@ -0,0 +1,52 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_ClientHandshake$RSAGen__
+#define __gnu_javax_net_ssl_provider_ClientHandshake$RSAGen__
+
+#pragma interface
+
+#include <gnu/javax/net/ssl/provider/DelegatedTask.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class ClientHandshake;
+ class ClientHandshake$RSAGen;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::ClientHandshake$RSAGen : public ::gnu::javax::net::ssl::provider::DelegatedTask
+{
+
+public: // actually package-private
+ ClientHandshake$RSAGen(::gnu::javax::net::ssl::provider::ClientHandshake *);
+ ClientHandshake$RSAGen(::gnu::javax::net::ssl::provider::ClientHandshake *, jboolean);
+public:
+ virtual void implRun();
+public: // actually package-private
+ virtual JArray< jbyte > * encryptedSecret();
+private:
+ JArray< jbyte > * __attribute__((aligned(__alignof__( ::gnu::javax::net::ssl::provider::DelegatedTask)))) encryptedPreMasterSecret;
+ jboolean full;
+public: // actually package-private
+ ::gnu::javax::net::ssl::provider::ClientHandshake * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_ClientHandshake$RSAGen__
diff --git a/libjava/gnu/javax/net/ssl/provider/ClientHandshake$State.h b/libjava/gnu/javax/net/ssl/provider/ClientHandshake$State.h
new file mode 100644
index 00000000000..26e93469047
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/ClientHandshake$State.h
@@ -0,0 +1,62 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_ClientHandshake$State__
+#define __gnu_javax_net_ssl_provider_ClientHandshake$State__
+
+#pragma interface
+
+#include <java/lang/Enum.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class ClientHandshake$State;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::ClientHandshake$State : public ::java::lang::Enum
+{
+
+ ClientHandshake$State(::java::lang::String *, jint, jboolean, jboolean);
+public: // actually package-private
+ jboolean isReadState();
+ jboolean isWriteState();
+public:
+ static JArray< ::gnu::javax::net::ssl::provider::ClientHandshake$State * > * values();
+ static ::gnu::javax::net::ssl::provider::ClientHandshake$State * valueOf(::java::lang::String *);
+ static ::gnu::javax::net::ssl::provider::ClientHandshake$State * WRITE_CLIENT_HELLO;
+ static ::gnu::javax::net::ssl::provider::ClientHandshake$State * READ_SERVER_HELLO;
+ static ::gnu::javax::net::ssl::provider::ClientHandshake$State * READ_CERTIFICATE;
+ static ::gnu::javax::net::ssl::provider::ClientHandshake$State * READ_SERVER_KEY_EXCHANGE;
+ static ::gnu::javax::net::ssl::provider::ClientHandshake$State * READ_CERTIFICATE_REQUEST;
+ static ::gnu::javax::net::ssl::provider::ClientHandshake$State * READ_SERVER_HELLO_DONE;
+ static ::gnu::javax::net::ssl::provider::ClientHandshake$State * WRITE_CERTIFICATE;
+ static ::gnu::javax::net::ssl::provider::ClientHandshake$State * WRITE_CLIENT_KEY_EXCHANGE;
+ static ::gnu::javax::net::ssl::provider::ClientHandshake$State * WRITE_CERTIFICATE_VERIFY;
+ static ::gnu::javax::net::ssl::provider::ClientHandshake$State * WRITE_FINISHED;
+ static ::gnu::javax::net::ssl::provider::ClientHandshake$State * READ_FINISHED;
+ static ::gnu::javax::net::ssl::provider::ClientHandshake$State * DONE;
+private:
+ jboolean __attribute__((aligned(__alignof__( ::java::lang::Enum)))) isWriteState__;
+ jboolean isReadState__;
+ static JArray< ::gnu::javax::net::ssl::provider::ClientHandshake$State * > * ENUM$VALUES;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_ClientHandshake$State__
diff --git a/libjava/gnu/javax/net/ssl/provider/ClientHandshake.h b/libjava/gnu/javax/net/ssl/provider/ClientHandshake.h
new file mode 100644
index 00000000000..ad331b85d3a
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/ClientHandshake.h
@@ -0,0 +1,120 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_ClientHandshake__
+#define __gnu_javax_net_ssl_provider_ClientHandshake__
+
+#pragma interface
+
+#include <gnu/javax/net/ssl/provider/AbstractHandshake.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class AbstractHandshake$CertVerifier;
+ class ClientHandshake;
+ class ClientHandshake$CertLoader;
+ class ClientHandshake$GenCertVerify;
+ class ClientHandshake$ParamsVerifier;
+ class ClientHandshake$State;
+ class DelegatedTask;
+ class MaxFragmentLength;
+ class ProtocolVersion;
+ class SSLEngineImpl;
+ class SessionImpl;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ namespace security
+ {
+ class KeyPair;
+ class PrivateKey;
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class SSLEngineResult$HandshakeStatus;
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::ClientHandshake : public ::gnu::javax::net::ssl::provider::AbstractHandshake
+{
+
+public:
+ ClientHandshake(::gnu::javax::net::ssl::provider::SSLEngineImpl *);
+public: // actually protected
+ virtual ::javax::net::ssl::SSLEngineResult$HandshakeStatus * implHandleInput();
+ virtual ::javax::net::ssl::SSLEngineResult$HandshakeStatus * implHandleOutput(::java::nio::ByteBuffer *);
+public: // actually package-private
+ virtual ::javax::net::ssl::SSLEngineResult$HandshakeStatus * status();
+ virtual void checkKeyExchange();
+ virtual void handleV2Hello(::java::nio::ByteBuffer *);
+private:
+ ::gnu::javax::net::ssl::provider::ProtocolVersion * chooseVersion();
+ ::java::util::List * getSuites();
+ ::java::util::List * getCompressionMethods();
+ jboolean enableExtensions();
+ ::gnu::javax::net::ssl::provider::MaxFragmentLength * maxFragmentLength();
+ jboolean truncatedHMac();
+ ::java::lang::String * getPSKIdentity();
+public: // actually package-private
+ static ::gnu::javax::net::ssl::provider::ClientHandshake$ParamsVerifier * access$0(::gnu::javax::net::ssl::provider::ClientHandshake *);
+ static void access$1(::gnu::javax::net::ssl::provider::ClientHandshake *, ::java::security::KeyPair *);
+ static ::java::security::KeyPair * access$2(::gnu::javax::net::ssl::provider::ClientHandshake *);
+ static void access$3(::gnu::javax::net::ssl::provider::ClientHandshake *, ::java::lang::String *);
+ static ::java::lang::String * access$4(::gnu::javax::net::ssl::provider::ClientHandshake *);
+ static void access$5(::gnu::javax::net::ssl::provider::ClientHandshake *, ::java::security::PrivateKey *);
+ static ::gnu::javax::net::ssl::provider::AbstractHandshake$CertVerifier * access$6(::gnu::javax::net::ssl::provider::ClientHandshake *);
+ static ::gnu::javax::net::ssl::provider::ProtocolVersion * access$7(::gnu::javax::net::ssl::provider::ClientHandshake *);
+ static ::java::security::PrivateKey * access$8(::gnu::javax::net::ssl::provider::ClientHandshake *);
+ static JArray< jint > * $SWITCH_TABLE$gnu$javax$net$ssl$provider$Extension$Type();
+ static JArray< jint > * $SWITCH_TABLE$gnu$javax$net$ssl$provider$ClientHandshake$State();
+private:
+ ::gnu::javax::net::ssl::provider::ClientHandshake$State * __attribute__((aligned(__alignof__( ::gnu::javax::net::ssl::provider::AbstractHandshake)))) state;
+ ::java::nio::ByteBuffer * outBuffer;
+ jboolean continuedSession;
+ ::gnu::javax::net::ssl::provider::SessionImpl * continued;
+ ::java::security::KeyPair * dhPair;
+ ::java::lang::String * keyAlias;
+ ::java::security::PrivateKey * privateKey;
+ ::gnu::javax::net::ssl::provider::MaxFragmentLength * maxFragmentLengthSent;
+ jboolean truncatedHMacSent;
+ ::gnu::javax::net::ssl::provider::ProtocolVersion * sentVersion;
+ ::gnu::javax::net::ssl::provider::AbstractHandshake$CertVerifier * certVerifier;
+ ::gnu::javax::net::ssl::provider::ClientHandshake$ParamsVerifier * paramsVerifier;
+ ::gnu::javax::net::ssl::provider::DelegatedTask * keyExchange;
+ ::gnu::javax::net::ssl::provider::ClientHandshake$CertLoader * certLoader;
+ ::gnu::javax::net::ssl::provider::ClientHandshake$GenCertVerify * genCertVerify;
+ static JArray< jint > * $SWITCH_TABLE$gnu$javax$net$ssl$provider$Extension$Type__;
+ static JArray< jint > * $SWITCH_TABLE$gnu$javax$net$ssl$provider$ClientHandshake$State__;
+public: // actually package-private
+ static jboolean $assertionsDisabled;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_ClientHandshake__
diff --git a/libjava/gnu/javax/net/ssl/provider/ClientHello.h b/libjava/gnu/javax/net/ssl/provider/ClientHello.h
new file mode 100644
index 00000000000..a13e88264d6
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/ClientHello.h
@@ -0,0 +1,75 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_ClientHello__
+#define __gnu_javax_net_ssl_provider_ClientHello__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class CipherSuiteList;
+ class ClientHello;
+ class CompressionMethodList;
+ class ExtensionList;
+ class ProtocolVersion;
+ class Random;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::ClientHello : public ::java::lang::Object
+{
+
+public:
+ ClientHello(::java::nio::ByteBuffer *);
+ virtual jint length();
+ virtual ::gnu::javax::net::ssl::provider::ProtocolVersion * version();
+ virtual ::gnu::javax::net::ssl::provider::Random * random();
+ virtual JArray< jbyte > * sessionId();
+ virtual ::gnu::javax::net::ssl::provider::CipherSuiteList * cipherSuites();
+ virtual ::gnu::javax::net::ssl::provider::CompressionMethodList * compressionMethods();
+ virtual jboolean hasExtensions();
+ virtual ::gnu::javax::net::ssl::provider::ExtensionList * extensions();
+ virtual jint extensionsLength();
+public: // actually protected
+ virtual jint getCipherSuitesOffset();
+ virtual jint getCompressionMethodsOffset();
+ virtual jint getExtensionsOffset();
+public:
+ virtual ::java::lang::String * toString();
+ virtual ::java::lang::String * toString(::java::lang::String *);
+public: // actually protected
+ static const jint RANDOM_OFFSET = 2;
+ static const jint SESSID_OFFSET = 34;
+ static const jint SESSID_OFFSET2 = 35;
+ ::java::nio::ByteBuffer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) buffer;
+ jboolean disableExtensions;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_ClientHello__
diff --git a/libjava/gnu/javax/net/ssl/provider/ClientHelloBuilder.h b/libjava/gnu/javax/net/ssl/provider/ClientHelloBuilder.h
new file mode 100644
index 00000000000..cfc33f19bb3
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/ClientHelloBuilder.h
@@ -0,0 +1,58 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_ClientHelloBuilder__
+#define __gnu_javax_net_ssl_provider_ClientHelloBuilder__
+
+#pragma interface
+
+#include <gnu/javax/net/ssl/provider/ClientHello.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class ClientHelloBuilder;
+ class ProtocolVersion;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::ClientHelloBuilder : public ::gnu::javax::net::ssl::provider::ClientHello
+{
+
+public:
+ ClientHelloBuilder();
+ virtual ::java::nio::ByteBuffer * buffer();
+ virtual void setVersion(::gnu::javax::net::ssl::provider::ProtocolVersion *);
+ virtual void setSessionId(JArray< jbyte > *);
+ virtual void setSessionId(JArray< jbyte > *, jint, jint);
+ virtual void setCipherSuites(::java::util::List *);
+ virtual void setCompressionMethods(::java::util::List *);
+ virtual void setExtensionsLength(jint);
+ virtual void setExtensions(::java::nio::ByteBuffer *);
+ virtual void setDisableExtensions(jboolean);
+ virtual void ensureCapacity(jint);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_ClientHelloBuilder__
diff --git a/libjava/gnu/javax/net/ssl/provider/ClientHelloV2.h b/libjava/gnu/javax/net/ssl/provider/ClientHelloV2.h
new file mode 100644
index 00000000000..75831abbd62
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/ClientHelloV2.h
@@ -0,0 +1,66 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_ClientHelloV2__
+#define __gnu_javax_net_ssl_provider_ClientHelloV2__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class ClientHelloV2;
+ class ProtocolVersion;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::ClientHelloV2 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ ClientHelloV2(::java::nio::ByteBuffer *);
+public:
+ virtual jint length();
+public: // actually package-private
+ virtual ::gnu::javax::net::ssl::provider::ProtocolVersion * version();
+ virtual jint cipherSpecsLength();
+ virtual jint sessionIdLength();
+ virtual jint challengeLength();
+public:
+ virtual ::java::util::List * cipherSpecs();
+public: // actually package-private
+ virtual JArray< jbyte > * sessionId();
+ virtual JArray< jbyte > * challenge();
+public:
+ virtual ::java::lang::String * toString();
+ virtual ::java::lang::String * toString(::java::lang::String *);
+private:
+ ::java::nio::ByteBuffer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) buffer;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_ClientHelloV2__
diff --git a/libjava/gnu/javax/net/ssl/provider/ClientKeyExchange.h b/libjava/gnu/javax/net/ssl/provider/ClientKeyExchange.h
new file mode 100644
index 00000000000..1ab6b2e4039
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/ClientKeyExchange.h
@@ -0,0 +1,57 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_ClientKeyExchange__
+#define __gnu_javax_net_ssl_provider_ClientKeyExchange__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class CipherSuite;
+ class ClientKeyExchange;
+ class ExchangeKeys;
+ class ProtocolVersion;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::ClientKeyExchange : public ::java::lang::Object
+{
+
+public:
+ ClientKeyExchange(::java::nio::ByteBuffer *, ::gnu::javax::net::ssl::provider::CipherSuite *, ::gnu::javax::net::ssl::provider::ProtocolVersion *);
+ virtual ::gnu::javax::net::ssl::provider::ExchangeKeys * exchangeKeys();
+ virtual jint length();
+ virtual ::java::lang::String * toString();
+ virtual ::java::lang::String * toString(::java::lang::String *);
+public: // actually protected
+ ::java::nio::ByteBuffer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) buffer;
+ ::gnu::javax::net::ssl::provider::CipherSuite * suite;
+ ::gnu::javax::net::ssl::provider::ProtocolVersion * version;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_ClientKeyExchange__
diff --git a/libjava/gnu/javax/net/ssl/provider/ClientKeyExchangeBuilder.h b/libjava/gnu/javax/net/ssl/provider/ClientKeyExchangeBuilder.h
new file mode 100644
index 00000000000..eb2b8f3e073
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/ClientKeyExchangeBuilder.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_ClientKeyExchangeBuilder__
+#define __gnu_javax_net_ssl_provider_ClientKeyExchangeBuilder__
+
+#pragma interface
+
+#include <gnu/javax/net/ssl/provider/ClientKeyExchange.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class CipherSuite;
+ class ClientKeyExchangeBuilder;
+ class ProtocolVersion;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::ClientKeyExchangeBuilder : public ::gnu::javax::net::ssl::provider::ClientKeyExchange
+{
+
+public:
+ ClientKeyExchangeBuilder(::gnu::javax::net::ssl::provider::CipherSuite *, ::gnu::javax::net::ssl::provider::ProtocolVersion *);
+ virtual ::java::nio::ByteBuffer * buffer();
+ virtual void setExchangeKeys(::java::nio::ByteBuffer *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_ClientKeyExchangeBuilder__
diff --git a/libjava/gnu/javax/net/ssl/provider/ClientPSKParameters.h b/libjava/gnu/javax/net/ssl/provider/ClientPSKParameters.h
new file mode 100644
index 00000000000..539743240b7
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/ClientPSKParameters.h
@@ -0,0 +1,51 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_ClientPSKParameters__
+#define __gnu_javax_net_ssl_provider_ClientPSKParameters__
+
+#pragma interface
+
+#include <gnu/javax/net/ssl/provider/ExchangeKeys.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class ClientPSKParameters;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::ClientPSKParameters : public ::gnu::javax::net::ssl::provider::ExchangeKeys
+{
+
+public:
+ ClientPSKParameters(::java::nio::ByteBuffer *);
+ ClientPSKParameters(::java::lang::String *);
+ virtual ::java::nio::ByteBuffer * buffer();
+ virtual jint length();
+ virtual ::java::lang::String * identity();
+ virtual ::java::lang::String * toString();
+ virtual ::java::lang::String * toString(::java::lang::String *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_ClientPSKParameters__
diff --git a/libjava/gnu/javax/net/ssl/provider/ClientRSA_PSKParameters.h b/libjava/gnu/javax/net/ssl/provider/ClientRSA_PSKParameters.h
new file mode 100644
index 00000000000..65314311772
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/ClientRSA_PSKParameters.h
@@ -0,0 +1,55 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_ClientRSA_PSKParameters__
+#define __gnu_javax_net_ssl_provider_ClientRSA_PSKParameters__
+
+#pragma interface
+
+#include <gnu/javax/net/ssl/provider/ExchangeKeys.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class ClientRSA_PSKParameters;
+ class EncryptedPreMasterSecret;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::ClientRSA_PSKParameters : public ::gnu::javax::net::ssl::provider::ExchangeKeys
+{
+
+public:
+ ClientRSA_PSKParameters(::java::nio::ByteBuffer *);
+ ClientRSA_PSKParameters(::java::lang::String *, ::java::nio::ByteBuffer *);
+ virtual ::java::nio::ByteBuffer * buffer();
+ virtual ::java::lang::String * identity();
+private:
+ jint identityLength();
+public:
+ virtual jint length();
+ virtual ::gnu::javax::net::ssl::provider::EncryptedPreMasterSecret * secret();
+ virtual ::java::lang::String * toString(::java::lang::String *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_ClientRSA_PSKParameters__
diff --git a/libjava/gnu/javax/net/ssl/provider/CompressionMethod.h b/libjava/gnu/javax/net/ssl/provider/CompressionMethod.h
new file mode 100644
index 00000000000..c8a2c1e37a2
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/CompressionMethod.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_CompressionMethod__
+#define __gnu_javax_net_ssl_provider_CompressionMethod__
+
+#pragma interface
+
+#include <java/lang/Enum.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class CompressionMethod;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::CompressionMethod : public ::java::lang::Enum
+{
+
+ CompressionMethod(::java::lang::String *, jint, jint);
+public:
+ static ::gnu::javax::net::ssl::provider::CompressionMethod * getInstance(jint);
+ jint getValue();
+ static JArray< ::gnu::javax::net::ssl::provider::CompressionMethod * > * values();
+ static ::gnu::javax::net::ssl::provider::CompressionMethod * valueOf(::java::lang::String *);
+ static ::gnu::javax::net::ssl::provider::CompressionMethod * NULL;
+ static ::gnu::javax::net::ssl::provider::CompressionMethod * ZLIB;
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Enum)))) value;
+ static JArray< ::gnu::javax::net::ssl::provider::CompressionMethod * > * ENUM$VALUES;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_CompressionMethod__
diff --git a/libjava/gnu/javax/net/ssl/provider/CompressionMethodList$Iterator.h b/libjava/gnu/javax/net/ssl/provider/CompressionMethodList$Iterator.h
new file mode 100644
index 00000000000..44519e1903e
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/CompressionMethodList$Iterator.h
@@ -0,0 +1,60 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_CompressionMethodList$Iterator__
+#define __gnu_javax_net_ssl_provider_CompressionMethodList$Iterator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class CompressionMethod;
+ class CompressionMethodList;
+ class CompressionMethodList$Iterator;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::CompressionMethodList$Iterator : public ::java::lang::Object
+{
+
+public: // actually package-private
+ CompressionMethodList$Iterator(::gnu::javax::net::ssl::provider::CompressionMethodList *);
+public:
+ virtual void target$add(::gnu::javax::net::ssl::provider::CompressionMethod *);
+ virtual jboolean hasNext();
+ virtual jboolean hasPrevious();
+ virtual ::gnu::javax::net::ssl::provider::CompressionMethod * target$next();
+ virtual jint nextIndex();
+ virtual ::gnu::javax::net::ssl::provider::CompressionMethod * target$previous();
+ virtual jint previousIndex();
+ virtual void remove();
+ virtual void target$set(::gnu::javax::net::ssl::provider::CompressionMethod *);
+ virtual ::java::lang::Object * next();
+ virtual ::java::lang::Object * previous();
+ virtual void add(::java::lang::Object *);
+ virtual void set(::java::lang::Object *);
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) index;
+ jint modCount;
+public: // actually package-private
+ ::gnu::javax::net::ssl::provider::CompressionMethodList * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_CompressionMethodList$Iterator__
diff --git a/libjava/gnu/javax/net/ssl/provider/CompressionMethodList.h b/libjava/gnu/javax/net/ssl/provider/CompressionMethodList.h
new file mode 100644
index 00000000000..5e1addba4fd
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/CompressionMethodList.h
@@ -0,0 +1,60 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_CompressionMethodList__
+#define __gnu_javax_net_ssl_provider_CompressionMethodList__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class CompressionMethod;
+ class CompressionMethodList;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::CompressionMethodList : public ::java::lang::Object
+{
+
+public:
+ CompressionMethodList(::java::nio::ByteBuffer *);
+ jint size();
+ ::gnu::javax::net::ssl::provider::CompressionMethod * get(jint);
+ void put(jint, ::gnu::javax::net::ssl::provider::CompressionMethod *);
+ void setSize(jint);
+ ::java::lang::String * toString();
+ ::java::lang::String * toString(::java::lang::String *);
+ jboolean equals(::java::lang::Object *);
+ ::java::util::Iterator * iterator();
+public: // actually package-private
+ static jint access$0(::gnu::javax::net::ssl::provider::CompressionMethodList *);
+private:
+ ::java::nio::ByteBuffer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) buffer;
+ jint modCount;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_CompressionMethodList__
diff --git a/libjava/gnu/javax/net/ssl/provider/Constructed.h b/libjava/gnu/javax/net/ssl/provider/Constructed.h
new file mode 100644
index 00000000000..d5b527fc944
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/Constructed.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_Constructed__
+#define __gnu_javax_net_ssl_provider_Constructed__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class Constructed;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::Constructed : public ::java::lang::Object
+{
+
+public:
+ virtual jint length() = 0;
+ virtual ::java::lang::String * toString(::java::lang::String *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __gnu_javax_net_ssl_provider_Constructed__
diff --git a/libjava/gnu/javax/net/ssl/provider/ContentType.h b/libjava/gnu/javax/net/ssl/provider/ContentType.h
new file mode 100644
index 00000000000..4f3067b710b
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/ContentType.h
@@ -0,0 +1,54 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_ContentType__
+#define __gnu_javax_net_ssl_provider_ContentType__
+
+#pragma interface
+
+#include <java/lang/Enum.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class ContentType;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::ContentType : public ::java::lang::Enum
+{
+
+ ContentType(::java::lang::String *, jint, jint);
+public: // actually package-private
+ static ::gnu::javax::net::ssl::provider::ContentType * forInteger(jint);
+public:
+ jint getValue();
+ static JArray< ::gnu::javax::net::ssl::provider::ContentType * > * values();
+ static ::gnu::javax::net::ssl::provider::ContentType * valueOf(::java::lang::String *);
+ static ::gnu::javax::net::ssl::provider::ContentType * CLIENT_HELLO_V2;
+ static ::gnu::javax::net::ssl::provider::ContentType * CHANGE_CIPHER_SPEC;
+ static ::gnu::javax::net::ssl::provider::ContentType * ALERT;
+ static ::gnu::javax::net::ssl::provider::ContentType * HANDSHAKE;
+ static ::gnu::javax::net::ssl::provider::ContentType * APPLICATION_DATA;
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Enum)))) value;
+ static JArray< ::gnu::javax::net::ssl::provider::ContentType * > * ENUM$VALUES;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_ContentType__
diff --git a/libjava/gnu/javax/net/ssl/provider/Context.h b/libjava/gnu/javax/net/ssl/provider/Context.h
new file mode 100644
index 00000000000..b6a838db819
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/Context.h
@@ -0,0 +1,82 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_Context__
+#define __gnu_javax_net_ssl_provider_Context__
+
+#pragma interface
+
+#include <javax/net/ssl/SSLContextSpi.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class SRPTrustManager;
+ namespace provider
+ {
+ class Context;
+ class SessionContext;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace security
+ {
+ class SecureRandom;
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class KeyManager;
+ class SSLServerSocketFactory;
+ class SSLSessionContext;
+ class SSLSocketFactory;
+ class TrustManager;
+ class X509KeyManager;
+ class X509TrustManager;
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::Context : public ::javax::net::ssl::SSLContextSpi
+{
+
+public:
+ Context();
+public: // actually protected
+ ::javax::net::ssl::SSLSessionContext * engineGetClientSessionContext();
+ ::javax::net::ssl::SSLSessionContext * engineGetServerSessionContext();
+ ::javax::net::ssl::SSLServerSocketFactory * engineGetServerSocketFactory();
+ ::javax::net::ssl::SSLSocketFactory * engineGetSocketFactory();
+ void engineInit(JArray< ::javax::net::ssl::KeyManager * > *, JArray< ::javax::net::ssl::TrustManager * > *, ::java::security::SecureRandom *);
+private:
+ ::javax::net::ssl::X509KeyManager * defaultKeyManager();
+ ::javax::net::ssl::X509TrustManager * defaultTrustManager();
+ ::java::security::SecureRandom * defaultRandom();
+ ::gnu::javax::net::ssl::provider::SessionContext * __attribute__((aligned(__alignof__( ::javax::net::ssl::SSLContextSpi)))) clientSessions;
+ ::gnu::javax::net::ssl::provider::SessionContext * serverSessions;
+ ::javax::net::ssl::X509KeyManager * keyManager;
+ ::javax::net::ssl::X509TrustManager * trustManager;
+ ::gnu::javax::net::ssl::SRPTrustManager * srpTrustManager;
+ ::java::security::SecureRandom * random;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_Context__
diff --git a/libjava/gnu/javax/net/ssl/provider/Debug.h b/libjava/gnu/javax/net/ssl/provider/Debug.h
new file mode 100644
index 00000000000..6421a67480a
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/Debug.h
@@ -0,0 +1,41 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_Debug__
+#define __gnu_javax_net_ssl_provider_Debug__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class Debug;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::Debug : public ::java::lang::Object
+{
+
+public:
+ Debug();
+ static const jboolean DEBUG = 1;
+ static const jboolean DEBUG_KEY_EXCHANGE = 1;
+ static const jboolean DEBUG_DECRYPTION = 0;
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_Debug__
diff --git a/libjava/gnu/javax/net/ssl/provider/DelegatedTask.h b/libjava/gnu/javax/net/ssl/provider/DelegatedTask.h
new file mode 100644
index 00000000000..72debfc8a1c
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/DelegatedTask.h
@@ -0,0 +1,57 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_DelegatedTask__
+#define __gnu_javax_net_ssl_provider_DelegatedTask__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace classpath
+ {
+ namespace debug
+ {
+ class SystemLogger;
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class DelegatedTask;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::DelegatedTask : public ::java::lang::Object
+{
+
+public: // actually protected
+ DelegatedTask();
+public:
+ virtual void run();
+ virtual jboolean hasRun();
+ virtual ::java::lang::Throwable * thrown();
+public: // actually protected
+ virtual void implRun() = 0;
+private:
+ static ::gnu::classpath::debug::SystemLogger * logger;
+ jboolean __attribute__((aligned(__alignof__( ::java::lang::Object)))) hasRun__;
+public: // actually protected
+ ::java::lang::Throwable * thrown__;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_DelegatedTask__
diff --git a/libjava/gnu/javax/net/ssl/provider/DiffieHellman.h b/libjava/gnu/javax/net/ssl/provider/DiffieHellman.h
new file mode 100644
index 00000000000..6f85801b886
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/DiffieHellman.h
@@ -0,0 +1,66 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_DiffieHellman__
+#define __gnu_javax_net_ssl_provider_DiffieHellman__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace key
+ {
+ namespace dh
+ {
+ class GnuDHPrivateKey;
+ }
+ }
+ }
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class DiffieHellman;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::DiffieHellman : public ::java::lang::Object
+{
+
+public: // actually package-private
+ DiffieHellman();
+ static ::gnu::javax::crypto::key::dh::GnuDHPrivateKey * getParams();
+ static ::java::math::BigInteger * DH_G;
+ static ::java::math::BigInteger * GROUP_1;
+ static ::java::math::BigInteger * GROUP_2;
+ static ::java::math::BigInteger * GROUP_5;
+ static ::java::math::BigInteger * GROUP_14;
+ static ::java::math::BigInteger * GROUP_15;
+ static ::java::math::BigInteger * GROUP_16;
+ static ::java::math::BigInteger * GROUP_17;
+ static ::java::math::BigInteger * GROUP_18;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_DiffieHellman__
diff --git a/libjava/gnu/javax/net/ssl/provider/DigestInputStream.h b/libjava/gnu/javax/net/ssl/provider/DigestInputStream.h
new file mode 100644
index 00000000000..15436a6a114
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/DigestInputStream.h
@@ -0,0 +1,60 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_DigestInputStream__
+#define __gnu_javax_net_ssl_provider_DigestInputStream__
+
+#pragma interface
+
+#include <java/io/FilterInputStream.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace security
+ {
+ namespace hash
+ {
+ class IMessageDigest;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class DigestInputStream;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::DigestInputStream : public ::java::io::FilterInputStream
+{
+
+public: // actually package-private
+ DigestInputStream(::java::io::InputStream *, ::gnu::java::security::hash::IMessageDigest *, ::gnu::java::security::hash::IMessageDigest *);
+ void setDigesting(jboolean);
+public:
+ jint read();
+ jint read(JArray< jbyte > *);
+ jint read(JArray< jbyte > *, jint, jint);
+private:
+ ::gnu::java::security::hash::IMessageDigest * __attribute__((aligned(__alignof__( ::java::io::FilterInputStream)))) md5;
+ ::gnu::java::security::hash::IMessageDigest * sha;
+ jboolean digesting;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_DigestInputStream__
diff --git a/libjava/gnu/javax/net/ssl/provider/DigestOutputStream.h b/libjava/gnu/javax/net/ssl/provider/DigestOutputStream.h
new file mode 100644
index 00000000000..0b7010448b5
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/DigestOutputStream.h
@@ -0,0 +1,60 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_DigestOutputStream__
+#define __gnu_javax_net_ssl_provider_DigestOutputStream__
+
+#pragma interface
+
+#include <java/io/FilterOutputStream.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace security
+ {
+ namespace hash
+ {
+ class IMessageDigest;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class DigestOutputStream;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::DigestOutputStream : public ::java::io::FilterOutputStream
+{
+
+public: // actually package-private
+ DigestOutputStream(::java::io::OutputStream *, ::gnu::java::security::hash::IMessageDigest *, ::gnu::java::security::hash::IMessageDigest *);
+ void setDigesting(jboolean);
+public:
+ void write(jint);
+ void write(JArray< jbyte > *);
+ void write(JArray< jbyte > *, jint, jint);
+private:
+ ::gnu::java::security::hash::IMessageDigest * __attribute__((aligned(__alignof__( ::java::io::FilterOutputStream)))) md5;
+ ::gnu::java::security::hash::IMessageDigest * sha;
+ jboolean digesting;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_DigestOutputStream__
diff --git a/libjava/gnu/javax/net/ssl/provider/EmptyExchangeKeys.h b/libjava/gnu/javax/net/ssl/provider/EmptyExchangeKeys.h
new file mode 100644
index 00000000000..5459775ab35
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/EmptyExchangeKeys.h
@@ -0,0 +1,41 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_EmptyExchangeKeys__
+#define __gnu_javax_net_ssl_provider_EmptyExchangeKeys__
+
+#pragma interface
+
+#include <gnu/javax/net/ssl/provider/ExchangeKeys.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class EmptyExchangeKeys;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::EmptyExchangeKeys : public ::gnu::javax::net::ssl::provider::ExchangeKeys
+{
+
+public:
+ EmptyExchangeKeys();
+ virtual jint length();
+ virtual ::java::lang::String * toString();
+ virtual ::java::lang::String * toString(::java::lang::String *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_EmptyExchangeKeys__
diff --git a/libjava/gnu/javax/net/ssl/provider/EncryptedPreMasterSecret.h b/libjava/gnu/javax/net/ssl/provider/EncryptedPreMasterSecret.h
new file mode 100644
index 00000000000..ae9382142c3
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/EncryptedPreMasterSecret.h
@@ -0,0 +1,58 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_EncryptedPreMasterSecret__
+#define __gnu_javax_net_ssl_provider_EncryptedPreMasterSecret__
+
+#pragma interface
+
+#include <gnu/javax/net/ssl/provider/ExchangeKeys.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class EncryptedPreMasterSecret;
+ class ProtocolVersion;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::EncryptedPreMasterSecret : public ::gnu::javax::net::ssl::provider::ExchangeKeys
+{
+
+public:
+ EncryptedPreMasterSecret(::java::nio::ByteBuffer *, ::gnu::javax::net::ssl::provider::ProtocolVersion *);
+ EncryptedPreMasterSecret(JArray< jbyte > *, ::gnu::javax::net::ssl::provider::ProtocolVersion *);
+ ::java::nio::ByteBuffer * buffer();
+ JArray< jbyte > * encryptedSecret();
+ void setEncryptedSecret(JArray< jbyte > *, jint, jint);
+ jint length();
+ ::java::lang::String * toString();
+ ::java::lang::String * toString(::java::lang::String *);
+private:
+ ::gnu::javax::net::ssl::provider::ProtocolVersion * __attribute__((aligned(__alignof__( ::gnu::javax::net::ssl::provider::ExchangeKeys)))) version;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_EncryptedPreMasterSecret__
diff --git a/libjava/gnu/javax/net/ssl/provider/Enumerated.h b/libjava/gnu/javax/net/ssl/provider/Enumerated.h
new file mode 100644
index 00000000000..db5083168f4
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/Enumerated.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_Enumerated__
+#define __gnu_javax_net_ssl_provider_Enumerated__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class Enumerated;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::Enumerated : public ::java::lang::Object
+{
+
+public:
+ virtual JArray< jbyte > * getEncoded() = 0;
+ virtual jint getValue() = 0;
+ virtual ::java::lang::String * toString() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __gnu_javax_net_ssl_provider_Enumerated__
diff --git a/libjava/gnu/javax/net/ssl/provider/ExchangeKeys.h b/libjava/gnu/javax/net/ssl/provider/ExchangeKeys.h
new file mode 100644
index 00000000000..8d3bbb8d6a4
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/ExchangeKeys.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_ExchangeKeys__
+#define __gnu_javax_net_ssl_provider_ExchangeKeys__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class ExchangeKeys;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::ExchangeKeys : public ::java::lang::Object
+{
+
+public:
+ ExchangeKeys(::java::nio::ByteBuffer *);
+ virtual jint length() = 0;
+ virtual ::java::lang::String * toString(::java::lang::String *) = 0;
+public: // actually protected
+ ::java::nio::ByteBuffer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) buffer;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_ExchangeKeys__
diff --git a/libjava/gnu/javax/net/ssl/provider/Extension$Type.h b/libjava/gnu/javax/net/ssl/provider/Extension$Type.h
new file mode 100644
index 00000000000..dfefe3f50ff
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/Extension$Type.h
@@ -0,0 +1,56 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_Extension$Type__
+#define __gnu_javax_net_ssl_provider_Extension$Type__
+
+#pragma interface
+
+#include <java/lang/Enum.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class Extension$Type;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::Extension$Type : public ::java::lang::Enum
+{
+
+ Extension$Type(::java::lang::String *, jint, jint);
+public:
+ static ::gnu::javax::net::ssl::provider::Extension$Type * forValue(jint);
+ jint getValue();
+ static JArray< ::gnu::javax::net::ssl::provider::Extension$Type * > * values();
+ static ::gnu::javax::net::ssl::provider::Extension$Type * valueOf(::java::lang::String *);
+ static ::gnu::javax::net::ssl::provider::Extension$Type * SERVER_NAME;
+ static ::gnu::javax::net::ssl::provider::Extension$Type * MAX_FRAGMENT_LENGTH;
+ static ::gnu::javax::net::ssl::provider::Extension$Type * CLIENT_CERTIFICATE_URL;
+ static ::gnu::javax::net::ssl::provider::Extension$Type * TRUSTED_CA_KEYS;
+ static ::gnu::javax::net::ssl::provider::Extension$Type * TRUNCATED_HMAC;
+ static ::gnu::javax::net::ssl::provider::Extension$Type * STATUS_REQUEST;
+ static ::gnu::javax::net::ssl::provider::Extension$Type * SRP;
+ static ::gnu::javax::net::ssl::provider::Extension$Type * CERT_TYPE;
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Enum)))) value;
+ static JArray< ::gnu::javax::net::ssl::provider::Extension$Type * > * ENUM$VALUES;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_Extension$Type__
diff --git a/libjava/gnu/javax/net/ssl/provider/Extension$Value.h b/libjava/gnu/javax/net/ssl/provider/Extension$Value.h
new file mode 100644
index 00000000000..f00248affd6
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/Extension$Value.h
@@ -0,0 +1,48 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_Extension$Value__
+#define __gnu_javax_net_ssl_provider_Extension$Value__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class Extension$Value;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::Extension$Value : public ::java::lang::Object
+{
+
+public:
+ Extension$Value();
+ virtual ::java::nio::ByteBuffer * buffer() = 0;
+ virtual jint length() = 0;
+ virtual ::java::lang::String * toString(::java::lang::String *) = 0;
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_Extension$Value__
diff --git a/libjava/gnu/javax/net/ssl/provider/Extension.h b/libjava/gnu/javax/net/ssl/provider/Extension.h
new file mode 100644
index 00000000000..54075426166
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/Extension.h
@@ -0,0 +1,68 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_Extension__
+#define __gnu_javax_net_ssl_provider_Extension__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class Extension;
+ class Extension$Type;
+ class Extension$Value;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::Extension : public ::java::lang::Object
+{
+
+public:
+ Extension(::java::nio::ByteBuffer *);
+ Extension(::gnu::javax::net::ssl::provider::Extension$Type *, ::gnu::javax::net::ssl::provider::Extension$Value *);
+ jint length();
+ ::java::nio::ByteBuffer * buffer();
+ ::gnu::javax::net::ssl::provider::Extension$Type * type();
+ JArray< jbyte > * valueBytes();
+ ::java::nio::ByteBuffer * valueBuffer();
+ ::gnu::javax::net::ssl::provider::Extension$Value * value();
+ void setLength(jint);
+ void setType(::gnu::javax::net::ssl::provider::Extension$Type *);
+ void setValue(JArray< jbyte > *);
+ void setValue(JArray< jbyte > *, jint, jint);
+ ::java::lang::String * toString();
+ ::java::lang::String * toString(::java::lang::String *);
+public: // actually package-private
+ static JArray< jint > * $SWITCH_TABLE$gnu$javax$net$ssl$provider$Extension$Type();
+private:
+ ::java::nio::ByteBuffer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) buffer__;
+ static JArray< jint > * $SWITCH_TABLE$gnu$javax$net$ssl$provider$Extension$Type__;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_Extension__
diff --git a/libjava/gnu/javax/net/ssl/provider/ExtensionList$ExtensionsIterator.h b/libjava/gnu/javax/net/ssl/provider/ExtensionList$ExtensionsIterator.h
new file mode 100644
index 00000000000..94727465b17
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/ExtensionList$ExtensionsIterator.h
@@ -0,0 +1,60 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_ExtensionList$ExtensionsIterator__
+#define __gnu_javax_net_ssl_provider_ExtensionList$ExtensionsIterator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class Extension;
+ class ExtensionList;
+ class ExtensionList$ExtensionsIterator;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::ExtensionList$ExtensionsIterator : public ::java::lang::Object
+{
+
+public:
+ ExtensionList$ExtensionsIterator(::gnu::javax::net::ssl::provider::ExtensionList *);
+ jboolean hasNext();
+ jboolean hasPrevious();
+ ::gnu::javax::net::ssl::provider::Extension * target$next();
+ ::gnu::javax::net::ssl::provider::Extension * target$previous();
+ jint nextIndex();
+ jint previousIndex();
+ void target$add(::gnu::javax::net::ssl::provider::Extension *);
+ void remove();
+ void target$set(::gnu::javax::net::ssl::provider::Extension *);
+ ::java::lang::Object * next();
+ ::java::lang::Object * previous();
+ void add(::java::lang::Object *);
+ void set(::java::lang::Object *);
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) modCount;
+ jint index;
+ jint size;
+public: // actually package-private
+ ::gnu::javax::net::ssl::provider::ExtensionList * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_ExtensionList$ExtensionsIterator__
diff --git a/libjava/gnu/javax/net/ssl/provider/ExtensionList.h b/libjava/gnu/javax/net/ssl/provider/ExtensionList.h
new file mode 100644
index 00000000000..c4235f366fa
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/ExtensionList.h
@@ -0,0 +1,64 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_ExtensionList__
+#define __gnu_javax_net_ssl_provider_ExtensionList__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class Extension;
+ class Extension$Type;
+ class ExtensionList;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::ExtensionList : public ::java::lang::Object
+{
+
+public:
+ ExtensionList(::java::nio::ByteBuffer *);
+ ExtensionList(::java::util::List *);
+ virtual ::java::nio::ByteBuffer * buffer();
+ virtual ::gnu::javax::net::ssl::provider::Extension * get(jint);
+ virtual jint size();
+ virtual jint length();
+ virtual void set(jint, ::gnu::javax::net::ssl::provider::Extension *);
+ virtual void set(jint, ::gnu::javax::net::ssl::provider::Extension$Type *, jint);
+ virtual void setLength(jint);
+ virtual ::java::util::Iterator * iterator();
+ virtual ::java::lang::String * toString();
+ virtual ::java::lang::String * toString(::java::lang::String *);
+public: // actually package-private
+ static jint access$0(::gnu::javax::net::ssl::provider::ExtensionList *);
+private:
+ ::java::nio::ByteBuffer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) buffer__;
+ jint modCount;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_ExtensionList__
diff --git a/libjava/gnu/javax/net/ssl/provider/Extensions.h b/libjava/gnu/javax/net/ssl/provider/Extensions.h
new file mode 100644
index 00000000000..ac8a0f16000
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/Extensions.h
@@ -0,0 +1,54 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_Extensions__
+#define __gnu_javax_net_ssl_provider_Extensions__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class CertificateType;
+ class Extension;
+ class Extensions;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::Extensions : public ::java::lang::Object
+{
+
+ Extensions();
+public: // actually package-private
+ static ::java::util::List * getServerName(::gnu::javax::net::ssl::provider::Extension *);
+ static ::java::util::List * getClientCertTypes(::gnu::javax::net::ssl::provider::Extension *);
+ static ::gnu::javax::net::ssl::provider::CertificateType * getServerCertType(::gnu::javax::net::ssl::provider::Extension *);
+ static ::java::lang::Integer * getMaxFragmentLength(::gnu::javax::net::ssl::provider::Extension *);
+ static JArray< ::java::lang::Object * > * getTrustedCA(::gnu::javax::net::ssl::provider::Extension *);
+ static ::java::lang::String * getSRPUsername(::gnu::javax::net::ssl::provider::Extension *);
+private:
+ static ::java::lang::Integer * _512;
+ static ::java::lang::Integer * _1024;
+ static ::java::lang::Integer * _2048;
+ static ::java::lang::Integer * _4096;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_Extensions__
diff --git a/libjava/gnu/javax/net/ssl/provider/Finished.h b/libjava/gnu/javax/net/ssl/provider/Finished.h
new file mode 100644
index 00000000000..37e01c4c7e4
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/Finished.h
@@ -0,0 +1,64 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_Finished__
+#define __gnu_javax_net_ssl_provider_Finished__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class Finished;
+ class ProtocolVersion;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::Finished : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Finished(::java::nio::ByteBuffer *, ::gnu::javax::net::ssl::provider::ProtocolVersion *);
+public:
+ jint length();
+public: // actually package-private
+ JArray< jbyte > * verifyData();
+ JArray< jbyte > * md5Hash();
+ JArray< jbyte > * shaHash();
+ void setVerifyData(JArray< jbyte > *, jint);
+ void setMD5Hash(JArray< jbyte > *, jint);
+ void setShaHash(JArray< jbyte > *, jint);
+public:
+ ::java::lang::String * toString();
+ ::java::lang::String * toString(::java::lang::String *);
+private:
+ ::java::nio::ByteBuffer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) buffer;
+ ::gnu::javax::net::ssl::provider::ProtocolVersion * version;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_Finished__
diff --git a/libjava/gnu/javax/net/ssl/provider/GNUSecurityParameters.h b/libjava/gnu/javax/net/ssl/provider/GNUSecurityParameters.h
new file mode 100644
index 00000000000..b5b2bc77483
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/GNUSecurityParameters.h
@@ -0,0 +1,98 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_GNUSecurityParameters__
+#define __gnu_javax_net_ssl_provider_GNUSecurityParameters__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace security
+ {
+ namespace prng
+ {
+ class IRandom;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace mac
+ {
+ class IMac;
+ }
+ namespace mode
+ {
+ class IMode;
+ }
+ }
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class ContentType;
+ class GNUSecurityParameters;
+ class ProtocolVersion;
+ class Session;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::GNUSecurityParameters : public ::java::lang::Object
+{
+
+public: // actually package-private
+ GNUSecurityParameters(::gnu::javax::net::ssl::provider::Session *);
+public:
+ virtual void reset();
+ virtual ::gnu::javax::net::ssl::provider::ProtocolVersion * getVersion();
+ virtual void setVersion(::gnu::javax::net::ssl::provider::ProtocolVersion *);
+ virtual void setInCipher(::java::lang::Object *);
+ virtual void setOutCipher(::java::lang::Object *);
+ virtual void setInMac(::java::lang::Object *);
+ virtual void setOutMac(::java::lang::Object *);
+ virtual void setDeflating(jboolean);
+ virtual void setInflating(jboolean);
+ virtual jint getFragmentLength();
+ virtual void setFragmentLength(jint);
+ virtual JArray< jbyte > * decrypt(JArray< jbyte > *, ::gnu::javax::net::ssl::provider::ProtocolVersion *, ::gnu::javax::net::ssl::provider::ContentType *);
+ virtual JArray< jbyte > * encrypt(JArray< jbyte > *, jint, jint, ::gnu::javax::net::ssl::provider::ContentType *);
+private:
+ static void transformRC4(JArray< jbyte > *, jint, jint, JArray< jbyte > *, jint, ::gnu::java::security::prng::IRandom *);
+ static const jboolean DEBUG_RECORD_LAYER = 0;
+ static ::java::io::PrintWriter * debug;
+public: // actually package-private
+ ::gnu::javax::crypto::mode::IMode * __attribute__((aligned(__alignof__( ::java::lang::Object)))) inCipher;
+ ::gnu::javax::crypto::mode::IMode * outCipher;
+ ::gnu::java::security::prng::IRandom * inRandom;
+ ::gnu::java::security::prng::IRandom * outRandom;
+ ::gnu::javax::crypto::mac::IMac * inMac;
+ ::gnu::javax::crypto::mac::IMac * outMac;
+ jlong inSequence;
+ jlong outSequence;
+ ::gnu::javax::net::ssl::provider::Session * session;
+ ::gnu::javax::net::ssl::provider::ProtocolVersion * version;
+ jint fragmentLength;
+private:
+ ::java::util::zip::Inflater * inflater;
+ ::java::util::zip::Deflater * deflater;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_GNUSecurityParameters__
diff --git a/libjava/gnu/javax/net/ssl/provider/Handshake$Body.h b/libjava/gnu/javax/net/ssl/provider/Handshake$Body.h
new file mode 100644
index 00000000000..8fe4e8515dc
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/Handshake$Body.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_Handshake$Body__
+#define __gnu_javax_net_ssl_provider_Handshake$Body__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class Handshake$Body;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::Handshake$Body : public ::java::lang::Object
+{
+
+public:
+ virtual jint length() = 0;
+ virtual ::java::lang::String * toString(::java::lang::String *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __gnu_javax_net_ssl_provider_Handshake$Body__
diff --git a/libjava/gnu/javax/net/ssl/provider/Handshake$Type.h b/libjava/gnu/javax/net/ssl/provider/Handshake$Type.h
new file mode 100644
index 00000000000..1296e24621e
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/Handshake$Type.h
@@ -0,0 +1,60 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_Handshake$Type__
+#define __gnu_javax_net_ssl_provider_Handshake$Type__
+
+#pragma interface
+
+#include <java/lang/Enum.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class Handshake$Type;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::Handshake$Type : public ::java::lang::Enum
+{
+
+ Handshake$Type(::java::lang::String *, jint, jint);
+public:
+ static ::gnu::javax::net::ssl::provider::Handshake$Type * forInteger(jint);
+ jint getValue();
+ static JArray< ::gnu::javax::net::ssl::provider::Handshake$Type * > * values();
+ static ::gnu::javax::net::ssl::provider::Handshake$Type * valueOf(::java::lang::String *);
+ static ::gnu::javax::net::ssl::provider::Handshake$Type * HELLO_REQUEST;
+ static ::gnu::javax::net::ssl::provider::Handshake$Type * CLIENT_HELLO;
+ static ::gnu::javax::net::ssl::provider::Handshake$Type * SERVER_HELLO;
+ static ::gnu::javax::net::ssl::provider::Handshake$Type * CERTIFICATE;
+ static ::gnu::javax::net::ssl::provider::Handshake$Type * SERVER_KEY_EXCHANGE;
+ static ::gnu::javax::net::ssl::provider::Handshake$Type * CERTIFICATE_REQUEST;
+ static ::gnu::javax::net::ssl::provider::Handshake$Type * SERVER_HELLO_DONE;
+ static ::gnu::javax::net::ssl::provider::Handshake$Type * CERTIFICATE_VERIFY;
+ static ::gnu::javax::net::ssl::provider::Handshake$Type * CLIENT_KEY_EXCHANGE;
+ static ::gnu::javax::net::ssl::provider::Handshake$Type * FINISHED;
+ static ::gnu::javax::net::ssl::provider::Handshake$Type * CERTIFICATE_URL;
+ static ::gnu::javax::net::ssl::provider::Handshake$Type * CERTIFICATE_STATUS;
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Enum)))) value;
+ static JArray< ::gnu::javax::net::ssl::provider::Handshake$Type * > * ENUM$VALUES;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_Handshake$Type__
diff --git a/libjava/gnu/javax/net/ssl/provider/Handshake$buffer.h b/libjava/gnu/javax/net/ssl/provider/Handshake$buffer.h
new file mode 100644
index 00000000000..5ddb06e0cbd
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/Handshake$buffer.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_Handshake$buffer__
+#define __gnu_javax_net_ssl_provider_Handshake$buffer__
+
+#pragma interface
+
+#include <java/lang/ThreadLocal.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class Handshake$buffer;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::Handshake$buffer : public ::java::lang::ThreadLocal
+{
+
+ Handshake$buffer();
+public: // actually protected
+ virtual ::java::lang::Object * initialValue();
+public: // actually package-private
+ virtual ::java::io::ByteArrayOutputStream * getBuffer();
+ Handshake$buffer(::gnu::javax::net::ssl::provider::Handshake$buffer *);
+ static const jint SIZE = 2048;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_Handshake$buffer__
diff --git a/libjava/gnu/javax/net/ssl/provider/Handshake.h b/libjava/gnu/javax/net/ssl/provider/Handshake.h
new file mode 100644
index 00000000000..498e377c749
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/Handshake.h
@@ -0,0 +1,68 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_Handshake__
+#define __gnu_javax_net_ssl_provider_Handshake__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class CipherSuite;
+ class Handshake;
+ class Handshake$Body;
+ class Handshake$Type;
+ class ProtocolVersion;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::Handshake : public ::java::lang::Object
+{
+
+public:
+ Handshake(::java::nio::ByteBuffer *);
+ Handshake(::java::nio::ByteBuffer *, ::gnu::javax::net::ssl::provider::CipherSuite *, ::gnu::javax::net::ssl::provider::ProtocolVersion *);
+ ::gnu::javax::net::ssl::provider::Handshake$Type * type();
+ jint length();
+ ::gnu::javax::net::ssl::provider::Handshake$Body * body();
+ ::java::nio::ByteBuffer * bodyBuffer();
+ void setType(::gnu::javax::net::ssl::provider::Handshake$Type *);
+ void setLength(jint);
+ ::java::lang::String * toString();
+ ::java::lang::String * toString(::java::lang::String *);
+public: // actually package-private
+ static JArray< jint > * $SWITCH_TABLE$gnu$javax$net$ssl$provider$Handshake$Type();
+private:
+ ::java::nio::ByteBuffer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) buffer;
+ ::gnu::javax::net::ssl::provider::CipherSuite * suite;
+ ::gnu::javax::net::ssl::provider::ProtocolVersion * version;
+ static JArray< jint > * $SWITCH_TABLE$gnu$javax$net$ssl$provider$Handshake$Type__;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_Handshake__
diff --git a/libjava/gnu/javax/net/ssl/provider/HelloRequest.h b/libjava/gnu/javax/net/ssl/provider/HelloRequest.h
new file mode 100644
index 00000000000..32ff951a3ac
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/HelloRequest.h
@@ -0,0 +1,41 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_HelloRequest__
+#define __gnu_javax_net_ssl_provider_HelloRequest__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class HelloRequest;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::HelloRequest : public ::java::lang::Object
+{
+
+public:
+ HelloRequest();
+ ::java::lang::String * toString(::java::lang::String *);
+ jint length();
+ ::java::lang::String * toString();
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_HelloRequest__
diff --git a/libjava/gnu/javax/net/ssl/provider/InputSecurityParameters.h b/libjava/gnu/javax/net/ssl/provider/InputSecurityParameters.h
new file mode 100644
index 00000000000..2881a0f1275
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/InputSecurityParameters.h
@@ -0,0 +1,90 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_InputSecurityParameters__
+#define __gnu_javax_net_ssl_provider_InputSecurityParameters__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace classpath
+ {
+ namespace debug
+ {
+ class SystemLogger;
+ }
+ }
+ namespace java
+ {
+ namespace security
+ {
+ namespace util
+ {
+ class ByteBufferOutputStream;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class CipherSuite;
+ class InputSecurityParameters;
+ class Record;
+ class SessionImpl;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+ namespace javax
+ {
+ namespace crypto
+ {
+ class Cipher;
+ class Mac;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::InputSecurityParameters : public ::java::lang::Object
+{
+
+public:
+ InputSecurityParameters(::javax::crypto::Cipher *, ::javax::crypto::Mac *, ::java::util::zip::Inflater *, ::gnu::javax::net::ssl::provider::SessionImpl *, ::gnu::javax::net::ssl::provider::CipherSuite *);
+ virtual jint decrypt(::gnu::javax::net::ssl::provider::Record *, JArray< ::java::nio::ByteBuffer * > *, jint, jint);
+ virtual jint decrypt(::gnu::javax::net::ssl::provider::Record *, ::gnu::java::security::util::ByteBufferOutputStream *);
+private:
+ jint decrypt(::gnu::javax::net::ssl::provider::Record *, JArray< ::java::nio::ByteBuffer * > *, jint, jint, ::gnu::java::security::util::ByteBufferOutputStream *);
+public: // actually package-private
+ virtual ::gnu::javax::net::ssl::provider::CipherSuite * cipherSuite();
+private:
+ static ::gnu::classpath::debug::SystemLogger * logger;
+ ::javax::crypto::Cipher * __attribute__((aligned(__alignof__( ::java::lang::Object)))) cipher;
+ ::javax::crypto::Mac * mac;
+ ::java::util::zip::Inflater * inflater;
+ ::gnu::javax::net::ssl::provider::SessionImpl * session;
+ ::gnu::javax::net::ssl::provider::CipherSuite * suite;
+ jlong sequence;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_InputSecurityParameters__
diff --git a/libjava/gnu/javax/net/ssl/provider/JCESecurityParameters.h b/libjava/gnu/javax/net/ssl/provider/JCESecurityParameters.h
new file mode 100644
index 00000000000..cc12a365000
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/JCESecurityParameters.h
@@ -0,0 +1,76 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_JCESecurityParameters__
+#define __gnu_javax_net_ssl_provider_JCESecurityParameters__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class ContentType;
+ class JCESecurityParameters;
+ class ProtocolVersion;
+ }
+ }
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace crypto
+ {
+ class Cipher;
+ class Mac;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::JCESecurityParameters : public ::java::lang::Object
+{
+
+public: // actually package-private
+ JCESecurityParameters();
+public:
+ virtual void reset();
+ virtual void setInCipher(::java::lang::Object *);
+ virtual void setOutCipher(::java::lang::Object *);
+ virtual void setInMac(::java::lang::Object *);
+ virtual void setOutMac(::java::lang::Object *);
+ virtual void setDeflating(jboolean);
+ virtual void setInflating(jboolean);
+ virtual jint getFragmentLength();
+ virtual void setFragmentLength(jint);
+ virtual ::gnu::javax::net::ssl::provider::ProtocolVersion * getVersion();
+ virtual void setVersion(::gnu::javax::net::ssl::provider::ProtocolVersion *);
+ virtual JArray< jbyte > * decrypt(JArray< jbyte > *, ::gnu::javax::net::ssl::provider::ProtocolVersion *, ::gnu::javax::net::ssl::provider::ContentType *);
+ virtual JArray< jbyte > * encrypt(JArray< jbyte > *, jint, jint, ::gnu::javax::net::ssl::provider::ContentType *);
+private:
+ ::javax::crypto::Cipher * __attribute__((aligned(__alignof__( ::java::lang::Object)))) inCipher;
+ ::javax::crypto::Cipher * outCipher;
+ ::javax::crypto::Mac * inMac;
+ ::javax::crypto::Mac * outMac;
+ ::java::util::zip::Inflater * inflater;
+ ::java::util::zip::Deflater * deflater;
+ jint fragmentLength;
+ jlong inSequence;
+ jlong outSequence;
+ ::gnu::javax::net::ssl::provider::ProtocolVersion * version;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_JCESecurityParameters__
diff --git a/libjava/gnu/javax/net/ssl/provider/JDBCSessionContext.h b/libjava/gnu/javax/net/ssl/provider/JDBCSessionContext.h
new file mode 100644
index 00000000000..3c838cfd939
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/JDBCSessionContext.h
@@ -0,0 +1,87 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_JDBCSessionContext__
+#define __gnu_javax_net_ssl_provider_JDBCSessionContext__
+
+#pragma interface
+
+#include <gnu/javax/net/ssl/provider/SessionContext.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class JDBCSessionContext;
+ class Session;
+ class Session$ID;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace security
+ {
+ namespace cert
+ {
+ class Certificate;
+ }
+ }
+ namespace sql
+ {
+ class Connection;
+ class PreparedStatement;
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class SSLSession;
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::JDBCSessionContext : public ::gnu::javax::net::ssl::provider::SessionContext
+{
+
+public: // actually package-private
+ JDBCSessionContext();
+public:
+ virtual ::java::util::Enumeration * getIds();
+ virtual ::javax::net::ssl::SSLSession * getSession(JArray< jbyte > *);
+public: // actually package-private
+ virtual jboolean addSession(::gnu::javax::net::ssl::provider::Session$ID *, ::gnu::javax::net::ssl::provider::Session *);
+ virtual jboolean containsSessionID(::gnu::javax::net::ssl::provider::Session$ID *);
+public: // actually protected
+ virtual jboolean removeSession(::gnu::javax::net::ssl::provider::Session$ID *);
+public: // actually package-private
+ virtual void notifyAccess(::gnu::javax::net::ssl::provider::Session *);
+private:
+ JArray< jbyte > * certs(JArray< ::java::security::cert::Certificate * > *);
+public: // actually protected
+ ::java::sql::Connection * __attribute__((aligned(__alignof__( ::gnu::javax::net::ssl::provider::SessionContext)))) connection;
+ ::java::sql::PreparedStatement * selectById;
+ ::java::sql::PreparedStatement * insert;
+ ::java::sql::PreparedStatement * selectTimestamp;
+ ::java::sql::PreparedStatement * updateTimestamp;
+ ::java::sql::PreparedStatement * deleteSession;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_JDBCSessionContext__
diff --git a/libjava/gnu/javax/net/ssl/provider/Jessie$1.h b/libjava/gnu/javax/net/ssl/provider/Jessie$1.h
new file mode 100644
index 00000000000..20c6576227a
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/Jessie$1.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_Jessie$1__
+#define __gnu_javax_net_ssl_provider_Jessie$1__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class Jessie;
+ class Jessie$1;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::Jessie$1 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Jessie$1(::gnu::javax::net::ssl::provider::Jessie *);
+public:
+ ::java::lang::Object * run();
+public: // actually package-private
+ ::gnu::javax::net::ssl::provider::Jessie * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_Jessie$1__
diff --git a/libjava/gnu/javax/net/ssl/provider/Jessie.h b/libjava/gnu/javax/net/ssl/provider/Jessie.h
new file mode 100644
index 00000000000..3f0cf9c7dd2
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/Jessie.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_Jessie__
+#define __gnu_javax_net_ssl_provider_Jessie__
+
+#pragma interface
+
+#include <java/security/Provider.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class Jessie;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::Jessie : public ::java::security::Provider
+{
+
+public:
+ Jessie();
+private:
+ static const jlong serialVersionUID = -1LL;
+public:
+ static ::java::lang::String * VERSION;
+ static jdouble VERSION_DOUBLE;
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_Jessie__
diff --git a/libjava/gnu/javax/net/ssl/provider/JessieDHPrivateKey.h b/libjava/gnu/javax/net/ssl/provider/JessieDHPrivateKey.h
new file mode 100644
index 00000000000..3f6f8f16d6e
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/JessieDHPrivateKey.h
@@ -0,0 +1,68 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_JessieDHPrivateKey__
+#define __gnu_javax_net_ssl_provider_JessieDHPrivateKey__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class JessieDHPrivateKey;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ }
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace spec
+ {
+ class DHParameterSpec;
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::JessieDHPrivateKey : public ::java::lang::Object
+{
+
+public: // actually package-private
+ JessieDHPrivateKey(::javax::crypto::spec::DHParameterSpec *, ::java::math::BigInteger *);
+public:
+ virtual ::java::lang::String * getAlgorithm();
+ virtual ::java::lang::String * getFormat();
+ virtual JArray< jbyte > * getEncoded();
+ virtual ::javax::crypto::spec::DHParameterSpec * getParams();
+ virtual ::java::math::BigInteger * getX();
+ virtual ::java::lang::String * toString();
+private:
+ ::javax::crypto::spec::DHParameterSpec * __attribute__((aligned(__alignof__( ::java::lang::Object)))) params;
+ ::java::math::BigInteger * x;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_JessieDHPrivateKey__
diff --git a/libjava/gnu/javax/net/ssl/provider/JessieDHPublicKey.h b/libjava/gnu/javax/net/ssl/provider/JessieDHPublicKey.h
new file mode 100644
index 00000000000..80f504a09c3
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/JessieDHPublicKey.h
@@ -0,0 +1,68 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_JessieDHPublicKey__
+#define __gnu_javax_net_ssl_provider_JessieDHPublicKey__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class JessieDHPublicKey;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ }
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace spec
+ {
+ class DHParameterSpec;
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::JessieDHPublicKey : public ::java::lang::Object
+{
+
+public: // actually package-private
+ JessieDHPublicKey(::javax::crypto::spec::DHParameterSpec *, ::java::math::BigInteger *);
+public:
+ virtual ::java::lang::String * getAlgorithm();
+ virtual ::java::lang::String * getFormat();
+ virtual JArray< jbyte > * getEncoded();
+ virtual ::javax::crypto::spec::DHParameterSpec * getParams();
+ virtual ::java::math::BigInteger * getY();
+ virtual ::java::lang::String * toString();
+private:
+ ::javax::crypto::spec::DHParameterSpec * __attribute__((aligned(__alignof__( ::java::lang::Object)))) params;
+ ::java::math::BigInteger * y;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_JessieDHPublicKey__
diff --git a/libjava/gnu/javax/net/ssl/provider/JessieRSAPrivateKey.h b/libjava/gnu/javax/net/ssl/provider/JessieRSAPrivateKey.h
new file mode 100644
index 00000000000..0c2644643f3
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/JessieRSAPrivateKey.h
@@ -0,0 +1,58 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_JessieRSAPrivateKey__
+#define __gnu_javax_net_ssl_provider_JessieRSAPrivateKey__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class JessieRSAPrivateKey;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::JessieRSAPrivateKey : public ::java::lang::Object
+{
+
+public: // actually package-private
+ JessieRSAPrivateKey(::java::math::BigInteger *, ::java::math::BigInteger *);
+public:
+ virtual ::java::lang::String * getAlgorithm();
+ virtual ::java::lang::String * getFormat();
+ virtual JArray< jbyte > * getEncoded();
+ virtual ::java::math::BigInteger * getModulus();
+ virtual ::java::math::BigInteger * getPrivateExponent();
+ virtual ::java::lang::String * toString();
+private:
+ ::java::math::BigInteger * __attribute__((aligned(__alignof__( ::java::lang::Object)))) modulus;
+ ::java::math::BigInteger * exponent;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_JessieRSAPrivateKey__
diff --git a/libjava/gnu/javax/net/ssl/provider/JessieRSAPublicKey.h b/libjava/gnu/javax/net/ssl/provider/JessieRSAPublicKey.h
new file mode 100644
index 00000000000..14dfea7b75f
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/JessieRSAPublicKey.h
@@ -0,0 +1,58 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_JessieRSAPublicKey__
+#define __gnu_javax_net_ssl_provider_JessieRSAPublicKey__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class JessieRSAPublicKey;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::JessieRSAPublicKey : public ::java::lang::Object
+{
+
+public: // actually package-private
+ JessieRSAPublicKey(::java::math::BigInteger *, ::java::math::BigInteger *);
+public:
+ virtual ::java::lang::String * getAlgorithm();
+ virtual ::java::lang::String * getFormat();
+ virtual JArray< jbyte > * getEncoded();
+ virtual ::java::math::BigInteger * getModulus();
+ virtual ::java::math::BigInteger * getPublicExponent();
+ virtual ::java::lang::String * toString();
+private:
+ ::java::math::BigInteger * __attribute__((aligned(__alignof__( ::java::lang::Object)))) modulus;
+ ::java::math::BigInteger * exponent;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_JessieRSAPublicKey__
diff --git a/libjava/gnu/javax/net/ssl/provider/KeyExchangeAlgorithm.h b/libjava/gnu/javax/net/ssl/provider/KeyExchangeAlgorithm.h
new file mode 100644
index 00000000000..60dec2ad7af
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/KeyExchangeAlgorithm.h
@@ -0,0 +1,55 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_KeyExchangeAlgorithm__
+#define __gnu_javax_net_ssl_provider_KeyExchangeAlgorithm__
+
+#pragma interface
+
+#include <java/lang/Enum.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class KeyExchangeAlgorithm;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::KeyExchangeAlgorithm : public ::java::lang::Enum
+{
+
+ KeyExchangeAlgorithm(::java::lang::String *, jint);
+public:
+ static JArray< ::gnu::javax::net::ssl::provider::KeyExchangeAlgorithm * > * values();
+ static ::gnu::javax::net::ssl::provider::KeyExchangeAlgorithm * valueOf(::java::lang::String *);
+ static ::gnu::javax::net::ssl::provider::KeyExchangeAlgorithm * NONE;
+ static ::gnu::javax::net::ssl::provider::KeyExchangeAlgorithm * RSA;
+ static ::gnu::javax::net::ssl::provider::KeyExchangeAlgorithm * DH_DSS;
+ static ::gnu::javax::net::ssl::provider::KeyExchangeAlgorithm * DH_RSA;
+ static ::gnu::javax::net::ssl::provider::KeyExchangeAlgorithm * DH_anon;
+ static ::gnu::javax::net::ssl::provider::KeyExchangeAlgorithm * DHE_DSS;
+ static ::gnu::javax::net::ssl::provider::KeyExchangeAlgorithm * DHE_RSA;
+ static ::gnu::javax::net::ssl::provider::KeyExchangeAlgorithm * PSK;
+ static ::gnu::javax::net::ssl::provider::KeyExchangeAlgorithm * DHE_PSK;
+ static ::gnu::javax::net::ssl::provider::KeyExchangeAlgorithm * RSA_PSK;
+private:
+ static JArray< ::gnu::javax::net::ssl::provider::KeyExchangeAlgorithm * > * ENUM$VALUES;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_KeyExchangeAlgorithm__
diff --git a/libjava/gnu/javax/net/ssl/provider/KeyPool.h b/libjava/gnu/javax/net/ssl/provider/KeyPool.h
new file mode 100644
index 00000000000..0eb8f3ccb21
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/KeyPool.h
@@ -0,0 +1,60 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_KeyPool__
+#define __gnu_javax_net_ssl_provider_KeyPool__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class KeyPool;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ namespace security
+ {
+ class KeyPair;
+ class SecureRandom;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::KeyPool : public ::java::lang::Object
+{
+
+ KeyPool();
+public: // actually package-private
+ static ::java::security::KeyPair * generateRSAKeyPair();
+private:
+ static void nextBytes(JArray< jbyte > *);
+ static ::java::math::BigInteger * ONE;
+ static ::java::math::BigInteger * TWO;
+ static ::java::math::BigInteger * E;
+ static ::java::security::SecureRandom * RANDOM;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_KeyPool__
diff --git a/libjava/gnu/javax/net/ssl/provider/MacAlgorithm.h b/libjava/gnu/javax/net/ssl/provider/MacAlgorithm.h
new file mode 100644
index 00000000000..7926121855c
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/MacAlgorithm.h
@@ -0,0 +1,48 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_MacAlgorithm__
+#define __gnu_javax_net_ssl_provider_MacAlgorithm__
+
+#pragma interface
+
+#include <java/lang/Enum.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class MacAlgorithm;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::MacAlgorithm : public ::java::lang::Enum
+{
+
+ MacAlgorithm(::java::lang::String *, jint);
+public:
+ static JArray< ::gnu::javax::net::ssl::provider::MacAlgorithm * > * values();
+ static ::gnu::javax::net::ssl::provider::MacAlgorithm * valueOf(::java::lang::String *);
+ static ::gnu::javax::net::ssl::provider::MacAlgorithm * NULL;
+ static ::gnu::javax::net::ssl::provider::MacAlgorithm * MD5;
+ static ::gnu::javax::net::ssl::provider::MacAlgorithm * SHA;
+private:
+ static JArray< ::gnu::javax::net::ssl::provider::MacAlgorithm * > * ENUM$VALUES;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_MacAlgorithm__
diff --git a/libjava/gnu/javax/net/ssl/provider/MacException.h b/libjava/gnu/javax/net/ssl/provider/MacException.h
new file mode 100644
index 00000000000..b1707eed108
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/MacException.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_MacException__
+#define __gnu_javax_net_ssl_provider_MacException__
+
+#pragma interface
+
+#include <java/io/IOException.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class MacException;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::MacException : public ::java::io::IOException
+{
+
+public: // actually package-private
+ MacException();
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_MacException__
diff --git a/libjava/gnu/javax/net/ssl/provider/MaxFragmentLength.h b/libjava/gnu/javax/net/ssl/provider/MaxFragmentLength.h
new file mode 100644
index 00000000000..81c1aca44f5
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/MaxFragmentLength.h
@@ -0,0 +1,59 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_MaxFragmentLength__
+#define __gnu_javax_net_ssl_provider_MaxFragmentLength__
+
+#pragma interface
+
+#include <gnu/javax/net/ssl/provider/Extension$Value.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class MaxFragmentLength;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::MaxFragmentLength : public ::gnu::javax::net::ssl::provider::Extension$Value
+{
+
+ MaxFragmentLength(jint, jint);
+public:
+ virtual ::java::nio::ByteBuffer * buffer();
+ virtual jint length();
+ virtual jint getValue();
+ virtual jint maxLength();
+ virtual ::java::lang::String * toString();
+ virtual ::java::lang::String * toString(::java::lang::String *);
+ static ::gnu::javax::net::ssl::provider::MaxFragmentLength * LEN_2_9;
+ static ::gnu::javax::net::ssl::provider::MaxFragmentLength * LEN_2_10;
+ static ::gnu::javax::net::ssl::provider::MaxFragmentLength * LEN_2_11;
+ static ::gnu::javax::net::ssl::provider::MaxFragmentLength * LEN_2_12;
+private:
+ jint __attribute__((aligned(__alignof__( ::gnu::javax::net::ssl::provider::Extension$Value)))) value;
+ jint length__;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_MaxFragmentLength__
diff --git a/libjava/gnu/javax/net/ssl/provider/OutputSecurityParameters.h b/libjava/gnu/javax/net/ssl/provider/OutputSecurityParameters.h
new file mode 100644
index 00000000000..7bb774beabf
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/OutputSecurityParameters.h
@@ -0,0 +1,77 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_OutputSecurityParameters__
+#define __gnu_javax_net_ssl_provider_OutputSecurityParameters__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace classpath
+ {
+ namespace debug
+ {
+ class SystemLogger;
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class CipherSuite;
+ class ContentType;
+ class OutputSecurityParameters;
+ class SessionImpl;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+ namespace javax
+ {
+ namespace crypto
+ {
+ class Cipher;
+ class Mac;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::OutputSecurityParameters : public ::java::lang::Object
+{
+
+public:
+ OutputSecurityParameters(::javax::crypto::Cipher *, ::javax::crypto::Mac *, ::java::util::zip::Deflater *, ::gnu::javax::net::ssl::provider::SessionImpl *, ::gnu::javax::net::ssl::provider::CipherSuite *);
+ virtual JArray< jint > * encrypt(JArray< ::java::nio::ByteBuffer * > *, jint, jint, ::gnu::javax::net::ssl::provider::ContentType *, ::java::nio::ByteBuffer *);
+public: // actually package-private
+ virtual ::gnu::javax::net::ssl::provider::CipherSuite * suite();
+private:
+ static ::gnu::classpath::debug::SystemLogger * logger;
+ ::javax::crypto::Cipher * __attribute__((aligned(__alignof__( ::java::lang::Object)))) cipher;
+ ::javax::crypto::Mac * mac;
+ ::java::util::zip::Deflater * deflater;
+ ::gnu::javax::net::ssl::provider::SessionImpl * session;
+ ::gnu::javax::net::ssl::provider::CipherSuite * suite__;
+ jlong sequence;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_OutputSecurityParameters__
diff --git a/libjava/gnu/javax/net/ssl/provider/OverflowException.h b/libjava/gnu/javax/net/ssl/provider/OverflowException.h
new file mode 100644
index 00000000000..0fb5735937b
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/OverflowException.h
@@ -0,0 +1,40 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_OverflowException__
+#define __gnu_javax_net_ssl_provider_OverflowException__
+
+#pragma interface
+
+#include <java/io/IOException.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class OverflowException;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::OverflowException : public ::java::io::IOException
+{
+
+public: // actually package-private
+ OverflowException();
+ OverflowException(::java::lang::String *);
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_OverflowException__
diff --git a/libjava/gnu/javax/net/ssl/provider/PreSharedKeyManagerFactoryImpl$Manager.h b/libjava/gnu/javax/net/ssl/provider/PreSharedKeyManagerFactoryImpl$Manager.h
new file mode 100644
index 00000000000..7c8ceace8a8
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/PreSharedKeyManagerFactoryImpl$Manager.h
@@ -0,0 +1,52 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_PreSharedKeyManagerFactoryImpl$Manager__
+#define __gnu_javax_net_ssl_provider_PreSharedKeyManagerFactoryImpl$Manager__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class PreSharedKeyManagerFactoryImpl;
+ class PreSharedKeyManagerFactoryImpl$Manager;
+ }
+ }
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace crypto
+ {
+ class SecretKey;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::PreSharedKeyManagerFactoryImpl$Manager : public ::java::lang::Object
+{
+
+public: // actually package-private
+ PreSharedKeyManagerFactoryImpl$Manager(::gnu::javax::net::ssl::provider::PreSharedKeyManagerFactoryImpl *);
+public:
+ virtual ::javax::crypto::SecretKey * getKey(::java::lang::String *);
+ virtual ::java::lang::String * chooseIdentityHint();
+public: // actually package-private
+ ::gnu::javax::net::ssl::provider::PreSharedKeyManagerFactoryImpl * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_PreSharedKeyManagerFactoryImpl$Manager__
diff --git a/libjava/gnu/javax/net/ssl/provider/PreSharedKeyManagerFactoryImpl.h b/libjava/gnu/javax/net/ssl/provider/PreSharedKeyManagerFactoryImpl.h
new file mode 100644
index 00000000000..4e267db7646
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/PreSharedKeyManagerFactoryImpl.h
@@ -0,0 +1,66 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_PreSharedKeyManagerFactoryImpl__
+#define __gnu_javax_net_ssl_provider_PreSharedKeyManagerFactoryImpl__
+
+#pragma interface
+
+#include <javax/net/ssl/KeyManagerFactorySpi.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class PreSharedKeyManagerParameters;
+ namespace provider
+ {
+ class PreSharedKeyManagerFactoryImpl;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace security
+ {
+ class KeyStore;
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class KeyManager;
+ class ManagerFactoryParameters;
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::PreSharedKeyManagerFactoryImpl : public ::javax::net::ssl::KeyManagerFactorySpi
+{
+
+public:
+ PreSharedKeyManagerFactoryImpl();
+public: // actually protected
+ virtual JArray< ::javax::net::ssl::KeyManager * > * engineGetKeyManagers();
+ virtual void engineInit(::javax::net::ssl::ManagerFactoryParameters *);
+ virtual void engineInit(::java::security::KeyStore *, JArray< jchar > *);
+public: // actually package-private
+ ::gnu::javax::net::ssl::PreSharedKeyManagerParameters * __attribute__((aligned(__alignof__( ::javax::net::ssl::KeyManagerFactorySpi)))) params;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_PreSharedKeyManagerFactoryImpl__
diff --git a/libjava/gnu/javax/net/ssl/provider/ProtocolVersion.h b/libjava/gnu/javax/net/ssl/provider/ProtocolVersion.h
new file mode 100644
index 00000000000..f6cc3b78d6e
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/ProtocolVersion.h
@@ -0,0 +1,62 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_ProtocolVersion__
+#define __gnu_javax_net_ssl_provider_ProtocolVersion__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class ProtocolVersion;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::ProtocolVersion : public ::java::lang::Object
+{
+
+ ProtocolVersion(jint, jint);
+public:
+ static ::gnu::javax::net::ssl::provider::ProtocolVersion * read(::java::io::InputStream *);
+ static ::gnu::javax::net::ssl::provider::ProtocolVersion * forName(::java::lang::String *);
+ static ::gnu::javax::net::ssl::provider::ProtocolVersion * getInstance(jint, jint);
+ static ::gnu::javax::net::ssl::provider::ProtocolVersion * getInstance(jshort);
+ jint length();
+ JArray< jbyte > * getEncoded();
+ jint major();
+ jint minor();
+ jint rawValue();
+ jboolean equals(::java::lang::Object *);
+ jint hashCode();
+ jint target$compareTo(::gnu::javax::net::ssl::provider::ProtocolVersion *);
+ ::java::lang::String * toString(::java::lang::String *);
+ ::java::lang::String * toString();
+ jint compareTo(::java::lang::Object *);
+ static ::gnu::javax::net::ssl::provider::ProtocolVersion * SSL_3;
+ static ::gnu::javax::net::ssl::provider::ProtocolVersion * TLS_1;
+ static ::gnu::javax::net::ssl::provider::ProtocolVersion * TLS_1_1;
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) major__;
+ jint minor__;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_ProtocolVersion__
diff --git a/libjava/gnu/javax/net/ssl/provider/Random.h b/libjava/gnu/javax/net/ssl/provider/Random.h
new file mode 100644
index 00000000000..1553624d09e
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/Random.h
@@ -0,0 +1,62 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_Random__
+#define __gnu_javax_net_ssl_provider_Random__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class Random;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::Random : public ::java::lang::Object
+{
+
+public:
+ Random(::java::nio::ByteBuffer *);
+ virtual ::gnu::javax::net::ssl::provider::Random * copy();
+ virtual jint length();
+ virtual ::java::nio::ByteBuffer * buffer();
+ virtual jint gmtUnixTime();
+ virtual JArray< jbyte > * randomBytes();
+ virtual void setGmtUnixTime(jint);
+ virtual void setRandomBytes(JArray< jbyte > *);
+ virtual void setRandomBytes(JArray< jbyte > *, jint);
+ virtual ::java::lang::String * toString(::java::lang::String *);
+ virtual ::java::lang::String * toString();
+public: // actually package-private
+ static const jint RANDOM_LENGTH = 28;
+private:
+ ::java::nio::ByteBuffer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) buffer__;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_Random__
diff --git a/libjava/gnu/javax/net/ssl/provider/Record.h b/libjava/gnu/javax/net/ssl/provider/Record.h
new file mode 100644
index 00000000000..59f90415410
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/Record.h
@@ -0,0 +1,60 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_Record__
+#define __gnu_javax_net_ssl_provider_Record__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class ContentType;
+ class ProtocolVersion;
+ class Record;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::Record : public ::java::lang::Object
+{
+
+public:
+ Record(::java::nio::ByteBuffer *);
+ virtual ::gnu::javax::net::ssl::provider::ContentType * getContentType();
+ virtual ::gnu::javax::net::ssl::provider::ContentType * contentType();
+ virtual jint fragment(::java::nio::ByteBuffer *);
+ virtual ::java::nio::ByteBuffer * fragment();
+ virtual jint length();
+ virtual ::gnu::javax::net::ssl::provider::ProtocolVersion * version();
+ virtual void setContentType(::gnu::javax::net::ssl::provider::ContentType *);
+ virtual void setLength(jint);
+ virtual void setVersion(::gnu::javax::net::ssl::provider::ProtocolVersion *);
+ virtual ::java::lang::String * toString();
+private:
+ ::java::nio::ByteBuffer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) buffer;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_Record__
diff --git a/libjava/gnu/javax/net/ssl/provider/RecordInput.h b/libjava/gnu/javax/net/ssl/provider/RecordInput.h
new file mode 100644
index 00000000000..964c9651929
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/RecordInput.h
@@ -0,0 +1,56 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_RecordInput__
+#define __gnu_javax_net_ssl_provider_RecordInput__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class ContentType;
+ class RecordInput;
+ class Session;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::RecordInput : public ::java::lang::Object
+{
+
+public: // actually package-private
+ RecordInput(::java::io::InputStream *, ::gnu::javax::net::ssl::provider::Session *);
+ virtual jint available(::gnu::javax::net::ssl::provider::ContentType *);
+ virtual void setSession(::gnu::javax::net::ssl::provider::Session *);
+ virtual jint read(JArray< jbyte > *, jint, jint, ::gnu::javax::net::ssl::provider::ContentType *);
+ virtual jboolean pollClose();
+private:
+ void readRecord();
+ static const jboolean DEBUG_RECORD_LAYER = 1;
+ static ::java::util::logging::Logger * logger;
+ JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) fragment;
+ jint index;
+ ::gnu::javax::net::ssl::provider::ContentType * type;
+ ::java::io::DataInputStream * in;
+ ::gnu::javax::net::ssl::provider::Session * session;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_RecordInput__
diff --git a/libjava/gnu/javax/net/ssl/provider/RecordInputStream.h b/libjava/gnu/javax/net/ssl/provider/RecordInputStream.h
new file mode 100644
index 00000000000..b78f2eb312e
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/RecordInputStream.h
@@ -0,0 +1,52 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_RecordInputStream__
+#define __gnu_javax_net_ssl_provider_RecordInputStream__
+
+#pragma interface
+
+#include <java/io/InputStream.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class ContentType;
+ class RecordInput;
+ class RecordInputStream;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::RecordInputStream : public ::java::io::InputStream
+{
+
+public: // actually package-private
+ RecordInputStream(::gnu::javax::net::ssl::provider::RecordInput *, ::gnu::javax::net::ssl::provider::ContentType *);
+public:
+ virtual jint available();
+ virtual jint read();
+ virtual jint read(JArray< jbyte > *);
+ virtual jint read(JArray< jbyte > *, jint, jint);
+ virtual ::java::lang::String * toString();
+private:
+ ::gnu::javax::net::ssl::provider::RecordInput * __attribute__((aligned(__alignof__( ::java::io::InputStream)))) in;
+ ::gnu::javax::net::ssl::provider::ContentType * type;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_RecordInputStream__
diff --git a/libjava/gnu/javax/net/ssl/provider/RecordOutputStream.h b/libjava/gnu/javax/net/ssl/provider/RecordOutputStream.h
new file mode 100644
index 00000000000..427edbf6be0
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/RecordOutputStream.h
@@ -0,0 +1,54 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_RecordOutputStream__
+#define __gnu_javax_net_ssl_provider_RecordOutputStream__
+
+#pragma interface
+
+#include <java/io/FilterOutputStream.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class ContentType;
+ class RecordOutputStream;
+ class SecurityParameters;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::RecordOutputStream : public ::java::io::FilterOutputStream
+{
+
+public: // actually package-private
+ RecordOutputStream(::java::io::OutputStream *, ::gnu::javax::net::ssl::provider::ContentType *, ::gnu::javax::net::ssl::provider::SecurityParameters *);
+public:
+ virtual void write(jint);
+ virtual void write(JArray< jbyte > *);
+ virtual void write(JArray< jbyte > *, jint, jint);
+private:
+ static const jboolean DEBUG_RECORD_LAYER = 1;
+ static ::java::util::logging::Logger * logger;
+ ::gnu::javax::net::ssl::provider::ContentType * __attribute__((aligned(__alignof__( ::java::io::FilterOutputStream)))) type;
+ ::gnu::javax::net::ssl::provider::SecurityParameters * params;
+ jboolean emitEmpty;
+ static JArray< jbyte > * ZERO;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_RecordOutputStream__
diff --git a/libjava/gnu/javax/net/ssl/provider/RecordingInputStream.h b/libjava/gnu/javax/net/ssl/provider/RecordingInputStream.h
new file mode 100644
index 00000000000..a6d912c44a7
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/RecordingInputStream.h
@@ -0,0 +1,52 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_RecordingInputStream__
+#define __gnu_javax_net_ssl_provider_RecordingInputStream__
+
+#pragma interface
+
+#include <java/io/FilterInputStream.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class RecordingInputStream;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::RecordingInputStream : public ::java::io::FilterInputStream
+{
+
+public: // actually package-private
+ RecordingInputStream(::java::io::InputStream *);
+ RecordingInputStream(::java::io::InputStream *, ::java::io::ByteArrayOutputStream *);
+public:
+ virtual jint read();
+ virtual jint read(JArray< jbyte > *, jint, jint);
+ virtual jint read(JArray< jbyte > *);
+ virtual jlong skip(jlong);
+public: // actually package-private
+ virtual JArray< jbyte > * getBytes();
+ virtual void resetSink();
+public: // actually protected
+ ::java::io::ByteArrayOutputStream * __attribute__((aligned(__alignof__( ::java::io::FilterInputStream)))) sink;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_RecordingInputStream__
diff --git a/libjava/gnu/javax/net/ssl/provider/SRPTrustManagerFactory$Manager.h b/libjava/gnu/javax/net/ssl/provider/SRPTrustManagerFactory$Manager.h
new file mode 100644
index 00000000000..9425426856c
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/SRPTrustManagerFactory$Manager.h
@@ -0,0 +1,73 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_SRPTrustManagerFactory$Manager__
+#define __gnu_javax_net_ssl_provider_SRPTrustManagerFactory$Manager__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace sasl
+ {
+ namespace srp
+ {
+ class PasswordFile;
+ }
+ }
+ }
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class SRPTrustManagerFactory;
+ class SRPTrustManagerFactory$Manager;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ namespace security
+ {
+ class KeyPair;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::SRPTrustManagerFactory$Manager : public ::java::lang::Object
+{
+
+public: // actually package-private
+ SRPTrustManagerFactory$Manager(::gnu::javax::net::ssl::provider::SRPTrustManagerFactory *, ::gnu::javax::crypto::sasl::srp::PasswordFile *);
+public:
+ virtual jboolean contains(::java::lang::String *);
+ virtual ::java::security::KeyPair * getKeyPair(::java::lang::String *);
+ virtual JArray< jbyte > * getSalt(::java::lang::String *);
+ virtual ::java::math::BigInteger * getVerifier(::java::lang::String *);
+ virtual ::gnu::javax::crypto::sasl::srp::PasswordFile * getPasswordFile();
+private:
+ ::gnu::javax::crypto::sasl::srp::PasswordFile * __attribute__((aligned(__alignof__( ::java::lang::Object)))) file;
+public: // actually package-private
+ ::gnu::javax::net::ssl::provider::SRPTrustManagerFactory * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_SRPTrustManagerFactory$Manager__
diff --git a/libjava/gnu/javax/net/ssl/provider/SRPTrustManagerFactory.h b/libjava/gnu/javax/net/ssl/provider/SRPTrustManagerFactory.h
new file mode 100644
index 00000000000..a1f10fb44d2
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/SRPTrustManagerFactory.h
@@ -0,0 +1,66 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_SRPTrustManagerFactory__
+#define __gnu_javax_net_ssl_provider_SRPTrustManagerFactory__
+
+#pragma interface
+
+#include <javax/net/ssl/TrustManagerFactorySpi.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class SRPTrustManagerFactory;
+ class SRPTrustManagerFactory$Manager;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace security
+ {
+ class KeyStore;
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class ManagerFactoryParameters;
+ class TrustManager;
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::SRPTrustManagerFactory : public ::javax::net::ssl::TrustManagerFactorySpi
+{
+
+public:
+ SRPTrustManagerFactory();
+public: // actually protected
+ virtual JArray< ::javax::net::ssl::TrustManager * > * engineGetTrustManagers();
+ virtual void engineInit(::java::security::KeyStore *);
+ virtual void engineInit(::javax::net::ssl::ManagerFactoryParameters *);
+private:
+ ::gnu::javax::net::ssl::provider::SRPTrustManagerFactory$Manager * __attribute__((aligned(__alignof__( ::javax::net::ssl::TrustManagerFactorySpi)))) current;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_SRPTrustManagerFactory__
diff --git a/libjava/gnu/javax/net/ssl/provider/SSLContextImpl.h b/libjava/gnu/javax/net/ssl/provider/SSLContextImpl.h
new file mode 100644
index 00000000000..bdb7e80380d
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/SSLContextImpl.h
@@ -0,0 +1,88 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_SSLContextImpl__
+#define __gnu_javax_net_ssl_provider_SSLContextImpl__
+
+#pragma interface
+
+#include <javax/net/ssl/SSLContextSpi.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class AbstractSessionContext;
+ class PreSharedKeyManager;
+ class SRPTrustManager;
+ namespace provider
+ {
+ class SSLContextImpl;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace security
+ {
+ class SecureRandom;
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class KeyManager;
+ class SSLEngine;
+ class SSLServerSocketFactory;
+ class SSLSessionContext;
+ class SSLSocketFactory;
+ class TrustManager;
+ class X509ExtendedKeyManager;
+ class X509TrustManager;
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::SSLContextImpl : public ::javax::net::ssl::SSLContextSpi
+{
+
+public:
+ SSLContextImpl();
+public: // actually protected
+ ::javax::net::ssl::SSLEngine * engineCreateSSLEngine();
+ ::javax::net::ssl::SSLEngine * engineCreateSSLEngine(::java::lang::String *, jint);
+ ::javax::net::ssl::SSLSessionContext * engineGetClientSessionContext();
+ ::javax::net::ssl::SSLSessionContext * engineGetServerSessionContext();
+ ::javax::net::ssl::SSLServerSocketFactory * engineGetServerSocketFactory();
+ ::javax::net::ssl::SSLSocketFactory * engineGetSocketFactory();
+ void engineInit(JArray< ::javax::net::ssl::KeyManager * > *, JArray< ::javax::net::ssl::TrustManager * > *, ::java::security::SecureRandom *);
+private:
+ ::javax::net::ssl::X509ExtendedKeyManager * defaultKeyManager();
+ ::javax::net::ssl::X509TrustManager * defaultTrustManager();
+ ::java::security::SecureRandom * defaultRandom();
+public: // actually package-private
+ ::gnu::javax::net::ssl::AbstractSessionContext * __attribute__((aligned(__alignof__( ::javax::net::ssl::SSLContextSpi)))) serverContext;
+ ::gnu::javax::net::ssl::AbstractSessionContext * clientContext;
+ ::gnu::javax::net::ssl::PreSharedKeyManager * pskManager;
+ ::javax::net::ssl::X509ExtendedKeyManager * keyManager;
+ ::javax::net::ssl::X509TrustManager * trustManager;
+ ::gnu::javax::net::ssl::SRPTrustManager * srpTrustManager;
+ ::java::security::SecureRandom * random;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_SSLContextImpl__
diff --git a/libjava/gnu/javax/net/ssl/provider/SSLEngineImpl$Mode.h b/libjava/gnu/javax/net/ssl/provider/SSLEngineImpl$Mode.h
new file mode 100644
index 00000000000..a2a8163b897
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/SSLEngineImpl$Mode.h
@@ -0,0 +1,47 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_SSLEngineImpl$Mode__
+#define __gnu_javax_net_ssl_provider_SSLEngineImpl$Mode__
+
+#pragma interface
+
+#include <java/lang/Enum.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class SSLEngineImpl$Mode;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::SSLEngineImpl$Mode : public ::java::lang::Enum
+{
+
+ SSLEngineImpl$Mode(::java::lang::String *, jint);
+public:
+ static JArray< ::gnu::javax::net::ssl::provider::SSLEngineImpl$Mode * > * values();
+ static ::gnu::javax::net::ssl::provider::SSLEngineImpl$Mode * valueOf(::java::lang::String *);
+ static ::gnu::javax::net::ssl::provider::SSLEngineImpl$Mode * SERVER;
+ static ::gnu::javax::net::ssl::provider::SSLEngineImpl$Mode * CLIENT;
+private:
+ static JArray< ::gnu::javax::net::ssl::provider::SSLEngineImpl$Mode * > * ENUM$VALUES;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_SSLEngineImpl$Mode__
diff --git a/libjava/gnu/javax/net/ssl/provider/SSLEngineImpl.h b/libjava/gnu/javax/net/ssl/provider/SSLEngineImpl.h
new file mode 100644
index 00000000000..f62525cc0a5
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/SSLEngineImpl.h
@@ -0,0 +1,128 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_SSLEngineImpl__
+#define __gnu_javax_net_ssl_provider_SSLEngineImpl__
+
+#pragma interface
+
+#include <javax/net/ssl/SSLEngine.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace classpath
+ {
+ namespace debug
+ {
+ class SystemLogger;
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class SSLRecordHandler;
+ namespace provider
+ {
+ class AbstractHandshake;
+ class Alert;
+ class InputSecurityParameters;
+ class OutputSecurityParameters;
+ class SSLContextImpl;
+ class SSLEngineImpl;
+ class SSLEngineImpl$Mode;
+ class SessionImpl;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class SSLEngineResult;
+ class SSLEngineResult$HandshakeStatus;
+ class SSLSession;
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::SSLEngineImpl : public ::javax::net::ssl::SSLEngine
+{
+
+public: // actually package-private
+ SSLEngineImpl(::gnu::javax::net::ssl::provider::SSLContextImpl *, ::java::lang::String *, jint);
+ static JArray< ::java::lang::String * > * defaultSuites();
+public:
+ void beginHandshake();
+ void closeInbound();
+ void closeOutbound();
+ ::java::lang::Runnable * getDelegatedTask();
+ JArray< ::java::lang::String * > * getEnabledCipherSuites();
+ JArray< ::java::lang::String * > * getEnabledProtocols();
+ jboolean getEnableSessionCreation();
+ ::javax::net::ssl::SSLEngineResult$HandshakeStatus * getHandshakeStatus();
+ jboolean getNeedClientAuth();
+ ::javax::net::ssl::SSLSession * getSession();
+ jboolean getUseClientMode();
+ jboolean getWantClientAuth();
+ jboolean isInboundDone();
+ jboolean isOutboundDone();
+ void setEnableSessionCreation(jboolean);
+ void setEnabledCipherSuites(JArray< ::java::lang::String * > *);
+ void setEnabledProtocols(JArray< ::java::lang::String * > *);
+ JArray< ::java::lang::String * > * getSupportedCipherSuites();
+ JArray< ::java::lang::String * > * getSupportedProtocols();
+ void setNeedClientAuth(jboolean);
+ void setUseClientMode(jboolean);
+ void setWantClientAuth(jboolean);
+ ::javax::net::ssl::SSLEngineResult * unwrap(::java::nio::ByteBuffer *, JArray< ::java::nio::ByteBuffer * > *, jint, jint);
+ ::javax::net::ssl::SSLEngineResult * wrap(JArray< ::java::nio::ByteBuffer * > *, jint, jint, ::java::nio::ByteBuffer *);
+public: // actually package-private
+ ::gnu::javax::net::ssl::provider::SessionImpl * session();
+ void setSession(::gnu::javax::net::ssl::provider::SessionImpl *);
+ void changeCipherSpec();
+ static JArray< jint > * $SWITCH_TABLE$gnu$javax$net$ssl$provider$SSLEngineImpl$Mode();
+ ::gnu::javax::net::ssl::provider::SSLContextImpl * __attribute__((aligned(__alignof__( ::javax::net::ssl::SSLEngine)))) contextImpl;
+private:
+ JArray< ::gnu::javax::net::ssl::SSLRecordHandler * > * handlers;
+ static ::gnu::classpath::debug::SystemLogger * logger;
+ ::gnu::javax::net::ssl::provider::SessionImpl * session__;
+ ::gnu::javax::net::ssl::provider::InputSecurityParameters * insec;
+ ::gnu::javax::net::ssl::provider::OutputSecurityParameters * outsec;
+ jboolean inClosed;
+ jboolean outClosed;
+ jboolean createSessions;
+ jboolean needClientAuth;
+ jboolean wantClientAuth;
+ jboolean initialHandshakeDone;
+ ::gnu::javax::net::ssl::provider::AbstractHandshake * handshake;
+ ::gnu::javax::net::ssl::provider::Alert * lastAlert;
+ ::javax::net::ssl::SSLEngineResult$HandshakeStatus * handshakeStatus;
+ jboolean changeCipherSpec__;
+ JArray< ::java::lang::String * > * enabledSuites;
+ JArray< ::java::lang::String * > * enabledProtocols;
+ ::java::nio::ByteBuffer * alertBuffer;
+ ::gnu::javax::net::ssl::provider::SSLEngineImpl$Mode * mode;
+ static JArray< jint > * $SWITCH_TABLE$gnu$javax$net$ssl$provider$SSLEngineImpl$Mode__;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_SSLEngineImpl__
diff --git a/libjava/gnu/javax/net/ssl/provider/SSLHMac.h b/libjava/gnu/javax/net/ssl/provider/SSLHMac.h
new file mode 100644
index 00000000000..7e9ad36ea6e
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/SSLHMac.h
@@ -0,0 +1,69 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_SSLHMac__
+#define __gnu_javax_net_ssl_provider_SSLHMac__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace security
+ {
+ namespace hash
+ {
+ class IMessageDigest;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class SSLHMac;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::SSLHMac : public ::java::lang::Object
+{
+
+public: // actually package-private
+ SSLHMac(::java::lang::String *);
+public:
+ virtual ::java::lang::Object * clone();
+ virtual ::java::lang::String * name();
+ virtual jint macSize();
+ virtual void init(::java::util::Map *);
+ virtual void reset();
+ virtual JArray< jbyte > * digest();
+ virtual void update(jbyte);
+ virtual void update(JArray< jbyte > *, jint, jint);
+ virtual jboolean selfTest();
+public: // actually package-private
+ static const jbyte PAD1 = 54;
+ static const jbyte PAD2 = 92;
+public: // actually protected
+ ::gnu::java::security::hash::IMessageDigest * __attribute__((aligned(__alignof__( ::java::lang::Object)))) md;
+ JArray< jbyte > * key;
+ JArray< jbyte > * pad1;
+ JArray< jbyte > * pad2;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_SSLHMac__
diff --git a/libjava/gnu/javax/net/ssl/provider/SSLRSASignature.h b/libjava/gnu/javax/net/ssl/provider/SSLRSASignature.h
new file mode 100644
index 00000000000..cef51dac37c
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/SSLRSASignature.h
@@ -0,0 +1,79 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_SSLRSASignature__
+#define __gnu_javax_net_ssl_provider_SSLRSASignature__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace security
+ {
+ namespace hash
+ {
+ class IMessageDigest;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class SSLRSASignature;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace security
+ {
+ namespace interfaces
+ {
+ class RSAPrivateKey;
+ class RSAPublicKey;
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::SSLRSASignature : public ::java::lang::Object
+{
+
+public: // actually package-private
+ SSLRSASignature();
+ SSLRSASignature(::gnu::java::security::hash::IMessageDigest *, ::gnu::java::security::hash::IMessageDigest *);
+public:
+ ::java::lang::String * name();
+ void setupVerify(::java::util::Map *);
+ void setupSign(::java::util::Map *);
+ void update(jbyte);
+ void update(JArray< jbyte > *, jint, jint);
+ ::java::lang::Object * sign();
+ jboolean verify(::java::lang::Object *);
+ ::java::lang::Object * clone();
+private:
+ ::java::security::interfaces::RSAPublicKey * __attribute__((aligned(__alignof__( ::java::lang::Object)))) pubkey;
+ ::java::security::interfaces::RSAPrivateKey * privkey;
+ ::gnu::java::security::hash::IMessageDigest * md5;
+ ::gnu::java::security::hash::IMessageDigest * sha;
+ jboolean initVerify;
+ jboolean initSign;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_SSLRSASignature__
diff --git a/libjava/gnu/javax/net/ssl/provider/SSLRSASignatureImpl.h b/libjava/gnu/javax/net/ssl/provider/SSLRSASignatureImpl.h
new file mode 100644
index 00000000000..26da5be52ed
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/SSLRSASignatureImpl.h
@@ -0,0 +1,79 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_SSLRSASignatureImpl__
+#define __gnu_javax_net_ssl_provider_SSLRSASignatureImpl__
+
+#pragma interface
+
+#include <java/security/SignatureSpi.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace classpath
+ {
+ namespace debug
+ {
+ class SystemLogger;
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class SSLRSASignatureImpl;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace security
+ {
+ class MessageDigest;
+ class PrivateKey;
+ class PublicKey;
+ namespace interfaces
+ {
+ class RSAPrivateKey;
+ class RSAPublicKey;
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::SSLRSASignatureImpl : public ::java::security::SignatureSpi
+{
+
+public:
+ SSLRSASignatureImpl();
+public: // actually protected
+ virtual void engineInitVerify(::java::security::PublicKey *);
+ virtual void engineInitSign(::java::security::PrivateKey *);
+ virtual void engineUpdate(jbyte);
+ virtual void engineUpdate(JArray< jbyte > *, jint, jint);
+ virtual JArray< jbyte > * engineSign();
+ virtual jboolean engineVerify(JArray< jbyte > *);
+ virtual void engineSetParameter(::java::lang::String *, ::java::lang::Object *);
+ virtual ::java::lang::Object * engineGetParameter(::java::lang::String *);
+private:
+ static ::gnu::classpath::debug::SystemLogger * logger;
+ ::java::security::interfaces::RSAPublicKey * __attribute__((aligned(__alignof__( ::java::security::SignatureSpi)))) pubkey;
+ ::java::security::interfaces::RSAPrivateKey * privkey;
+ ::java::security::MessageDigest * md5;
+ ::java::security::MessageDigest * sha;
+ jboolean initSign;
+ jboolean initVerify;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_SSLRSASignatureImpl__
diff --git a/libjava/gnu/javax/net/ssl/provider/SSLRandom.h b/libjava/gnu/javax/net/ssl/provider/SSLRandom.h
new file mode 100644
index 00000000000..1a4abf1fda5
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/SSLRandom.h
@@ -0,0 +1,74 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_SSLRandom__
+#define __gnu_javax_net_ssl_provider_SSLRandom__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace security
+ {
+ namespace hash
+ {
+ class IMessageDigest;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class SSLRandom;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::SSLRandom : public ::java::lang::Object
+{
+
+public: // actually package-private
+ SSLRandom();
+public:
+ virtual void init(::java::util::Map *);
+ virtual ::java::lang::String * name();
+ virtual ::java::lang::Object * clone();
+ virtual jbyte nextByte();
+ virtual void nextBytes(JArray< jbyte > *, jint, jint);
+ virtual jboolean selfTest();
+ virtual void addRandomByte(jbyte);
+ virtual void addRandomBytes(JArray< jbyte > *);
+ virtual void addRandomBytes(JArray< jbyte > *, jint, jint);
+private:
+ JArray< jbyte > * nextBlock();
+public: // actually package-private
+ static ::java::lang::String * SECRET;
+ static ::java::lang::String * SEED;
+private:
+ ::gnu::java::security::hash::IMessageDigest * __attribute__((aligned(__alignof__( ::java::lang::Object)))) md5;
+ ::gnu::java::security::hash::IMessageDigest * sha;
+ JArray< jbyte > * secret;
+ JArray< jbyte > * buffer;
+ jbyte pad;
+ JArray< jbyte > * seed;
+ jint idx;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_SSLRandom__
diff --git a/libjava/gnu/javax/net/ssl/provider/SSLServerSocket.h b/libjava/gnu/javax/net/ssl/provider/SSLServerSocket.h
new file mode 100644
index 00000000000..8877d8226e8
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/SSLServerSocket.h
@@ -0,0 +1,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__
diff --git a/libjava/gnu/javax/net/ssl/provider/SSLServerSocketFactory.h b/libjava/gnu/javax/net/ssl/provider/SSLServerSocketFactory.h
new file mode 100644
index 00000000000..308a38d2d03
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/SSLServerSocketFactory.h
@@ -0,0 +1,81 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_SSLServerSocketFactory__
+#define __gnu_javax_net_ssl_provider_SSLServerSocketFactory__
+
+#pragma interface
+
+#include <javax/net/ssl/SSLServerSocketFactory.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class SRPTrustManager;
+ namespace provider
+ {
+ class SSLServerSocket;
+ class SSLServerSocketFactory;
+ class SessionContext;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace net
+ {
+ class InetAddress;
+ class ServerSocket;
+ }
+ namespace security
+ {
+ class SecureRandom;
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class X509KeyManager;
+ class X509TrustManager;
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::SSLServerSocketFactory : public ::javax::net::ssl::SSLServerSocketFactory
+{
+
+public: // actually package-private
+ SSLServerSocketFactory(::javax::net::ssl::X509TrustManager *, ::gnu::javax::net::ssl::SRPTrustManager *, ::javax::net::ssl::X509KeyManager *, ::java::security::SecureRandom *, ::gnu::javax::net::ssl::provider::SessionContext *);
+public:
+ virtual JArray< ::java::lang::String * > * getDefaultCipherSuites();
+ virtual JArray< ::java::lang::String * > * getSupportedCipherSuites();
+ 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 *);
+private:
+ void setup(::gnu::javax::net::ssl::provider::SSLServerSocket *);
+ ::gnu::javax::net::ssl::provider::SessionContext * __attribute__((aligned(__alignof__( ::javax::net::ssl::SSLServerSocketFactory)))) sessions;
+ ::javax::net::ssl::X509KeyManager * keyManager;
+ ::javax::net::ssl::X509TrustManager * trustManager;
+ ::gnu::javax::net::ssl::SRPTrustManager * srpTrustManager;
+ ::java::security::SecureRandom * random;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_SSLServerSocketFactory__
diff --git a/libjava/gnu/javax/net/ssl/provider/SSLServerSocketFactoryImpl.h b/libjava/gnu/javax/net/ssl/provider/SSLServerSocketFactoryImpl.h
new file mode 100644
index 00000000000..a775cf82c66
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/SSLServerSocketFactoryImpl.h
@@ -0,0 +1,61 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_SSLServerSocketFactoryImpl__
+#define __gnu_javax_net_ssl_provider_SSLServerSocketFactoryImpl__
+
+#pragma interface
+
+#include <javax/net/ssl/SSLServerSocketFactory.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class SSLContextImpl;
+ class SSLServerSocketFactoryImpl;
+ class SSLServerSocketImpl;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace net
+ {
+ class InetAddress;
+ class ServerSocket;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::SSLServerSocketFactoryImpl : public ::javax::net::ssl::SSLServerSocketFactory
+{
+
+public:
+ SSLServerSocketFactoryImpl(::gnu::javax::net::ssl::provider::SSLContextImpl *);
+ virtual JArray< ::java::lang::String * > * getDefaultCipherSuites();
+ virtual JArray< ::java::lang::String * > * getSupportedCipherSuites();
+ virtual ::gnu::javax::net::ssl::provider::SSLServerSocketImpl * target$createServerSocket(jint);
+ virtual ::gnu::javax::net::ssl::provider::SSLServerSocketImpl * target$createServerSocket(jint, jint);
+ virtual ::gnu::javax::net::ssl::provider::SSLServerSocketImpl * target$createServerSocket(jint, jint, ::java::net::InetAddress *);
+ virtual ::java::net::ServerSocket * createServerSocket(jint, jint, ::java::net::InetAddress *);
+ virtual ::java::net::ServerSocket * createServerSocket(jint, jint);
+ virtual ::java::net::ServerSocket * createServerSocket(jint);
+private:
+ ::gnu::javax::net::ssl::provider::SSLContextImpl * __attribute__((aligned(__alignof__( ::javax::net::ssl::SSLServerSocketFactory)))) contextImpl;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_SSLServerSocketFactoryImpl__
diff --git a/libjava/gnu/javax/net/ssl/provider/SSLServerSocketImpl.h b/libjava/gnu/javax/net/ssl/provider/SSLServerSocketImpl.h
new file mode 100644
index 00000000000..4367a832bc6
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/SSLServerSocketImpl.h
@@ -0,0 +1,74 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_SSLServerSocketImpl__
+#define __gnu_javax_net_ssl_provider_SSLServerSocketImpl__
+
+#pragma interface
+
+#include <javax/net/ssl/SSLServerSocket.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class SSLContextImpl;
+ class SSLServerSocketImpl;
+ class SSLSocketImpl;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace net
+ {
+ class Socket;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::SSLServerSocketImpl : public ::javax::net::ssl::SSLServerSocket
+{
+
+public:
+ SSLServerSocketImpl(::gnu::javax::net::ssl::provider::SSLContextImpl *);
+ virtual jboolean getEnableSessionCreation();
+ virtual JArray< ::java::lang::String * > * getEnabledCipherSuites();
+ virtual JArray< ::java::lang::String * > * getEnabledProtocols();
+ virtual jboolean getNeedClientAuth();
+ virtual JArray< ::java::lang::String * > * getSupportedCipherSuites();
+ virtual JArray< ::java::lang::String * > * getSupportedProtocols();
+ virtual jboolean getUseClientMode();
+ virtual jboolean getWantClientAuth();
+ virtual void setEnableSessionCreation(jboolean);
+ virtual void setEnabledCipherSuites(JArray< ::java::lang::String * > *);
+ virtual void setEnabledProtocols(JArray< ::java::lang::String * > *);
+ virtual void setNeedClientAuth(jboolean);
+ virtual void setUseClientMode(jboolean);
+ virtual void setWantClientAuth(jboolean);
+ virtual ::gnu::javax::net::ssl::provider::SSLSocketImpl * target$accept();
+ virtual ::java::net::Socket * accept();
+private:
+ ::gnu::javax::net::ssl::provider::SSLContextImpl * __attribute__((aligned(__alignof__( ::javax::net::ssl::SSLServerSocket)))) contextImpl;
+ jboolean enableSessionCreation;
+ JArray< ::java::lang::String * > * enabledCipherSuites;
+ JArray< ::java::lang::String * > * enabledProtocols;
+ jboolean needClientAuth;
+ jboolean wantClientAuth;
+ jboolean clientMode;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_SSLServerSocketImpl__
diff --git a/libjava/gnu/javax/net/ssl/provider/SSLSocket.h b/libjava/gnu/javax/net/ssl/provider/SSLSocket.h
new file mode 100644
index 00000000000..ee2ecbbe832
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/SSLSocket.h
@@ -0,0 +1,240 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_SSLSocket__
+#define __gnu_javax_net_ssl_provider_SSLSocket__
+
+#pragma interface
+
+#include <javax/net/ssl/SSLSocket.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace security
+ {
+ namespace hash
+ {
+ class IMessageDigest;
+ }
+ namespace sig
+ {
+ class ISignature;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class SRPTrustManager;
+ namespace provider
+ {
+ class Alert;
+ class CipherSuite;
+ class Finished;
+ class ProtocolVersion;
+ class RecordInput;
+ class SSLSocket;
+ class Session;
+ class SessionContext;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ namespace net
+ {
+ class InetAddress;
+ class Socket;
+ class SocketAddress;
+ }
+ namespace nio
+ {
+ namespace channels
+ {
+ class SocketChannel;
+ }
+ }
+ namespace security
+ {
+ class SecureRandom;
+ namespace cert
+ {
+ class X509Certificate;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class HandshakeCompletedListener;
+ class SSLSession;
+ class X509KeyManager;
+ class X509TrustManager;
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::SSLSocket : public ::javax::net::ssl::SSLSocket
+{
+
+public: // actually package-private
+ SSLSocket(::java::net::Socket *, ::java::lang::String *, jint, jboolean);
+ SSLSocket(::java::net::Socket *, ::java::nio::channels::SocketChannel *);
+ SSLSocket();
+ SSLSocket(::java::net::InetAddress *, jint);
+ SSLSocket(::java::net::InetAddress *, jint, ::java::net::InetAddress *, jint);
+ SSLSocket(::java::lang::String *, jint);
+ SSLSocket(::java::lang::String *, jint, ::java::net::InetAddress *, jint);
+private:
+ void initialize();
+public:
+ void addHandshakeCompletedListener(::javax::net::ssl::HandshakeCompletedListener *);
+ void removeHandshakeCompletedListener(::javax::net::ssl::HandshakeCompletedListener *);
+ JArray< ::java::lang::String * > * getEnabledProtocols();
+ void setEnabledProtocols(JArray< ::java::lang::String * > *);
+ JArray< ::java::lang::String * > * getSupportedProtocols();
+ JArray< ::java::lang::String * > * getEnabledCipherSuites();
+ void setEnabledCipherSuites(JArray< ::java::lang::String * > *);
+ JArray< ::java::lang::String * > * getSupportedCipherSuites();
+ ::javax::net::ssl::SSLSession * getSession();
+ jboolean getEnableSessionCreation();
+ void setEnableSessionCreation(jboolean);
+ jboolean getNeedClientAuth();
+ void setNeedClientAuth(jboolean);
+ jboolean getWantClientAuth();
+ void setWantClientAuth(jboolean);
+ jboolean getUseClientMode();
+ void setUseClientMode(jboolean);
+ void startHandshake();
+ ::java::net::InetAddress * getInetAddress();
+ ::java::net::InetAddress * getLocalAddress();
+ jint getPort();
+ jint getLocalPort();
+ ::java::io::InputStream * getInputStream();
+ ::java::io::OutputStream * getOutputStream();
+ void setTcpNoDelay(jboolean);
+ jboolean getTcpNoDelay();
+ void setSoLinger(jboolean, jint);
+ jint getSoLinger();
+ void sendUrgentData(jint);
+ void setSoTimeout(jint);
+ jint getSoTimeout();
+ void setSendBufferSize(jint);
+ jint getSendBufferSize();
+ void setReceiveBufferSize(jint);
+ jint getReceiveBufferSize();
+ void close();
+ ::java::lang::String * toString();
+ void connect(::java::net::SocketAddress *);
+ void connect(::java::net::SocketAddress *, jint);
+ void bind(::java::net::SocketAddress *);
+ ::java::net::SocketAddress * getLocalSocketAddress();
+ ::java::nio::channels::SocketChannel * getChannel();
+ jboolean isBound();
+ jboolean isClosed();
+ void setOOBInline(jboolean);
+ jboolean getOOBInline();
+ void setKeepAlive(jboolean);
+ jboolean getKeepAlive();
+ void setTrafficClass(jint);
+ jint getTrafficClass();
+ void setReuseAddress(jboolean);
+ jboolean getReuseAddress();
+ void shutdownInput();
+ void shutdownOutput();
+ jboolean isConnected();
+ jboolean isInputShutdown();
+ jboolean isOutputShutdown();
+public: // actually protected
+ void finalize();
+public: // actually package-private
+ void setSessionContext(::gnu::javax::net::ssl::provider::SessionContext *);
+ void setEnabledCipherSuites(::java::util::List *);
+ void setEnabledProtocols(::java::util::SortedSet *);
+ void setSRPTrustManager(::gnu::javax::net::ssl::SRPTrustManager *);
+ void setTrustManager(::javax::net::ssl::X509TrustManager *);
+ void setKeyManager(::javax::net::ssl::X509KeyManager *);
+ void setRandom(::java::security::SecureRandom *);
+ void sendAlert(::gnu::javax::net::ssl::provider::Alert *);
+ ::gnu::javax::net::ssl::provider::Alert * checkAlert();
+ void checkHandshakeDone();
+private:
+ void changeCipherSpec();
+ void readChangeCipherSpec();
+ void setupIO();
+ void handshakeCompleted();
+ void doClientHandshake();
+ void doServerHandshake();
+ JArray< JArray< jbyte > * > * generateKeys(JArray< jbyte > *, JArray< jbyte > *, ::gnu::javax::net::ssl::provider::ProtocolVersion *);
+ ::gnu::javax::net::ssl::provider::Finished * generateFinished(::gnu::javax::net::ssl::provider::ProtocolVersion *, ::gnu::java::security::hash::IMessageDigest *, ::gnu::java::security::hash::IMessageDigest *, jboolean);
+ ::gnu::javax::net::ssl::provider::Alert * unexpectedMessage();
+ void throwUnexpectedMessage();
+ ::gnu::javax::net::ssl::provider::Alert * handshakeFailure();
+ void throwHandshakeFailure();
+ ::gnu::javax::net::ssl::provider::Alert * internalError();
+ void throwInternalError();
+ ::gnu::javax::net::ssl::provider::Alert * peerUnverified(JArray< ::java::security::cert::X509Certificate * > *);
+ void throwPeerUnverified(JArray< ::java::security::cert::X509Certificate * > *);
+ ::gnu::javax::net::ssl::provider::CipherSuite * selectSuite(::java::util::List *, ::gnu::javax::net::ssl::provider::ProtocolVersion *);
+ ::java::lang::String * askUserName(::java::lang::String *);
+ ::java::lang::String * askPassword(::java::lang::String *);
+ jboolean checkCertificates(JArray< ::java::security::cert::X509Certificate * > *);
+ void updateSig(::gnu::java::security::sig::ISignature *, ::java::math::BigInteger *);
+ void fatal();
+ static const jboolean DEBUG_HANDSHAKE_LAYER = 1;
+ static const jboolean DEBUG_KEY_EXCHANGE = 0;
+ static ::java::util::logging::Logger * logger;
+ ::java::net::Socket * __attribute__((aligned(__alignof__( ::javax::net::ssl::SSLSocket)))) underlyingSocket;
+ jint underlyingPort;
+ jboolean autoClose;
+public: // actually package-private
+ ::gnu::javax::net::ssl::provider::SessionContext * sessionContext;
+ ::gnu::javax::net::ssl::provider::Session * session;
+ ::java::util::LinkedList * handshakeListeners;
+private:
+ jboolean clientMode;
+ jboolean wantClientAuth;
+ jboolean needClientAuth;
+ jboolean createSessions;
+ jboolean handshakeDone;
+ ::java::lang::String * remoteHost;
+ ::java::io::InputStream * socketIn;
+ ::java::io::OutputStream * socketOut;
+ ::java::io::InputStream * applicationIn;
+ ::java::io::OutputStream * applicationOut;
+ ::java::io::InputStream * handshakeIn;
+ ::java::io::OutputStream * handshakeOut;
+public: // actually package-private
+ ::gnu::javax::net::ssl::provider::RecordInput * recordInput;
+private:
+ jlong handshakeTime;
+ ::java::nio::channels::SocketChannel * channel;
+public: // actually package-private
+ static ::java::util::SortedSet * supportedProtocols;
+ static ::java::util::List * supportedSuites;
+private:
+ static JArray< jbyte > * SENDER_CLIENT;
+ static JArray< jbyte > * SENDER_SERVER;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_SSLSocket__
diff --git a/libjava/gnu/javax/net/ssl/provider/SSLSocketFactory.h b/libjava/gnu/javax/net/ssl/provider/SSLSocketFactory.h
new file mode 100644
index 00000000000..ce96e048dc9
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/SSLSocketFactory.h
@@ -0,0 +1,81 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_SSLSocketFactory__
+#define __gnu_javax_net_ssl_provider_SSLSocketFactory__
+
+#pragma interface
+
+#include <javax/net/ssl/SSLSocketFactory.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class SSLSocket;
+ class SSLSocketFactory;
+ 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::SSLSocketFactory : public ::javax::net::ssl::SSLSocketFactory
+{
+
+public: // actually package-private
+ SSLSocketFactory(::javax::net::ssl::X509TrustManager *, ::javax::net::ssl::X509KeyManager *, ::java::security::SecureRandom *, ::gnu::javax::net::ssl::provider::SessionContext *);
+public:
+ virtual JArray< ::java::lang::String * > * getDefaultCipherSuites();
+ virtual JArray< ::java::lang::String * > * getSupportedCipherSuites();
+ virtual ::java::net::Socket * createSocket(::java::net::Socket *, ::java::lang::String *, jint, jboolean);
+ 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);
+private:
+ ::gnu::javax::net::ssl::provider::SSLSocket * setup(::gnu::javax::net::ssl::provider::SSLSocket *);
+ ::javax::net::ssl::X509TrustManager * __attribute__((aligned(__alignof__( ::javax::net::ssl::SSLSocketFactory)))) trustManager;
+ ::javax::net::ssl::X509KeyManager * keyManager;
+ ::java::security::SecureRandom * random;
+ ::gnu::javax::net::ssl::provider::SessionContext * sessionContext;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_SSLSocketFactory__
diff --git a/libjava/gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.h b/libjava/gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.h
new file mode 100644
index 00000000000..eec32a994f5
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.h
@@ -0,0 +1,64 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_SSLSocketFactoryImpl__
+#define __gnu_javax_net_ssl_provider_SSLSocketFactoryImpl__
+
+#pragma interface
+
+#include <javax/net/ssl/SSLSocketFactory.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class SSLContextImpl;
+ class SSLSocketFactoryImpl;
+ class SSLSocketImpl;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace net
+ {
+ class InetAddress;
+ class Socket;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::SSLSocketFactoryImpl : public ::javax::net::ssl::SSLSocketFactory
+{
+
+public:
+ SSLSocketFactoryImpl(::gnu::javax::net::ssl::provider::SSLContextImpl *);
+ virtual ::java::net::Socket * createSocket(::java::net::Socket *, ::java::lang::String *, jint, jboolean);
+ virtual JArray< ::java::lang::String * > * getDefaultCipherSuites();
+ virtual JArray< ::java::lang::String * > * getSupportedCipherSuites();
+ virtual ::gnu::javax::net::ssl::provider::SSLSocketImpl * target$createSocket(::java::lang::String *, jint);
+ virtual ::gnu::javax::net::ssl::provider::SSLSocketImpl * target$createSocket(::java::lang::String *, jint, ::java::net::InetAddress *, jint);
+ virtual ::gnu::javax::net::ssl::provider::SSLSocketImpl * target$createSocket(::java::net::InetAddress *, jint);
+ virtual ::gnu::javax::net::ssl::provider::SSLSocketImpl * target$createSocket(::java::net::InetAddress *, jint, ::java::net::InetAddress *, jint);
+ virtual ::java::net::Socket * createSocket(::java::net::InetAddress *, jint, ::java::net::InetAddress *, jint);
+ virtual ::java::net::Socket * createSocket(::java::net::InetAddress *, jint);
+ virtual ::java::net::Socket * createSocket(::java::lang::String *, jint, ::java::net::InetAddress *, jint);
+ virtual ::java::net::Socket * createSocket(::java::lang::String *, jint);
+private:
+ ::gnu::javax::net::ssl::provider::SSLContextImpl * __attribute__((aligned(__alignof__( ::javax::net::ssl::SSLSocketFactory)))) contextImpl;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_SSLSocketFactoryImpl__
diff --git a/libjava/gnu/javax/net/ssl/provider/SSLSocketImpl$1.h b/libjava/gnu/javax/net/ssl/provider/SSLSocketImpl$1.h
new file mode 100644
index 00000000000..8596a2fdc43
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/SSLSocketImpl$1.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_SSLSocketImpl$1__
+#define __gnu_javax_net_ssl_provider_SSLSocketImpl$1__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class SSLSocketImpl;
+ class SSLSocketImpl$1;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::SSLSocketImpl$1 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ SSLSocketImpl$1(::gnu::javax::net::ssl::provider::SSLSocketImpl *);
+public:
+ void run();
+public: // actually package-private
+ ::gnu::javax::net::ssl::provider::SSLSocketImpl * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_SSLSocketImpl$1__
diff --git a/libjava/gnu/javax/net/ssl/provider/SSLSocketImpl$SocketInputStream.h b/libjava/gnu/javax/net/ssl/provider/SSLSocketImpl$SocketInputStream.h
new file mode 100644
index 00000000000..3ad9ae0da51
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/SSLSocketImpl$SocketInputStream.h
@@ -0,0 +1,58 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_SSLSocketImpl$SocketInputStream__
+#define __gnu_javax_net_ssl_provider_SSLSocketImpl$SocketInputStream__
+
+#pragma interface
+
+#include <java/io/InputStream.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class SSLSocketImpl;
+ class SSLSocketImpl$SocketInputStream;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::SSLSocketImpl$SocketInputStream : public ::java::io::InputStream
+{
+
+public: // actually package-private
+ SSLSocketImpl$SocketInputStream(::gnu::javax::net::ssl::provider::SSLSocketImpl *);
+public:
+ virtual jint read(JArray< jbyte > *, jint, jint);
+ virtual jint read();
+private:
+ ::java::nio::ByteBuffer * __attribute__((aligned(__alignof__( ::java::io::InputStream)))) inBuffer;
+ ::java::nio::ByteBuffer * appBuffer;
+ ::java::io::DataInputStream * in;
+public: // actually package-private
+ ::gnu::javax::net::ssl::provider::SSLSocketImpl * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_SSLSocketImpl$SocketInputStream__
diff --git a/libjava/gnu/javax/net/ssl/provider/SSLSocketImpl$SocketOutputStream.h b/libjava/gnu/javax/net/ssl/provider/SSLSocketImpl$SocketOutputStream.h
new file mode 100644
index 00000000000..987eaf81376
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/SSLSocketImpl$SocketOutputStream.h
@@ -0,0 +1,58 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_SSLSocketImpl$SocketOutputStream__
+#define __gnu_javax_net_ssl_provider_SSLSocketImpl$SocketOutputStream__
+
+#pragma interface
+
+#include <java/io/OutputStream.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class SSLSocketImpl;
+ class SSLSocketImpl$SocketOutputStream;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::SSLSocketImpl$SocketOutputStream : public ::java::io::OutputStream
+{
+
+public: // actually package-private
+ SSLSocketImpl$SocketOutputStream(::gnu::javax::net::ssl::provider::SSLSocketImpl *);
+public:
+ virtual void write(JArray< jbyte > *, jint, jint);
+ virtual void write(jint);
+ virtual void close();
+private:
+ ::java::nio::ByteBuffer * __attribute__((aligned(__alignof__( ::java::io::OutputStream)))) buffer;
+ ::java::io::OutputStream * out;
+public: // actually package-private
+ ::gnu::javax::net::ssl::provider::SSLSocketImpl * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_SSLSocketImpl$SocketOutputStream__
diff --git a/libjava/gnu/javax/net/ssl/provider/SSLSocketImpl.h b/libjava/gnu/javax/net/ssl/provider/SSLSocketImpl.h
new file mode 100644
index 00000000000..309706bba05
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/SSLSocketImpl.h
@@ -0,0 +1,160 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_SSLSocketImpl__
+#define __gnu_javax_net_ssl_provider_SSLSocketImpl__
+
+#pragma interface
+
+#include <javax/net/ssl/SSLSocket.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace classpath
+ {
+ namespace debug
+ {
+ class SystemLogger;
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class SSLContextImpl;
+ class SSLEngineImpl;
+ class SSLSocketImpl;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace net
+ {
+ class InetAddress;
+ class Socket;
+ class SocketAddress;
+ }
+ namespace nio
+ {
+ namespace channels
+ {
+ class SocketChannel;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class HandshakeCompletedListener;
+ class SSLSession;
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::SSLSocketImpl : public ::javax::net::ssl::SSLSocket
+{
+
+public:
+ SSLSocketImpl(::gnu::javax::net::ssl::provider::SSLContextImpl *, ::java::lang::String *, jint);
+ SSLSocketImpl(::gnu::javax::net::ssl::provider::SSLContextImpl *, ::java::lang::String *, jint, ::java::net::Socket *, jboolean);
+ virtual void addHandshakeCompletedListener(::javax::net::ssl::HandshakeCompletedListener *);
+ virtual jboolean getEnableSessionCreation();
+ virtual JArray< ::java::lang::String * > * getEnabledCipherSuites();
+ virtual JArray< ::java::lang::String * > * getEnabledProtocols();
+ virtual jboolean getNeedClientAuth();
+ virtual ::javax::net::ssl::SSLSession * getSession();
+ virtual JArray< ::java::lang::String * > * getSupportedCipherSuites();
+ virtual JArray< ::java::lang::String * > * getSupportedProtocols();
+ virtual jboolean getUseClientMode();
+ virtual jboolean getWantClientAuth();
+ virtual void removeHandshakeCompletedListener(::javax::net::ssl::HandshakeCompletedListener *);
+ virtual void setEnableSessionCreation(jboolean);
+ virtual void setEnabledCipherSuites(JArray< ::java::lang::String * > *);
+ virtual void setEnabledProtocols(JArray< ::java::lang::String * > *);
+ virtual void setNeedClientAuth(jboolean);
+ virtual void setUseClientMode(jboolean);
+ virtual void setWantClientAuth(jboolean);
+ virtual void startHandshake();
+public: // actually package-private
+ virtual void doHandshake();
+public:
+ virtual void bind(::java::net::SocketAddress *);
+ virtual void connect(::java::net::SocketAddress *);
+ virtual void connect(::java::net::SocketAddress *, jint);
+ virtual ::java::net::InetAddress * getInetAddress();
+ virtual ::java::net::InetAddress * getLocalAddress();
+ virtual jint getPort();
+ virtual jint getLocalPort();
+ virtual ::java::net::SocketAddress * getRemoteSocketAddress();
+ virtual ::java::net::SocketAddress * getLocalSocketAddress();
+ virtual ::java::nio::channels::SocketChannel * getChannel();
+ virtual ::java::io::InputStream * getInputStream();
+ virtual ::java::io::OutputStream * getOutputStream();
+ virtual void setTcpNoDelay(jboolean);
+ virtual jboolean getTcpNoDelay();
+ virtual void setSoLinger(jboolean, jint);
+ virtual jint getSoLinger();
+ virtual void sendUrgentData(jint);
+ virtual void setOOBInline(jboolean);
+ virtual jboolean getOOBInline();
+ virtual void setSoTimeout(jint);
+ virtual jint getSoTimeout();
+ virtual void setSendBufferSize(jint);
+ virtual jint getSendBufferSize();
+ virtual void setReceiveBufferSize(jint);
+ virtual jint getReceiveBufferSize();
+ virtual void setKeepAlive(jboolean);
+ virtual jboolean getKeepAlive();
+ virtual void setTrafficClass(jint);
+ virtual jint getTrafficClass();
+ virtual void setReuseAddress(jboolean);
+ virtual jboolean getReuseAddress();
+ virtual void close();
+ virtual void shutdownInput();
+ virtual void shutdownOutput();
+ virtual jboolean isConnected();
+ virtual jboolean isBound();
+ virtual jboolean isClosed();
+ virtual jboolean isInputShutdown();
+ virtual jboolean isOutputShutdown();
+public: // actually package-private
+ static ::java::net::Socket * access$0(::gnu::javax::net::ssl::provider::SSLSocketImpl *);
+ static ::java::io::OutputStream * access$1(::gnu::javax::net::ssl::provider::SSLSocketImpl *);
+ static jboolean access$2(::gnu::javax::net::ssl::provider::SSLSocketImpl *);
+ static ::gnu::javax::net::ssl::provider::SSLEngineImpl * access$3(::gnu::javax::net::ssl::provider::SSLSocketImpl *);
+ static ::java::io::IOException * access$4(::gnu::javax::net::ssl::provider::SSLSocketImpl *);
+ static ::java::io::InputStream * access$5(::gnu::javax::net::ssl::provider::SSLSocketImpl *);
+ static void access$6(::gnu::javax::net::ssl::provider::SSLSocketImpl *, ::java::io::IOException *);
+ static JArray< jint > * $SWITCH_TABLE$javax$net$ssl$SSLEngineResult$HandshakeStatus();
+private:
+ static ::gnu::classpath::debug::SystemLogger * logger;
+ ::gnu::javax::net::ssl::provider::SSLEngineImpl * __attribute__((aligned(__alignof__( ::javax::net::ssl::SSLSocket)))) engine;
+ ::java::util::Set * listeners;
+ ::java::net::Socket * underlyingSocket;
+ jboolean isHandshaking;
+ ::java::io::IOException * handshakeException;
+ jboolean initialHandshakeDone;
+ jboolean autoClose;
+public: // actually package-private
+ static jboolean $assertionsDisabled;
+private:
+ static JArray< jint > * $SWITCH_TABLE$javax$net$ssl$SSLEngineResult$HandshakeStatus__;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_SSLSocketImpl__
diff --git a/libjava/gnu/javax/net/ssl/provider/SSLSocketInputStream.h b/libjava/gnu/javax/net/ssl/provider/SSLSocketInputStream.h
new file mode 100644
index 00000000000..22b8e5fa98e
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/SSLSocketInputStream.h
@@ -0,0 +1,52 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_SSLSocketInputStream__
+#define __gnu_javax_net_ssl_provider_SSLSocketInputStream__
+
+#pragma interface
+
+#include <java/io/FilterInputStream.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class SSLSocket;
+ class SSLSocketInputStream;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::SSLSocketInputStream : public ::java::io::FilterInputStream
+{
+
+public: // actually package-private
+ SSLSocketInputStream(::java::io::InputStream *, ::gnu::javax::net::ssl::provider::SSLSocket *);
+ SSLSocketInputStream(::java::io::InputStream *, ::gnu::javax::net::ssl::provider::SSLSocket *, jboolean);
+public:
+ virtual jint available();
+ virtual jint read();
+ virtual jint read(JArray< jbyte > *);
+ virtual jint read(JArray< jbyte > *, jint, jint);
+private:
+ jboolean checkAlert();
+ ::gnu::javax::net::ssl::provider::SSLSocket * __attribute__((aligned(__alignof__( ::java::io::FilterInputStream)))) socket;
+ jboolean checkHandshake;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_SSLSocketInputStream__
diff --git a/libjava/gnu/javax/net/ssl/provider/SSLSocketOutputStream.h b/libjava/gnu/javax/net/ssl/provider/SSLSocketOutputStream.h
new file mode 100644
index 00000000000..e62ee5dbc77
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/SSLSocketOutputStream.h
@@ -0,0 +1,51 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_SSLSocketOutputStream__
+#define __gnu_javax_net_ssl_provider_SSLSocketOutputStream__
+
+#pragma interface
+
+#include <java/io/FilterOutputStream.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class SSLSocket;
+ class SSLSocketOutputStream;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::SSLSocketOutputStream : public ::java::io::FilterOutputStream
+{
+
+public: // actually package-private
+ SSLSocketOutputStream(::java::io::OutputStream *, ::gnu::javax::net::ssl::provider::SSLSocket *);
+ SSLSocketOutputStream(::java::io::OutputStream *, ::gnu::javax::net::ssl::provider::SSLSocket *, jboolean);
+public:
+ virtual void write(jint);
+ virtual void write(JArray< jbyte > *);
+ virtual void write(JArray< jbyte > *, jint, jint);
+private:
+ void checkAlert();
+ ::gnu::javax::net::ssl::provider::SSLSocket * __attribute__((aligned(__alignof__( ::java::io::FilterOutputStream)))) socket;
+ jboolean checkHandshake;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_SSLSocketOutputStream__
diff --git a/libjava/gnu/javax/net/ssl/provider/SSLv3HMacMD5Impl.h b/libjava/gnu/javax/net/ssl/provider/SSLv3HMacMD5Impl.h
new file mode 100644
index 00000000000..bdc243a427f
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/SSLv3HMacMD5Impl.h
@@ -0,0 +1,62 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_SSLv3HMacMD5Impl__
+#define __gnu_javax_net_ssl_provider_SSLv3HMacMD5Impl__
+
+#pragma interface
+
+#include <javax/crypto/MacSpi.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class SSLHMac;
+ class SSLv3HMacMD5Impl;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace security
+ {
+ class Key;
+ namespace spec
+ {
+ class AlgorithmParameterSpec;
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::SSLv3HMacMD5Impl : public ::javax::crypto::MacSpi
+{
+
+public:
+ SSLv3HMacMD5Impl();
+public: // actually protected
+ virtual JArray< jbyte > * engineDoFinal();
+ virtual jint engineGetMacLength();
+ virtual void engineInit(::java::security::Key *, ::java::security::spec::AlgorithmParameterSpec *);
+ virtual void engineReset();
+ virtual void engineUpdate(jbyte);
+ virtual void engineUpdate(JArray< jbyte > *, jint, jint);
+private:
+ ::gnu::javax::net::ssl::provider::SSLHMac * __attribute__((aligned(__alignof__( ::javax::crypto::MacSpi)))) adaptee;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_SSLv3HMacMD5Impl__
diff --git a/libjava/gnu/javax/net/ssl/provider/SSLv3HMacSHAImpl.h b/libjava/gnu/javax/net/ssl/provider/SSLv3HMacSHAImpl.h
new file mode 100644
index 00000000000..698d8803d99
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/SSLv3HMacSHAImpl.h
@@ -0,0 +1,62 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_SSLv3HMacSHAImpl__
+#define __gnu_javax_net_ssl_provider_SSLv3HMacSHAImpl__
+
+#pragma interface
+
+#include <javax/crypto/MacSpi.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class SSLHMac;
+ class SSLv3HMacSHAImpl;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace security
+ {
+ class Key;
+ namespace spec
+ {
+ class AlgorithmParameterSpec;
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::SSLv3HMacSHAImpl : public ::javax::crypto::MacSpi
+{
+
+public:
+ SSLv3HMacSHAImpl();
+public: // actually protected
+ virtual JArray< jbyte > * engineDoFinal();
+ virtual jint engineGetMacLength();
+ virtual void engineInit(::java::security::Key *, ::java::security::spec::AlgorithmParameterSpec *);
+ virtual void engineReset();
+ virtual void engineUpdate(jbyte);
+ virtual void engineUpdate(JArray< jbyte > *, jint, jint);
+private:
+ ::gnu::javax::net::ssl::provider::SSLHMac * __attribute__((aligned(__alignof__( ::javax::crypto::MacSpi)))) adaptee;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_SSLv3HMacSHAImpl__
diff --git a/libjava/gnu/javax/net/ssl/provider/SecurityParameters.h b/libjava/gnu/javax/net/ssl/provider/SecurityParameters.h
new file mode 100644
index 00000000000..e96e7da22de
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/SecurityParameters.h
@@ -0,0 +1,54 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_SecurityParameters__
+#define __gnu_javax_net_ssl_provider_SecurityParameters__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class ContentType;
+ class ProtocolVersion;
+ class SecurityParameters;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::SecurityParameters : public ::java::lang::Object
+{
+
+public:
+ virtual JArray< jbyte > * decrypt(JArray< jbyte > *, ::gnu::javax::net::ssl::provider::ProtocolVersion *, ::gnu::javax::net::ssl::provider::ContentType *) = 0;
+ virtual JArray< jbyte > * encrypt(JArray< jbyte > *, jint, jint, ::gnu::javax::net::ssl::provider::ContentType *) = 0;
+ virtual void reset() = 0;
+ virtual ::gnu::javax::net::ssl::provider::ProtocolVersion * getVersion() = 0;
+ virtual void setVersion(::gnu::javax::net::ssl::provider::ProtocolVersion *) = 0;
+ virtual void setDeflating(jboolean) = 0;
+ virtual void setInflating(jboolean) = 0;
+ virtual jint getFragmentLength() = 0;
+ virtual void setFragmentLength(jint) = 0;
+ virtual void setInCipher(::java::lang::Object *) = 0;
+ virtual void setOutCipher(::java::lang::Object *) = 0;
+ virtual void setInMac(::java::lang::Object *) = 0;
+ virtual void setOutMac(::java::lang::Object *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __gnu_javax_net_ssl_provider_SecurityParameters__
diff --git a/libjava/gnu/javax/net/ssl/provider/ServerDHE_PSKParameters.h b/libjava/gnu/javax/net/ssl/provider/ServerDHE_PSKParameters.h
new file mode 100644
index 00000000000..5d35d5cd93d
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/ServerDHE_PSKParameters.h
@@ -0,0 +1,62 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_ServerDHE_PSKParameters__
+#define __gnu_javax_net_ssl_provider_ServerDHE_PSKParameters__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class KeyExchangeAlgorithm;
+ class ServerDHE_PSKParameters;
+ class ServerDHParams;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::ServerDHE_PSKParameters : public ::java::lang::Object
+{
+
+public:
+ ServerDHE_PSKParameters(::java::nio::ByteBuffer *);
+ ServerDHE_PSKParameters(::java::lang::String *, ::gnu::javax::net::ssl::provider::ServerDHParams *);
+ ServerDHE_PSKParameters(::java::lang::String *, ::java::nio::ByteBuffer *);
+ virtual ::gnu::javax::net::ssl::provider::KeyExchangeAlgorithm * algorithm();
+ virtual jint length();
+private:
+ jint hintLength();
+public:
+ virtual ::java::lang::String * identityHint();
+ virtual ::gnu::javax::net::ssl::provider::ServerDHParams * params();
+ virtual ::java::nio::ByteBuffer * buffer();
+ virtual ::java::lang::String * toString();
+ virtual ::java::lang::String * toString(::java::lang::String *);
+private:
+ ::java::nio::ByteBuffer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) buffer__;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_ServerDHE_PSKParameters__
diff --git a/libjava/gnu/javax/net/ssl/provider/ServerDHParams.h b/libjava/gnu/javax/net/ssl/provider/ServerDHParams.h
new file mode 100644
index 00000000000..9585ab8fa64
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/ServerDHParams.h
@@ -0,0 +1,65 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_ServerDHParams__
+#define __gnu_javax_net_ssl_provider_ServerDHParams__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class KeyExchangeAlgorithm;
+ class ServerDHParams;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::ServerDHParams : public ::java::lang::Object
+{
+
+public:
+ ServerDHParams(::java::nio::ByteBuffer *);
+ ServerDHParams(::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *);
+ virtual ::gnu::javax::net::ssl::provider::KeyExchangeAlgorithm * algorithm();
+ virtual jint length();
+ virtual ::java::nio::ByteBuffer * buffer();
+ virtual ::java::math::BigInteger * p();
+ virtual ::java::math::BigInteger * g();
+ virtual ::java::math::BigInteger * y();
+ virtual void setP(::java::math::BigInteger *);
+ virtual void setG(::java::math::BigInteger *);
+ virtual void setY(::java::math::BigInteger *);
+ virtual ::java::lang::String * toString();
+ virtual ::java::lang::String * toString(::java::lang::String *);
+private:
+ ::java::nio::ByteBuffer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) buffer__;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_ServerDHParams__
diff --git a/libjava/gnu/javax/net/ssl/provider/ServerHandshake$CertLoader.h b/libjava/gnu/javax/net/ssl/provider/ServerHandshake$CertLoader.h
new file mode 100644
index 00000000000..270ea850ee8
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/ServerHandshake$CertLoader.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_ServerHandshake$CertLoader__
+#define __gnu_javax_net_ssl_provider_ServerHandshake$CertLoader__
+
+#pragma interface
+
+#include <gnu/javax/net/ssl/provider/DelegatedTask.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class ServerHandshake;
+ class ServerHandshake$CertLoader;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::ServerHandshake$CertLoader : public ::gnu::javax::net::ssl::provider::DelegatedTask
+{
+
+public: // actually package-private
+ ServerHandshake$CertLoader(::gnu::javax::net::ssl::provider::ServerHandshake *);
+public:
+ virtual void implRun();
+public: // actually package-private
+ ::gnu::javax::net::ssl::provider::ServerHandshake * __attribute__((aligned(__alignof__( ::gnu::javax::net::ssl::provider::DelegatedTask)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_ServerHandshake$CertLoader__
diff --git a/libjava/gnu/javax/net/ssl/provider/ServerHandshake$GenDH.h b/libjava/gnu/javax/net/ssl/provider/ServerHandshake$GenDH.h
new file mode 100644
index 00000000000..35b1fdc23c2
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/ServerHandshake$GenDH.h
@@ -0,0 +1,53 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_ServerHandshake$GenDH__
+#define __gnu_javax_net_ssl_provider_ServerHandshake$GenDH__
+
+#pragma interface
+
+#include <gnu/javax/net/ssl/provider/DelegatedTask.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class ServerHandshake;
+ class ServerHandshake$GenDH;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::ServerHandshake$GenDH : public ::gnu::javax::net::ssl::provider::DelegatedTask
+{
+
+ ServerHandshake$GenDH(::gnu::javax::net::ssl::provider::ServerHandshake *);
+public: // actually protected
+ virtual void implRun();
+public: // actually package-private
+ ServerHandshake$GenDH(::gnu::javax::net::ssl::provider::ServerHandshake *, ::gnu::javax::net::ssl::provider::ServerHandshake$GenDH *);
+ ::java::nio::ByteBuffer * __attribute__((aligned(__alignof__( ::gnu::javax::net::ssl::provider::DelegatedTask)))) paramsBuffer;
+ ::java::nio::ByteBuffer * sigBuffer;
+ ::gnu::javax::net::ssl::provider::ServerHandshake * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_ServerHandshake$GenDH__
diff --git a/libjava/gnu/javax/net/ssl/provider/ServerHandshake$RSAKeyExchange.h b/libjava/gnu/javax/net/ssl/provider/ServerHandshake$RSAKeyExchange.h
new file mode 100644
index 00000000000..d3c84a735dc
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/ServerHandshake$RSAKeyExchange.h
@@ -0,0 +1,48 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_ServerHandshake$RSAKeyExchange__
+#define __gnu_javax_net_ssl_provider_ServerHandshake$RSAKeyExchange__
+
+#pragma interface
+
+#include <gnu/javax/net/ssl/provider/DelegatedTask.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class ServerHandshake;
+ class ServerHandshake$RSAKeyExchange;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::ServerHandshake$RSAKeyExchange : public ::gnu::javax::net::ssl::provider::DelegatedTask
+{
+
+public: // actually package-private
+ ServerHandshake$RSAKeyExchange(::gnu::javax::net::ssl::provider::ServerHandshake *, JArray< jbyte > *);
+public:
+ virtual void implRun();
+private:
+ JArray< jbyte > * __attribute__((aligned(__alignof__( ::gnu::javax::net::ssl::provider::DelegatedTask)))) encryptedPreMasterSecret;
+public: // actually package-private
+ ::gnu::javax::net::ssl::provider::ServerHandshake * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_ServerHandshake$RSAKeyExchange__
diff --git a/libjava/gnu/javax/net/ssl/provider/ServerHandshake$RSA_PSKExchange.h b/libjava/gnu/javax/net/ssl/provider/ServerHandshake$RSA_PSKExchange.h
new file mode 100644
index 00000000000..ef5374f765d
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/ServerHandshake$RSA_PSKExchange.h
@@ -0,0 +1,56 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_ServerHandshake$RSA_PSKExchange__
+#define __gnu_javax_net_ssl_provider_ServerHandshake$RSA_PSKExchange__
+
+#pragma interface
+
+#include <gnu/javax/net/ssl/provider/DelegatedTask.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class ServerHandshake;
+ class ServerHandshake$RSA_PSKExchange;
+ }
+ }
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace crypto
+ {
+ class SecretKey;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::ServerHandshake$RSA_PSKExchange : public ::gnu::javax::net::ssl::provider::DelegatedTask
+{
+
+public: // actually package-private
+ ServerHandshake$RSA_PSKExchange(::gnu::javax::net::ssl::provider::ServerHandshake *, JArray< jbyte > *, ::javax::crypto::SecretKey *);
+public:
+ virtual void implRun();
+private:
+ JArray< jbyte > * __attribute__((aligned(__alignof__( ::gnu::javax::net::ssl::provider::DelegatedTask)))) encryptedPreMasterSecret;
+ ::javax::crypto::SecretKey * psKey;
+public: // actually package-private
+ ::gnu::javax::net::ssl::provider::ServerHandshake * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_ServerHandshake$RSA_PSKExchange__
diff --git a/libjava/gnu/javax/net/ssl/provider/ServerHandshake$State.h b/libjava/gnu/javax/net/ssl/provider/ServerHandshake$State.h
new file mode 100644
index 00000000000..b993c0873d0
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/ServerHandshake$State.h
@@ -0,0 +1,63 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_ServerHandshake$State__
+#define __gnu_javax_net_ssl_provider_ServerHandshake$State__
+
+#pragma interface
+
+#include <java/lang/Enum.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class ServerHandshake$State;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::ServerHandshake$State : public ::java::lang::Enum
+{
+
+ ServerHandshake$State(::java::lang::String *, jint, jboolean, jboolean);
+public: // actually package-private
+ jboolean isReadState();
+ jboolean isWriteState();
+public:
+ static JArray< ::gnu::javax::net::ssl::provider::ServerHandshake$State * > * values();
+ static ::gnu::javax::net::ssl::provider::ServerHandshake$State * valueOf(::java::lang::String *);
+ static ::gnu::javax::net::ssl::provider::ServerHandshake$State * WRITE_HELLO_REQUEST;
+ static ::gnu::javax::net::ssl::provider::ServerHandshake$State * WRITE_SERVER_HELLO;
+ static ::gnu::javax::net::ssl::provider::ServerHandshake$State * WRITE_CERTIFICATE;
+ static ::gnu::javax::net::ssl::provider::ServerHandshake$State * WRITE_SERVER_KEY_EXCHANGE;
+ static ::gnu::javax::net::ssl::provider::ServerHandshake$State * WRITE_CERTIFICATE_REQUEST;
+ static ::gnu::javax::net::ssl::provider::ServerHandshake$State * WRITE_SERVER_HELLO_DONE;
+ static ::gnu::javax::net::ssl::provider::ServerHandshake$State * WRITE_FINISHED;
+ static ::gnu::javax::net::ssl::provider::ServerHandshake$State * READ_CLIENT_HELLO;
+ static ::gnu::javax::net::ssl::provider::ServerHandshake$State * READ_CERTIFICATE;
+ static ::gnu::javax::net::ssl::provider::ServerHandshake$State * READ_CLIENT_KEY_EXCHANGE;
+ static ::gnu::javax::net::ssl::provider::ServerHandshake$State * READ_CERTIFICATE_VERIFY;
+ static ::gnu::javax::net::ssl::provider::ServerHandshake$State * READ_FINISHED;
+ static ::gnu::javax::net::ssl::provider::ServerHandshake$State * DONE;
+private:
+ jboolean __attribute__((aligned(__alignof__( ::java::lang::Enum)))) isWriteState__;
+ jboolean isReadState__;
+ static JArray< ::gnu::javax::net::ssl::provider::ServerHandshake$State * > * ENUM$VALUES;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_ServerHandshake$State__
diff --git a/libjava/gnu/javax/net/ssl/provider/ServerHandshake.h b/libjava/gnu/javax/net/ssl/provider/ServerHandshake.h
new file mode 100644
index 00000000000..cf32a8da695
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/ServerHandshake.h
@@ -0,0 +1,129 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_ServerHandshake__
+#define __gnu_javax_net_ssl_provider_ServerHandshake__
+
+#pragma interface
+
+#include <gnu/javax/net/ssl/provider/AbstractHandshake.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class AbstractHandshake$CertVerifier;
+ class CipherSuite;
+ class CipherSuiteList;
+ class CompressionMethod;
+ class CompressionMethodList;
+ class DelegatedTask;
+ class ProtocolVersion;
+ class SSLEngineImpl;
+ class ServerHandshake;
+ class ServerHandshake$CertLoader;
+ class ServerHandshake$GenDH;
+ class ServerHandshake$State;
+ class ServerNameList;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ namespace security
+ {
+ class KeyPair;
+ class PrivateKey;
+ namespace cert
+ {
+ class X509Certificate;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class SSLEngineResult$HandshakeStatus;
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::ServerHandshake : public ::gnu::javax::net::ssl::provider::AbstractHandshake
+{
+
+public: // actually package-private
+ ServerHandshake(jboolean, ::gnu::javax::net::ssl::provider::SSLEngineImpl *);
+private:
+ static ::gnu::javax::net::ssl::provider::ProtocolVersion * chooseProtocol(::gnu::javax::net::ssl::provider::ProtocolVersion *, JArray< ::java::lang::String * > *);
+ ::gnu::javax::net::ssl::provider::CipherSuite * chooseSuite(::gnu::javax::net::ssl::provider::CipherSuiteList *, JArray< ::java::lang::String * > *, ::gnu::javax::net::ssl::provider::ProtocolVersion *);
+ static ::gnu::javax::net::ssl::provider::CompressionMethod * chooseCompression(::gnu::javax::net::ssl::provider::CompressionMethodList *);
+public: // actually protected
+ virtual jboolean doHash();
+public:
+ virtual ::javax::net::ssl::SSLEngineResult$HandshakeStatus * implHandleInput();
+ virtual ::javax::net::ssl::SSLEngineResult$HandshakeStatus * implHandleOutput(::java::nio::ByteBuffer *);
+public: // actually package-private
+ virtual ::javax::net::ssl::SSLEngineResult$HandshakeStatus * status();
+ virtual void checkKeyExchange();
+ virtual void handleV2Hello(::java::nio::ByteBuffer *);
+private:
+ ::java::nio::ByteBuffer * signParams(::java::nio::ByteBuffer *);
+ void verifyClient(JArray< jbyte > *);
+public: // actually package-private
+ static void access$0(::gnu::javax::net::ssl::provider::ServerHandshake *, ::java::lang::String *);
+ static ::java::lang::String * access$1(::gnu::javax::net::ssl::provider::ServerHandshake *);
+ static void access$2(::gnu::javax::net::ssl::provider::ServerHandshake *, ::java::security::cert::X509Certificate *);
+ static void access$3(::gnu::javax::net::ssl::provider::ServerHandshake *, ::java::security::PrivateKey *);
+ static ::java::security::cert::X509Certificate * access$4(::gnu::javax::net::ssl::provider::ServerHandshake *);
+ static void access$5(::gnu::javax::net::ssl::provider::ServerHandshake *, ::java::security::KeyPair *);
+ static ::java::security::KeyPair * access$6(::gnu::javax::net::ssl::provider::ServerHandshake *);
+ static ::java::nio::ByteBuffer * access$7(::gnu::javax::net::ssl::provider::ServerHandshake *, ::java::nio::ByteBuffer *);
+ static ::java::security::PrivateKey * access$8(::gnu::javax::net::ssl::provider::ServerHandshake *);
+ static JArray< jint > * $SWITCH_TABLE$gnu$javax$net$ssl$provider$Extension$Type();
+ static JArray< jint > * $SWITCH_TABLE$gnu$javax$net$ssl$provider$KeyExchangeAlgorithm();
+ static JArray< jint > * $SWITCH_TABLE$gnu$javax$net$ssl$provider$ServerHandshake$State();
+private:
+ ::gnu::javax::net::ssl::provider::ServerHandshake$State * __attribute__((aligned(__alignof__( ::gnu::javax::net::ssl::provider::AbstractHandshake)))) state;
+ ::java::nio::ByteBuffer * outBuffer;
+ jboolean clientHadExtensions;
+ jboolean continuedSession;
+ ::gnu::javax::net::ssl::provider::ServerNameList * requestedNames;
+ ::java::lang::String * keyAlias;
+ ::java::security::cert::X509Certificate * clientCert;
+ ::java::security::cert::X509Certificate * localCert;
+ jboolean helloV2;
+ ::java::security::KeyPair * dhPair;
+ ::java::security::PrivateKey * serverKey;
+ ::gnu::javax::net::ssl::provider::ServerHandshake$GenDH * genDH;
+ ::gnu::javax::net::ssl::provider::AbstractHandshake$CertVerifier * certVerifier;
+ ::gnu::javax::net::ssl::provider::ServerHandshake$CertLoader * certLoader;
+ ::gnu::javax::net::ssl::provider::DelegatedTask * keyExchangeTask;
+ static JArray< jint > * $SWITCH_TABLE$gnu$javax$net$ssl$provider$Extension$Type__;
+ static JArray< jint > * $SWITCH_TABLE$gnu$javax$net$ssl$provider$KeyExchangeAlgorithm__;
+ static JArray< jint > * $SWITCH_TABLE$gnu$javax$net$ssl$provider$ServerHandshake$State__;
+public: // actually package-private
+ static jboolean $assertionsDisabled;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_ServerHandshake__
diff --git a/libjava/gnu/javax/net/ssl/provider/ServerHello.h b/libjava/gnu/javax/net/ssl/provider/ServerHello.h
new file mode 100644
index 00000000000..a26dd829e86
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/ServerHello.h
@@ -0,0 +1,69 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_ServerHello__
+#define __gnu_javax_net_ssl_provider_ServerHello__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class CipherSuite;
+ class CompressionMethod;
+ class ExtensionList;
+ class ProtocolVersion;
+ class Random;
+ class ServerHello;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::ServerHello : public ::java::lang::Object
+{
+
+public:
+ ServerHello(::java::nio::ByteBuffer *);
+ virtual jint length();
+ virtual ::gnu::javax::net::ssl::provider::ProtocolVersion * version();
+ virtual ::gnu::javax::net::ssl::provider::Random * random();
+ virtual JArray< jbyte > * sessionId();
+ virtual ::gnu::javax::net::ssl::provider::CipherSuite * cipherSuite();
+ virtual ::gnu::javax::net::ssl::provider::CompressionMethod * compressionMethod();
+ virtual jint extensionsLength();
+ virtual ::gnu::javax::net::ssl::provider::ExtensionList * extensions();
+ virtual ::java::lang::String * toString();
+ virtual ::java::lang::String * toString(::java::lang::String *);
+public: // actually protected
+ static const jint RANDOM_OFFSET = 2;
+ static const jint SESSID_OFFSET = 34;
+ static const jint SESSID_OFFSET2 = 35;
+ ::java::nio::ByteBuffer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) buffer;
+ jboolean disableExtensions;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_ServerHello__
diff --git a/libjava/gnu/javax/net/ssl/provider/ServerHelloBuilder.h b/libjava/gnu/javax/net/ssl/provider/ServerHelloBuilder.h
new file mode 100644
index 00000000000..8d55e6a1242
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/ServerHelloBuilder.h
@@ -0,0 +1,60 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_ServerHelloBuilder__
+#define __gnu_javax_net_ssl_provider_ServerHelloBuilder__
+
+#pragma interface
+
+#include <gnu/javax/net/ssl/provider/ServerHello.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class CipherSuite;
+ class CompressionMethod;
+ class ProtocolVersion;
+ class ServerHelloBuilder;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::ServerHelloBuilder : public ::gnu::javax::net::ssl::provider::ServerHello
+{
+
+public:
+ ServerHelloBuilder();
+ virtual ::java::nio::ByteBuffer * buffer();
+ virtual void setVersion(::gnu::javax::net::ssl::provider::ProtocolVersion *);
+ virtual void setSessionId(JArray< jbyte > *);
+ virtual void setSessionId(JArray< jbyte > *, jint, jint);
+ virtual void setCipherSuite(::gnu::javax::net::ssl::provider::CipherSuite *);
+ virtual void setCompressionMethod(::gnu::javax::net::ssl::provider::CompressionMethod *);
+ virtual void setDisableExtensions(jboolean);
+ virtual void setExtensionsLength(jint);
+ virtual void setExtensions(::java::nio::ByteBuffer *);
+ virtual void ensureCapacity(jint);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_ServerHelloBuilder__
diff --git a/libjava/gnu/javax/net/ssl/provider/ServerHelloDone.h b/libjava/gnu/javax/net/ssl/provider/ServerHelloDone.h
new file mode 100644
index 00000000000..51550c72aa6
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/ServerHelloDone.h
@@ -0,0 +1,41 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_ServerHelloDone__
+#define __gnu_javax_net_ssl_provider_ServerHelloDone__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class ServerHelloDone;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::ServerHelloDone : public ::java::lang::Object
+{
+
+public:
+ ServerHelloDone();
+ virtual jint length();
+ virtual ::java::lang::String * toString();
+ virtual ::java::lang::String * toString(::java::lang::String *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_ServerHelloDone__
diff --git a/libjava/gnu/javax/net/ssl/provider/ServerKeyExchange.h b/libjava/gnu/javax/net/ssl/provider/ServerKeyExchange.h
new file mode 100644
index 00000000000..04ec69c5c70
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/ServerKeyExchange.h
@@ -0,0 +1,57 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_ServerKeyExchange__
+#define __gnu_javax_net_ssl_provider_ServerKeyExchange__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class CipherSuite;
+ class ServerKeyExchange;
+ class ServerKeyExchangeParams;
+ class Signature;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::ServerKeyExchange : public ::java::lang::Object
+{
+
+public:
+ ServerKeyExchange(::java::nio::ByteBuffer *, ::gnu::javax::net::ssl::provider::CipherSuite *);
+ virtual jint length();
+ virtual ::gnu::javax::net::ssl::provider::ServerKeyExchangeParams * params();
+ virtual ::gnu::javax::net::ssl::provider::Signature * signature();
+ virtual ::java::lang::String * toString();
+ virtual ::java::lang::String * toString(::java::lang::String *);
+public: // actually protected
+ ::java::nio::ByteBuffer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) buffer;
+ ::gnu::javax::net::ssl::provider::CipherSuite * suite;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_ServerKeyExchange__
diff --git a/libjava/gnu/javax/net/ssl/provider/ServerKeyExchangeBuilder.h b/libjava/gnu/javax/net/ssl/provider/ServerKeyExchangeBuilder.h
new file mode 100644
index 00000000000..abc1363aa32
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/ServerKeyExchangeBuilder.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_ServerKeyExchangeBuilder__
+#define __gnu_javax_net_ssl_provider_ServerKeyExchangeBuilder__
+
+#pragma interface
+
+#include <gnu/javax/net/ssl/provider/ServerKeyExchange.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class CipherSuite;
+ class ServerKeyExchangeBuilder;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::ServerKeyExchangeBuilder : public ::gnu::javax::net::ssl::provider::ServerKeyExchange
+{
+
+public:
+ ServerKeyExchangeBuilder(::gnu::javax::net::ssl::provider::CipherSuite *);
+ virtual ::java::nio::ByteBuffer * buffer();
+ virtual void setParams(::java::nio::ByteBuffer *);
+ virtual void setSignature(::java::nio::ByteBuffer *);
+ virtual void ensureCapacity(jint);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_ServerKeyExchangeBuilder__
diff --git a/libjava/gnu/javax/net/ssl/provider/ServerKeyExchangeParams.h b/libjava/gnu/javax/net/ssl/provider/ServerKeyExchangeParams.h
new file mode 100644
index 00000000000..4ff4d2079fb
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/ServerKeyExchangeParams.h
@@ -0,0 +1,41 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_ServerKeyExchangeParams__
+#define __gnu_javax_net_ssl_provider_ServerKeyExchangeParams__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class KeyExchangeAlgorithm;
+ class ServerKeyExchangeParams;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::ServerKeyExchangeParams : public ::java::lang::Object
+{
+
+public:
+ virtual ::gnu::javax::net::ssl::provider::KeyExchangeAlgorithm * algorithm() = 0;
+ virtual jint length() = 0;
+ virtual ::java::lang::String * toString(::java::lang::String *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __gnu_javax_net_ssl_provider_ServerKeyExchangeParams__
diff --git a/libjava/gnu/javax/net/ssl/provider/ServerNameList$Iterator.h b/libjava/gnu/javax/net/ssl/provider/ServerNameList$Iterator.h
new file mode 100644
index 00000000000..6ee36ed59e9
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/ServerNameList$Iterator.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_ServerNameList$Iterator__
+#define __gnu_javax_net_ssl_provider_ServerNameList$Iterator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class ServerNameList;
+ class ServerNameList$Iterator;
+ class ServerNameList$ServerName;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::ServerNameList$Iterator : public ::java::lang::Object
+{
+
+public:
+ ServerNameList$Iterator(::gnu::javax::net::ssl::provider::ServerNameList *);
+ virtual jboolean hasNext();
+ virtual ::gnu::javax::net::ssl::provider::ServerNameList$ServerName * target$next();
+ virtual void remove();
+ virtual ::java::lang::Object * next();
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) index;
+public: // actually package-private
+ ::gnu::javax::net::ssl::provider::ServerNameList * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_ServerNameList$Iterator__
diff --git a/libjava/gnu/javax/net/ssl/provider/ServerNameList$NameType.h b/libjava/gnu/javax/net/ssl/provider/ServerNameList$NameType.h
new file mode 100644
index 00000000000..363e89f7b72
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/ServerNameList$NameType.h
@@ -0,0 +1,48 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_ServerNameList$NameType__
+#define __gnu_javax_net_ssl_provider_ServerNameList$NameType__
+
+#pragma interface
+
+#include <java/lang/Enum.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class ServerNameList$NameType;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::ServerNameList$NameType : public ::java::lang::Enum
+{
+
+ ServerNameList$NameType(::java::lang::String *, jint, jint);
+public:
+ jint getValue();
+ static JArray< ::gnu::javax::net::ssl::provider::ServerNameList$NameType * > * values();
+ static ::gnu::javax::net::ssl::provider::ServerNameList$NameType * valueOf(::java::lang::String *);
+ static ::gnu::javax::net::ssl::provider::ServerNameList$NameType * HOST_NAME;
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Enum)))) value;
+ static JArray< ::gnu::javax::net::ssl::provider::ServerNameList$NameType * > * ENUM$VALUES;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_ServerNameList$NameType__
diff --git a/libjava/gnu/javax/net/ssl/provider/ServerNameList$ServerName.h b/libjava/gnu/javax/net/ssl/provider/ServerNameList$ServerName.h
new file mode 100644
index 00000000000..1aa13b41752
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/ServerNameList$ServerName.h
@@ -0,0 +1,56 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_ServerNameList$ServerName__
+#define __gnu_javax_net_ssl_provider_ServerNameList$ServerName__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class ServerNameList$NameType;
+ class ServerNameList$ServerName;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::ServerNameList$ServerName : public ::java::lang::Object
+{
+
+public:
+ ServerNameList$ServerName(::java::nio::ByteBuffer *);
+ ServerNameList$ServerName(::gnu::javax::net::ssl::provider::ServerNameList$NameType *, ::java::lang::String *);
+ virtual jint length();
+ virtual ::java::nio::ByteBuffer * buffer();
+ virtual ::gnu::javax::net::ssl::provider::ServerNameList$NameType * type();
+ virtual ::java::lang::String * name();
+ virtual ::java::lang::String * toString();
+ virtual ::java::lang::String * toString(::java::lang::String *);
+private:
+ ::java::nio::ByteBuffer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) buffer__;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_ServerNameList$ServerName__
diff --git a/libjava/gnu/javax/net/ssl/provider/ServerNameList.h b/libjava/gnu/javax/net/ssl/provider/ServerNameList.h
new file mode 100644
index 00000000000..a808e0d6b91
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/ServerNameList.h
@@ -0,0 +1,58 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_ServerNameList__
+#define __gnu_javax_net_ssl_provider_ServerNameList__
+
+#pragma interface
+
+#include <gnu/javax/net/ssl/provider/Extension$Value.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class ServerNameList;
+ class ServerNameList$ServerName;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::ServerNameList : public ::gnu::javax::net::ssl::provider::Extension$Value
+{
+
+public:
+ ServerNameList(::java::nio::ByteBuffer *);
+ ServerNameList(::java::util::List *);
+ virtual jint length();
+ virtual ::java::nio::ByteBuffer * buffer();
+ virtual jint size();
+ virtual ::gnu::javax::net::ssl::provider::ServerNameList$ServerName * get(jint);
+ virtual void setLength(jint);
+ virtual ::java::lang::String * toString();
+ virtual ::java::lang::String * toString(::java::lang::String *);
+ virtual ::java::util::Iterator * iterator();
+private:
+ ::java::nio::ByteBuffer * __attribute__((aligned(__alignof__( ::gnu::javax::net::ssl::provider::Extension$Value)))) buffer__;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_ServerNameList__
diff --git a/libjava/gnu/javax/net/ssl/provider/ServerPSKParameters.h b/libjava/gnu/javax/net/ssl/provider/ServerPSKParameters.h
new file mode 100644
index 00000000000..bf1bc27dd11
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/ServerPSKParameters.h
@@ -0,0 +1,56 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_ServerPSKParameters__
+#define __gnu_javax_net_ssl_provider_ServerPSKParameters__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class KeyExchangeAlgorithm;
+ class ServerPSKParameters;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::ServerPSKParameters : public ::java::lang::Object
+{
+
+public:
+ ServerPSKParameters(::java::nio::ByteBuffer *);
+ ServerPSKParameters(::java::lang::String *);
+ virtual ::gnu::javax::net::ssl::provider::KeyExchangeAlgorithm * algorithm();
+ virtual ::java::nio::ByteBuffer * buffer();
+ virtual jint length();
+ virtual ::java::lang::String * identityHint();
+ virtual ::java::lang::String * toString();
+ virtual ::java::lang::String * toString(::java::lang::String *);
+private:
+ ::java::nio::ByteBuffer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) buffer__;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_ServerPSKParameters__
diff --git a/libjava/gnu/javax/net/ssl/provider/ServerRSAParams.h b/libjava/gnu/javax/net/ssl/provider/ServerRSAParams.h
new file mode 100644
index 00000000000..21201fe25d2
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/ServerRSAParams.h
@@ -0,0 +1,61 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_ServerRSAParams__
+#define __gnu_javax_net_ssl_provider_ServerRSAParams__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class KeyExchangeAlgorithm;
+ class ServerRSAParams;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::ServerRSAParams : public ::java::lang::Object
+{
+
+public:
+ ServerRSAParams(::java::nio::ByteBuffer *);
+ virtual ::gnu::javax::net::ssl::provider::KeyExchangeAlgorithm * algorithm();
+ virtual jint length();
+ virtual ::java::math::BigInteger * modulus();
+ virtual ::java::math::BigInteger * exponent();
+ virtual void setModulus(::java::math::BigInteger *);
+ virtual void setExponent(::java::math::BigInteger *);
+ virtual ::java::lang::String * toString();
+ virtual ::java::lang::String * toString(::java::lang::String *);
+private:
+ ::java::nio::ByteBuffer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) buffer;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_ServerRSAParams__
diff --git a/libjava/gnu/javax/net/ssl/provider/ServerRSA_PSKParameters.h b/libjava/gnu/javax/net/ssl/provider/ServerRSA_PSKParameters.h
new file mode 100644
index 00000000000..ac7fca20f66
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/ServerRSA_PSKParameters.h
@@ -0,0 +1,48 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_ServerRSA_PSKParameters__
+#define __gnu_javax_net_ssl_provider_ServerRSA_PSKParameters__
+
+#pragma interface
+
+#include <gnu/javax/net/ssl/provider/ServerPSKParameters.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class KeyExchangeAlgorithm;
+ class ServerRSA_PSKParameters;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::ServerRSA_PSKParameters : public ::gnu::javax::net::ssl::provider::ServerPSKParameters
+{
+
+public:
+ ServerRSA_PSKParameters(::java::nio::ByteBuffer *);
+ ServerRSA_PSKParameters(::java::lang::String *);
+ virtual ::gnu::javax::net::ssl::provider::KeyExchangeAlgorithm * algorithm();
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_ServerRSA_PSKParameters__
diff --git a/libjava/gnu/javax/net/ssl/provider/Session$ID.h b/libjava/gnu/javax/net/ssl/provider/Session$ID.h
new file mode 100644
index 00000000000..849f94155df
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/Session$ID.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_Session$ID__
+#define __gnu_javax_net_ssl_provider_Session$ID__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class Session$ID;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::Session$ID : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Session$ID(JArray< jbyte > *);
+public:
+ JArray< jbyte > * getId();
+ jboolean equals(::java::lang::Object *);
+ jint hashCode();
+ jint compareTo(::java::lang::Object *);
+ ::java::lang::String * toString();
+private:
+ JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) id;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_Session$ID__
diff --git a/libjava/gnu/javax/net/ssl/provider/Session.h b/libjava/gnu/javax/net/ssl/provider/Session.h
new file mode 100644
index 00000000000..d1f241cc615
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/Session.h
@@ -0,0 +1,134 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_Session__
+#define __gnu_javax_net_ssl_provider_Session__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class SRPTrustManager;
+ namespace provider
+ {
+ class Alert;
+ class CipherSuite;
+ class ProtocolVersion;
+ class SecurityParameters;
+ class Session;
+ class Session$ID;
+ class SessionContext;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace security
+ {
+ class Principal;
+ class SecureRandom;
+ namespace cert
+ {
+ class Certificate;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class SSLPermission;
+ class SSLSessionContext;
+ class X509KeyManager;
+ class X509TrustManager;
+ }
+ }
+ namespace security
+ {
+ namespace cert
+ {
+ class X509Certificate;
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::Session : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Session();
+ Session(jlong);
+public: // actually protected
+ ::java::lang::Object * clone();
+public:
+ ::java::lang::String * getCipherSuite();
+ jlong getCreationTime();
+ JArray< jbyte > * getId();
+ jlong getLastAccessedTime();
+ JArray< ::java::security::cert::Certificate * > * getLocalCertificates();
+ JArray< ::java::security::cert::Certificate * > * getPeerCertificates();
+ JArray< ::javax::security::cert::X509Certificate * > * getPeerCertificateChain();
+ ::java::lang::String * getPeerHost();
+ ::java::lang::String * getProtocol();
+ ::javax::net::ssl::SSLSessionContext * getSessionContext();
+ JArray< ::java::lang::String * > * getValueNames();
+ ::java::lang::Object * getValue(::java::lang::String *);
+ void putValue(::java::lang::String *, ::java::lang::Object *);
+ void removeValue(::java::lang::String *);
+ void invalidate();
+public: // actually package-private
+ void access();
+ void setLastAccessedTime(jlong);
+public:
+ jint getApplicationBufferSize() = 0;
+ ::java::security::Principal * getLocalPrincipal() = 0;
+ jint getPacketBufferSize() = 0;
+ jint getPeerPort() = 0;
+ ::java::security::Principal * getPeerPrincipal() = 0;
+ jboolean isValid() = 0;
+private:
+ static ::javax::net::ssl::SSLPermission * GET_SESSION_CONTEXT_PERMISSION;
+ jlong __attribute__((aligned(__alignof__( ::java::lang::Object)))) creationTime;
+ ::java::util::Date * lastAccessedTime;
+public: // actually package-private
+ ::gnu::javax::net::ssl::provider::Session$ID * sessionId;
+ JArray< ::java::security::cert::Certificate * > * localCerts;
+ JArray< ::java::security::cert::Certificate * > * peerCerts;
+ JArray< ::javax::security::cert::X509Certificate * > * peerCertChain;
+ ::java::lang::String * peerHost;
+ jboolean peerVerified;
+ ::gnu::javax::net::ssl::provider::SessionContext * context;
+ ::java::util::HashMap * values;
+ jboolean valid;
+ ::java::util::List * enabledSuites;
+ ::gnu::javax::net::ssl::provider::CipherSuite * cipherSuite;
+ ::java::util::SortedSet * enabledProtocols;
+ ::gnu::javax::net::ssl::provider::ProtocolVersion * protocol;
+ JArray< jbyte > * masterSecret;
+ ::gnu::javax::net::ssl::SRPTrustManager * srpTrustManager;
+ ::javax::net::ssl::X509TrustManager * trustManager;
+ ::javax::net::ssl::X509KeyManager * keyManager;
+ ::java::security::SecureRandom * random;
+ ::gnu::javax::net::ssl::provider::SecurityParameters * params;
+ ::gnu::javax::net::ssl::provider::Alert * currentAlert;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_Session__
diff --git a/libjava/gnu/javax/net/ssl/provider/SessionContext.h b/libjava/gnu/javax/net/ssl/provider/SessionContext.h
new file mode 100644
index 00000000000..3dab41cd799
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/SessionContext.h
@@ -0,0 +1,70 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_SessionContext__
+#define __gnu_javax_net_ssl_provider_SessionContext__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class Session;
+ class Session$ID;
+ class SessionContext;
+ }
+ }
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class SSLSession;
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::SessionContext : public ::java::lang::Object
+{
+
+public: // actually package-private
+ SessionContext();
+public:
+ virtual ::java::util::Enumeration * getIds();
+ virtual ::javax::net::ssl::SSLSession * getSession(JArray< jbyte > *);
+ virtual jint getSessionCacheSize();
+ virtual void setSessionCacheSize(jint);
+ virtual jint getSessionTimeout();
+ virtual void setSessionTimeout(jint);
+ virtual ::java::lang::String * toString();
+public: // actually package-private
+ virtual jboolean addSession(::gnu::javax::net::ssl::provider::Session$ID *, ::gnu::javax::net::ssl::provider::Session *);
+ virtual jboolean containsSessionID(::gnu::javax::net::ssl::provider::Session$ID *);
+ virtual jboolean removeSession(::gnu::javax::net::ssl::provider::Session$ID *);
+ virtual void notifyAccess(::gnu::javax::net::ssl::provider::Session *);
+public: // actually protected
+ ::java::util::HashMap * __attribute__((aligned(__alignof__( ::java::lang::Object)))) sessions;
+ jint cacheSize;
+ jint timeout;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_SessionContext__
diff --git a/libjava/gnu/javax/net/ssl/provider/SessionImpl$PrivateData.h b/libjava/gnu/javax/net/ssl/provider/SessionImpl$PrivateData.h
new file mode 100644
index 00000000000..287944cb648
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/SessionImpl$PrivateData.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_SessionImpl$PrivateData__
+#define __gnu_javax_net_ssl_provider_SessionImpl$PrivateData__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class SessionImpl$PrivateData;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::SessionImpl$PrivateData : public ::java::lang::Object
+{
+
+public: // actually package-private
+ SessionImpl$PrivateData();
+ static const jlong serialVersionUID = -8040597659545984581LL;
+ JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) masterSecret;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_SessionImpl$PrivateData__
diff --git a/libjava/gnu/javax/net/ssl/provider/SessionImpl.h b/libjava/gnu/javax/net/ssl/provider/SessionImpl.h
new file mode 100644
index 00000000000..d3d5a07998b
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/SessionImpl.h
@@ -0,0 +1,87 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_SessionImpl__
+#define __gnu_javax_net_ssl_provider_SessionImpl__
+
+#pragma interface
+
+#include <gnu/javax/net/ssl/Session.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class Session$ID;
+ namespace provider
+ {
+ class CipherSuite;
+ class MaxFragmentLength;
+ class ProtocolVersion;
+ class SessionImpl;
+ class SessionImpl$PrivateData;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace security
+ {
+ class SecureRandom;
+ namespace cert
+ {
+ class Certificate;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace crypto
+ {
+ class SealedObject;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::SessionImpl : public ::gnu::javax::net::ssl::Session
+{
+
+public:
+ SessionImpl();
+public: // actually package-private
+ virtual ::java::security::SecureRandom * random();
+public:
+ virtual ::java::lang::String * getProtocol();
+ virtual void prepare(JArray< jchar > *);
+ virtual void repair(JArray< jchar > *);
+ virtual ::javax::crypto::SealedObject * privateData();
+ virtual void setPrivateData(::javax::crypto::SealedObject *);
+public: // actually package-private
+ virtual void setApplicationBufferSize(jint);
+ virtual void setRandom(::java::security::SecureRandom *);
+ virtual void setTruncatedMac(jboolean);
+ virtual void setId(::gnu::javax::net::ssl::Session$ID *);
+ virtual void setLocalCertificates(JArray< ::java::security::cert::Certificate * > *);
+ virtual void setPeerCertificates(JArray< ::java::security::cert::Certificate * > *);
+ virtual void setPeerVerified(jboolean);
+ static const jlong serialVersionUID = 8932976607588442485LL;
+ ::gnu::javax::net::ssl::provider::CipherSuite * __attribute__((aligned(__alignof__( ::gnu::javax::net::ssl::Session)))) suite;
+ ::gnu::javax::net::ssl::provider::ProtocolVersion * version;
+ JArray< jbyte > * privateDataSalt;
+ ::javax::crypto::SealedObject * sealedPrivateData;
+ ::gnu::javax::net::ssl::provider::MaxFragmentLength * maxLength;
+ ::gnu::javax::net::ssl::provider::SessionImpl$PrivateData * privateData__;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_SessionImpl__
diff --git a/libjava/gnu/javax/net/ssl/provider/Signature.h b/libjava/gnu/javax/net/ssl/provider/Signature.h
new file mode 100644
index 00000000000..4b87ea4afdd
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/Signature.h
@@ -0,0 +1,60 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_Signature__
+#define __gnu_javax_net_ssl_provider_Signature__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class Signature;
+ class SignatureAlgorithm;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::Signature : public ::java::lang::Object
+{
+
+public:
+ Signature(::java::nio::ByteBuffer *, ::gnu::javax::net::ssl::provider::SignatureAlgorithm *);
+ Signature(JArray< jbyte > *, ::gnu::javax::net::ssl::provider::SignatureAlgorithm *);
+ virtual jint length();
+ virtual ::java::nio::ByteBuffer * buffer();
+ virtual JArray< jbyte > * signature();
+ virtual void setSignature(JArray< jbyte > *);
+ virtual void setSignature(JArray< jbyte > *, jint, jint);
+ virtual ::java::lang::String * toString();
+ virtual ::java::lang::String * toString(::java::lang::String *);
+private:
+ ::java::nio::ByteBuffer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) buffer__;
+ ::gnu::javax::net::ssl::provider::SignatureAlgorithm * alg;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_Signature__
diff --git a/libjava/gnu/javax/net/ssl/provider/SignatureAlgorithm.h b/libjava/gnu/javax/net/ssl/provider/SignatureAlgorithm.h
new file mode 100644
index 00000000000..adca3804a5a
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/SignatureAlgorithm.h
@@ -0,0 +1,53 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_SignatureAlgorithm__
+#define __gnu_javax_net_ssl_provider_SignatureAlgorithm__
+
+#pragma interface
+
+#include <java/lang/Enum.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class SignatureAlgorithm;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::SignatureAlgorithm : public ::java::lang::Enum
+{
+
+ SignatureAlgorithm(::java::lang::String *, jint);
+public:
+ ::java::lang::String * algorithm();
+ static JArray< ::gnu::javax::net::ssl::provider::SignatureAlgorithm * > * values();
+ static ::gnu::javax::net::ssl::provider::SignatureAlgorithm * valueOf(::java::lang::String *);
+public: // actually package-private
+ static JArray< jint > * $SWITCH_TABLE$gnu$javax$net$ssl$provider$SignatureAlgorithm();
+public:
+ static ::gnu::javax::net::ssl::provider::SignatureAlgorithm * ANONYMOUS;
+ static ::gnu::javax::net::ssl::provider::SignatureAlgorithm * RSA;
+ static ::gnu::javax::net::ssl::provider::SignatureAlgorithm * DSA;
+private:
+ static JArray< jint > * $SWITCH_TABLE$gnu$javax$net$ssl$provider$SignatureAlgorithm__;
+ static JArray< ::gnu::javax::net::ssl::provider::SignatureAlgorithm * > * ENUM$VALUES;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_SignatureAlgorithm__
diff --git a/libjava/gnu/javax/net/ssl/provider/SimpleSessionContext$1.h b/libjava/gnu/javax/net/ssl/provider/SimpleSessionContext$1.h
new file mode 100644
index 00000000000..7db323c28f7
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/SimpleSessionContext$1.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_SimpleSessionContext$1__
+#define __gnu_javax_net_ssl_provider_SimpleSessionContext$1__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class SimpleSessionContext;
+ class SimpleSessionContext$1;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::SimpleSessionContext$1 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ SimpleSessionContext$1(::gnu::javax::net::ssl::provider::SimpleSessionContext *);
+public:
+ jboolean hasMoreElements();
+ ::java::lang::Object * nextElement();
+public: // actually package-private
+ ::java::util::Iterator * __attribute__((aligned(__alignof__( ::java::lang::Object)))) it;
+ ::gnu::javax::net::ssl::provider::SimpleSessionContext * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_SimpleSessionContext$1__
diff --git a/libjava/gnu/javax/net/ssl/provider/SimpleSessionContext.h b/libjava/gnu/javax/net/ssl/provider/SimpleSessionContext.h
new file mode 100644
index 00000000000..68795decb98
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/SimpleSessionContext.h
@@ -0,0 +1,59 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_SimpleSessionContext__
+#define __gnu_javax_net_ssl_provider_SimpleSessionContext__
+
+#pragma interface
+
+#include <gnu/javax/net/ssl/AbstractSessionContext.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class Session;
+ namespace provider
+ {
+ class SimpleSessionContext;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::SimpleSessionContext : public ::gnu::javax::net::ssl::AbstractSessionContext
+{
+
+public:
+ SimpleSessionContext();
+public: // actually protected
+ ::gnu::javax::net::ssl::Session * implGet(JArray< jbyte > *);
+public:
+ void load(JArray< jchar > *);
+ void put(::gnu::javax::net::ssl::Session *);
+ void remove(JArray< jbyte > *);
+ void store(JArray< jchar > *);
+ ::java::util::Enumeration * getIds();
+ jint getSessionCacheSize();
+ void setSessionCacheSize(jint);
+public: // actually package-private
+ static ::java::util::HashMap * access$0(::gnu::javax::net::ssl::provider::SimpleSessionContext *);
+public:
+ static const jint DEFAULT_TIMEOUT = 300;
+private:
+ ::java::util::HashMap * __attribute__((aligned(__alignof__( ::gnu::javax::net::ssl::AbstractSessionContext)))) store__;
+ jint storeLimit;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_SimpleSessionContext__
diff --git a/libjava/gnu/javax/net/ssl/provider/SynchronizedRandom.h b/libjava/gnu/javax/net/ssl/provider/SynchronizedRandom.h
new file mode 100644
index 00000000000..a045e5308f1
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/SynchronizedRandom.h
@@ -0,0 +1,62 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_SynchronizedRandom__
+#define __gnu_javax_net_ssl_provider_SynchronizedRandom__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace security
+ {
+ namespace prng
+ {
+ class IRandom;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class SynchronizedRandom;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::SynchronizedRandom : public ::java::lang::Object
+{
+
+public: // actually package-private
+ SynchronizedRandom(::gnu::java::security::prng::IRandom *);
+public:
+ virtual ::java::lang::String * name();
+ virtual void init(::java::util::Map *);
+ virtual jbyte nextByte();
+ virtual void nextBytes(JArray< jbyte > *, jint, jint);
+ virtual ::java::lang::Object * clone();
+ virtual void addRandomByte(jbyte);
+ virtual void addRandomBytes(JArray< jbyte > *);
+ virtual void addRandomBytes(JArray< jbyte > *, jint, jint);
+private:
+ ::gnu::java::security::prng::IRandom * __attribute__((aligned(__alignof__( ::java::lang::Object)))) random;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_SynchronizedRandom__
diff --git a/libjava/gnu/javax/net/ssl/provider/TLSHMac.h b/libjava/gnu/javax/net/ssl/provider/TLSHMac.h
new file mode 100644
index 00000000000..6948f3f0564
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/TLSHMac.h
@@ -0,0 +1,54 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_TLSHMac__
+#define __gnu_javax_net_ssl_provider_TLSHMac__
+
+#pragma interface
+
+#include <gnu/javax/crypto/mac/HMac.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace security
+ {
+ namespace hash
+ {
+ class IMessageDigest;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class TLSHMac;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::TLSHMac : public ::gnu::javax::crypto::mac::HMac
+{
+
+public: // actually package-private
+ TLSHMac(::gnu::java::security::hash::IMessageDigest *);
+public:
+ virtual void init(::java::util::Map *);
+private:
+ static const jbyte IPAD_BYTE = 54;
+ static const jbyte OPAD_BYTE = 92;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_TLSHMac__
diff --git a/libjava/gnu/javax/net/ssl/provider/TLSRandom.h b/libjava/gnu/javax/net/ssl/provider/TLSRandom.h
new file mode 100644
index 00000000000..737d6c4169e
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/TLSRandom.h
@@ -0,0 +1,71 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_TLSRandom__
+#define __gnu_javax_net_ssl_provider_TLSRandom__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace mac
+ {
+ class IMac;
+ }
+ }
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class TLSRandom;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::TLSRandom : public ::java::lang::Object
+{
+
+public: // actually package-private
+ TLSRandom();
+public:
+ virtual ::java::lang::Object * clone();
+ virtual void init(::java::util::Map *);
+ virtual ::java::lang::String * name();
+ virtual jbyte nextByte();
+ virtual void nextBytes(JArray< jbyte > *, jint, jint);
+ virtual void addRandomByte(jbyte);
+ virtual void addRandomBytes(JArray< jbyte > *);
+ virtual void addRandomBytes(JArray< jbyte > *, jint, jint);
+private:
+ void fillBuffer();
+public: // actually package-private
+ static ::java::lang::String * SECRET;
+ static ::java::lang::String * SEED;
+private:
+ ::gnu::javax::crypto::mac::IMac * __attribute__((aligned(__alignof__( ::java::lang::Object)))) hmac_sha;
+ ::gnu::javax::crypto::mac::IMac * hmac_md5;
+ JArray< jbyte > * sha_a;
+ JArray< jbyte > * md5_a;
+ JArray< jbyte > * seed;
+ JArray< jbyte > * buffer;
+ jint idx;
+ jboolean init__;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_TLSRandom__
diff --git a/libjava/gnu/javax/net/ssl/provider/TruncatedHMAC.h b/libjava/gnu/javax/net/ssl/provider/TruncatedHMAC.h
new file mode 100644
index 00000000000..73b4d255857
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/TruncatedHMAC.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_TruncatedHMAC__
+#define __gnu_javax_net_ssl_provider_TruncatedHMAC__
+
+#pragma interface
+
+#include <gnu/javax/net/ssl/provider/Extension$Value.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class TruncatedHMAC;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::TruncatedHMAC : public ::gnu::javax::net::ssl::provider::Extension$Value
+{
+
+public:
+ TruncatedHMAC();
+ virtual jint length();
+ virtual ::java::nio::ByteBuffer * buffer();
+ virtual ::java::lang::String * toString();
+ virtual ::java::lang::String * toString(::java::lang::String *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_TruncatedHMAC__
diff --git a/libjava/gnu/javax/net/ssl/provider/TrustedAuthorities$AuthoritiesIterator.h b/libjava/gnu/javax/net/ssl/provider/TrustedAuthorities$AuthoritiesIterator.h
new file mode 100644
index 00000000000..4cdcf79f4bf
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/TrustedAuthorities$AuthoritiesIterator.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_TrustedAuthorities$AuthoritiesIterator__
+#define __gnu_javax_net_ssl_provider_TrustedAuthorities$AuthoritiesIterator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class TrustedAuthorities;
+ class TrustedAuthorities$AuthoritiesIterator;
+ class TrustedAuthorities$TrustedAuthority;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::TrustedAuthorities$AuthoritiesIterator : public ::java::lang::Object
+{
+
+public:
+ TrustedAuthorities$AuthoritiesIterator(::gnu::javax::net::ssl::provider::TrustedAuthorities *);
+ virtual ::gnu::javax::net::ssl::provider::TrustedAuthorities$TrustedAuthority * target$next();
+ virtual jboolean hasNext();
+ virtual void remove();
+ virtual ::java::lang::Object * next();
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) index;
+public: // actually package-private
+ ::gnu::javax::net::ssl::provider::TrustedAuthorities * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_TrustedAuthorities$AuthoritiesIterator__
diff --git a/libjava/gnu/javax/net/ssl/provider/TrustedAuthorities$IdentifierType.h b/libjava/gnu/javax/net/ssl/provider/TrustedAuthorities$IdentifierType.h
new file mode 100644
index 00000000000..e2b0188c07c
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/TrustedAuthorities$IdentifierType.h
@@ -0,0 +1,51 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_TrustedAuthorities$IdentifierType__
+#define __gnu_javax_net_ssl_provider_TrustedAuthorities$IdentifierType__
+
+#pragma interface
+
+#include <java/lang/Enum.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class TrustedAuthorities$IdentifierType;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::TrustedAuthorities$IdentifierType : public ::java::lang::Enum
+{
+
+ TrustedAuthorities$IdentifierType(::java::lang::String *, jint, jint);
+public:
+ jint getValue();
+ static JArray< ::gnu::javax::net::ssl::provider::TrustedAuthorities$IdentifierType * > * values();
+ static ::gnu::javax::net::ssl::provider::TrustedAuthorities$IdentifierType * valueOf(::java::lang::String *);
+ static ::gnu::javax::net::ssl::provider::TrustedAuthorities$IdentifierType * PRE_AGREED;
+ static ::gnu::javax::net::ssl::provider::TrustedAuthorities$IdentifierType * KEY_SHA1_HASH;
+ static ::gnu::javax::net::ssl::provider::TrustedAuthorities$IdentifierType * X509_NAME;
+ static ::gnu::javax::net::ssl::provider::TrustedAuthorities$IdentifierType * CERT_SHA1_HASH;
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Enum)))) value;
+ static JArray< ::gnu::javax::net::ssl::provider::TrustedAuthorities$IdentifierType * > * ENUM$VALUES;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_TrustedAuthorities$IdentifierType__
diff --git a/libjava/gnu/javax/net/ssl/provider/TrustedAuthorities$TrustedAuthority.h b/libjava/gnu/javax/net/ssl/provider/TrustedAuthorities$TrustedAuthority.h
new file mode 100644
index 00000000000..6101a829dce
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/TrustedAuthorities$TrustedAuthority.h
@@ -0,0 +1,70 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_TrustedAuthorities$TrustedAuthority__
+#define __gnu_javax_net_ssl_provider_TrustedAuthorities$TrustedAuthority__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class TrustedAuthorities$IdentifierType;
+ class TrustedAuthorities$TrustedAuthority;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+ namespace javax
+ {
+ namespace security
+ {
+ namespace auth
+ {
+ namespace x500
+ {
+ class X500Principal;
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::TrustedAuthorities$TrustedAuthority : public ::java::lang::Object
+{
+
+public:
+ TrustedAuthorities$TrustedAuthority(::java::nio::ByteBuffer *);
+ virtual jint length();
+ virtual JArray< jbyte > * sha1Hash();
+ virtual ::javax::security::auth::x500::X500Principal * name();
+ virtual ::gnu::javax::net::ssl::provider::TrustedAuthorities$IdentifierType * type();
+ virtual ::java::lang::String * toString();
+ virtual ::java::lang::String * toString(::java::lang::String *);
+private:
+ ::java::nio::ByteBuffer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) buffer;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_TrustedAuthorities$TrustedAuthority__
diff --git a/libjava/gnu/javax/net/ssl/provider/TrustedAuthorities.h b/libjava/gnu/javax/net/ssl/provider/TrustedAuthorities.h
new file mode 100644
index 00000000000..0aeabe4c281
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/TrustedAuthorities.h
@@ -0,0 +1,56 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_TrustedAuthorities__
+#define __gnu_javax_net_ssl_provider_TrustedAuthorities__
+
+#pragma interface
+
+#include <gnu/javax/net/ssl/provider/Extension$Value.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class TrustedAuthorities;
+ class TrustedAuthorities$TrustedAuthority;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::TrustedAuthorities : public ::gnu::javax::net::ssl::provider::Extension$Value
+{
+
+public:
+ TrustedAuthorities(::java::nio::ByteBuffer *);
+ virtual jint length();
+ virtual ::java::nio::ByteBuffer * buffer();
+ virtual jint size();
+ virtual ::gnu::javax::net::ssl::provider::TrustedAuthorities$TrustedAuthority * get(jint);
+ virtual ::java::lang::String * toString();
+ virtual ::java::lang::String * toString(::java::lang::String *);
+ virtual ::java::util::Iterator * iterator();
+private:
+ ::java::nio::ByteBuffer * __attribute__((aligned(__alignof__( ::gnu::javax::net::ssl::provider::Extension$Value)))) buffer__;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_TrustedAuthorities__
diff --git a/libjava/gnu/javax/net/ssl/provider/UnresolvedExtensionValue.h b/libjava/gnu/javax/net/ssl/provider/UnresolvedExtensionValue.h
new file mode 100644
index 00000000000..9c75dd0a847
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/UnresolvedExtensionValue.h
@@ -0,0 +1,53 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_UnresolvedExtensionValue__
+#define __gnu_javax_net_ssl_provider_UnresolvedExtensionValue__
+
+#pragma interface
+
+#include <gnu/javax/net/ssl/provider/Extension$Value.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class UnresolvedExtensionValue;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::UnresolvedExtensionValue : public ::gnu::javax::net::ssl::provider::Extension$Value
+{
+
+public:
+ UnresolvedExtensionValue(::java::nio::ByteBuffer *);
+ virtual jint length();
+ virtual ::java::nio::ByteBuffer * buffer();
+ virtual ::java::nio::ByteBuffer * value();
+ virtual ::java::lang::String * toString();
+ virtual ::java::lang::String * toString(::java::lang::String *);
+private:
+ ::java::nio::ByteBuffer * __attribute__((aligned(__alignof__( ::gnu::javax::net::ssl::provider::Extension$Value)))) buffer__;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_UnresolvedExtensionValue__
diff --git a/libjava/gnu/javax/net/ssl/provider/Util$1.h b/libjava/gnu/javax/net/ssl/provider/Util$1.h
new file mode 100644
index 00000000000..076f175d11f
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/Util$1.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_Util$1__
+#define __gnu_javax_net_ssl_provider_Util$1__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class Util$1;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::Util$1 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Util$1(::java::lang::String *);
+public:
+ ::java::lang::Object * run();
+private:
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) val$name;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_Util$1__
diff --git a/libjava/gnu/javax/net/ssl/provider/Util$2.h b/libjava/gnu/javax/net/ssl/provider/Util$2.h
new file mode 100644
index 00000000000..606786ee862
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/Util$2.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_Util$2__
+#define __gnu_javax_net_ssl_provider_Util$2__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class Util$2;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::Util$2 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Util$2(::java::lang::String *);
+public:
+ ::java::lang::Object * run();
+private:
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) val$name;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_Util$2__
diff --git a/libjava/gnu/javax/net/ssl/provider/Util$WrappedBuffer.h b/libjava/gnu/javax/net/ssl/provider/Util$WrappedBuffer.h
new file mode 100644
index 00000000000..ad7d244f749
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/Util$WrappedBuffer.h
@@ -0,0 +1,51 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_Util$WrappedBuffer__
+#define __gnu_javax_net_ssl_provider_Util$WrappedBuffer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class Util$WrappedBuffer;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::Util$WrappedBuffer : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Util$WrappedBuffer(::java::nio::ByteBuffer *, ::java::lang::String *);
+public:
+ virtual ::java::lang::String * toString();
+private:
+ ::java::nio::ByteBuffer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) buffer;
+ ::java::lang::String * prefix;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_Util$WrappedBuffer__
diff --git a/libjava/gnu/javax/net/ssl/provider/Util.h b/libjava/gnu/javax/net/ssl/provider/Util.h
new file mode 100644
index 00000000000..6e54af1c89e
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/Util.h
@@ -0,0 +1,76 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_Util__
+#define __gnu_javax_net_ssl_provider_Util__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class Util;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::Util : public ::java::lang::Object
+{
+
+ Util();
+public:
+ static ::java::lang::Object * wrapBuffer(::java::nio::ByteBuffer *);
+ static ::java::lang::Object * wrapBuffer(::java::nio::ByteBuffer *, ::java::lang::String *);
+ static JArray< jbyte > * toByteArray(::java::lang::String *);
+ static ::java::lang::String * toHexString(JArray< jbyte > *, jint, jint);
+ static ::java::lang::String * toHexString(JArray< jbyte > *);
+ static ::java::lang::String * toHexString(JArray< jbyte > *, jint, jint, jchar);
+ static ::java::lang::String * toHexString(JArray< jbyte > *, jchar);
+ static ::java::lang::String * hexDump(JArray< jbyte > *, jint, jint, ::java::lang::String *);
+ static ::java::lang::String * hexDump(::java::nio::ByteBuffer *);
+ static ::java::lang::String * hexDump(::java::nio::ByteBuffer *, ::java::lang::String *);
+ static ::java::lang::String * hexDump(JArray< jbyte > *, jint, jint);
+ static ::java::lang::String * hexDump(JArray< jbyte > *, ::java::lang::String *);
+ static ::java::lang::String * hexDump(JArray< jbyte > *);
+ static ::java::lang::String * formatInt(jint, jint, jint);
+ static JArray< jbyte > * concat(JArray< jbyte > *, JArray< jbyte > *);
+ static JArray< jbyte > * trim(JArray< jbyte > *, jint);
+ static JArray< jbyte > * trim(JArray< jbyte > *, jint, jint);
+ static JArray< jbyte > * trim(::java::math::BigInteger *);
+ static jint unixTime();
+public: // actually package-private
+ static JArray< ::java::lang::Object * > * transform(JArray< ::java::lang::Object * > *, ::java::lang::Class *, ::java::lang::String *, JArray< ::java::lang::Object * > *);
+ static ::java::lang::String * getProperty(::java::lang::String *);
+ static ::java::lang::String * getSecurityProperty(::java::lang::String *);
+ static ::java::lang::String * HEX;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_Util__
diff --git a/libjava/gnu/javax/net/ssl/provider/X500PrincipalList$Iterator.h b/libjava/gnu/javax/net/ssl/provider/X500PrincipalList$Iterator.h
new file mode 100644
index 00000000000..f5e928014b8
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/X500PrincipalList$Iterator.h
@@ -0,0 +1,72 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_X500PrincipalList$Iterator__
+#define __gnu_javax_net_ssl_provider_X500PrincipalList$Iterator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class X500PrincipalList;
+ class X500PrincipalList$Iterator;
+ }
+ }
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace security
+ {
+ namespace auth
+ {
+ namespace x500
+ {
+ class X500Principal;
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::X500PrincipalList$Iterator : public ::java::lang::Object
+{
+
+public:
+ X500PrincipalList$Iterator(::gnu::javax::net::ssl::provider::X500PrincipalList *);
+ virtual void target$add(::javax::security::auth::x500::X500Principal *);
+ virtual jboolean hasNext();
+ virtual jboolean hasPrevious();
+ virtual ::javax::security::auth::x500::X500Principal * target$next();
+ virtual jint nextIndex();
+ virtual ::javax::security::auth::x500::X500Principal * target$previous();
+ virtual jint previousIndex();
+ virtual void remove();
+ virtual void target$set(::javax::security::auth::x500::X500Principal *);
+ virtual ::java::lang::Object * next();
+ virtual ::java::lang::Object * previous();
+ virtual void add(::java::lang::Object *);
+ virtual void set(::java::lang::Object *);
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) modCount;
+ jint index;
+ jint count;
+public: // actually package-private
+ ::gnu::javax::net::ssl::provider::X500PrincipalList * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_X500PrincipalList$Iterator__
diff --git a/libjava/gnu/javax/net/ssl/provider/X500PrincipalList.h b/libjava/gnu/javax/net/ssl/provider/X500PrincipalList.h
new file mode 100644
index 00000000000..080b5e45cae
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/X500PrincipalList.h
@@ -0,0 +1,76 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_X500PrincipalList__
+#define __gnu_javax_net_ssl_provider_X500PrincipalList__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class X500PrincipalList;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ }
+ namespace javax
+ {
+ namespace security
+ {
+ namespace auth
+ {
+ namespace x500
+ {
+ class X500Principal;
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::X500PrincipalList : public ::java::lang::Object
+{
+
+public:
+ X500PrincipalList(::java::nio::ByteBuffer *);
+ jint size();
+ jint count();
+ ::javax::security::auth::x500::X500Principal * get(jint);
+ void put(jint, ::javax::security::auth::x500::X500Principal *);
+ void put(jint, JArray< jbyte > *);
+ void setSize(jint, jint);
+ ::java::lang::String * toString();
+ ::java::lang::String * toString(::java::lang::String *);
+ jboolean equals(::java::lang::Object *);
+ ::java::util::Iterator * iterator();
+public: // actually package-private
+ static jint access$0(::gnu::javax::net::ssl::provider::X500PrincipalList *);
+private:
+ ::java::nio::ByteBuffer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) buffer;
+ jint modCount;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_X500PrincipalList__
diff --git a/libjava/gnu/javax/net/ssl/provider/X509KeyManagerFactory$Manager.h b/libjava/gnu/javax/net/ssl/provider/X509KeyManagerFactory$Manager.h
new file mode 100644
index 00000000000..6455f80d0ca
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/X509KeyManagerFactory$Manager.h
@@ -0,0 +1,85 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_X509KeyManagerFactory$Manager__
+#define __gnu_javax_net_ssl_provider_X509KeyManagerFactory$Manager__
+
+#pragma interface
+
+#include <javax/net/ssl/X509ExtendedKeyManager.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class X509KeyManagerFactory;
+ class X509KeyManagerFactory$Manager;
+ }
+ }
+ }
+ }
+ }
+ 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 gnu::javax::net::ssl::provider::X509KeyManagerFactory$Manager : public ::javax::net::ssl::X509ExtendedKeyManager
+{
+
+public: // actually package-private
+ X509KeyManagerFactory$Manager(::gnu::javax::net::ssl::provider::X509KeyManagerFactory *, ::java::util::Map *, ::java::util::Map *);
+public:
+ virtual ::java::lang::String * chooseClientAlias(JArray< ::java::lang::String * > *, JArray< ::java::security::Principal * > *, ::java::net::Socket *);
+ virtual ::java::lang::String * chooseEngineClientAlias(JArray< ::java::lang::String * > *, JArray< ::java::security::Principal * > *, ::javax::net::ssl::SSLEngine *);
+ virtual JArray< ::java::lang::String * > * getClientAliases(::java::lang::String *, JArray< ::java::security::Principal * > *);
+ virtual ::java::lang::String * chooseServerAlias(::java::lang::String *, JArray< ::java::security::Principal * > *, ::java::net::Socket *);
+ virtual ::java::lang::String * chooseEngineServerAlias(::java::lang::String *, JArray< ::java::security::Principal * > *, ::javax::net::ssl::SSLEngine *);
+ virtual JArray< ::java::lang::String * > * getServerAliases(::java::lang::String *, JArray< ::java::security::Principal * > *);
+private:
+ JArray< ::java::lang::String * > * getAliases(::java::lang::String *, JArray< ::java::security::Principal * > *);
+public:
+ virtual JArray< ::java::security::cert::X509Certificate * > * getCertificateChain(::java::lang::String *);
+ virtual ::java::security::PrivateKey * getPrivateKey(::java::lang::String *);
+private:
+ ::java::util::Map * __attribute__((aligned(__alignof__( ::javax::net::ssl::X509ExtendedKeyManager)))) privateKeys;
+ ::java::util::Map * certChains;
+public: // actually package-private
+ ::gnu::javax::net::ssl::provider::X509KeyManagerFactory * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_X509KeyManagerFactory$Manager__
diff --git a/libjava/gnu/javax/net/ssl/provider/X509KeyManagerFactory.h b/libjava/gnu/javax/net/ssl/provider/X509KeyManagerFactory.h
new file mode 100644
index 00000000000..a261c27448c
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/X509KeyManagerFactory.h
@@ -0,0 +1,72 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_X509KeyManagerFactory__
+#define __gnu_javax_net_ssl_provider_X509KeyManagerFactory__
+
+#pragma interface
+
+#include <javax/net/ssl/KeyManagerFactorySpi.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class X509KeyManagerFactory;
+ class X509KeyManagerFactory$Manager;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace security
+ {
+ class KeyStore;
+ namespace cert
+ {
+ class Certificate;
+ class X509Certificate;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class KeyManager;
+ class ManagerFactoryParameters;
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::X509KeyManagerFactory : public ::javax::net::ssl::KeyManagerFactorySpi
+{
+
+public:
+ X509KeyManagerFactory();
+public: // actually protected
+ virtual JArray< ::javax::net::ssl::KeyManager * > * engineGetKeyManagers();
+ virtual void engineInit(::javax::net::ssl::ManagerFactoryParameters *);
+ virtual void engineInit(::java::security::KeyStore *, JArray< jchar > *);
+private:
+ static JArray< ::java::security::cert::X509Certificate * > * toX509Chain(JArray< ::java::security::cert::Certificate * > *);
+ ::gnu::javax::net::ssl::provider::X509KeyManagerFactory$Manager * __attribute__((aligned(__alignof__( ::javax::net::ssl::KeyManagerFactorySpi)))) current;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_X509KeyManagerFactory__
diff --git a/libjava/gnu/javax/net/ssl/provider/X509TrustManagerFactory$Manager.h b/libjava/gnu/javax/net/ssl/provider/X509TrustManagerFactory$Manager.h
new file mode 100644
index 00000000000..c34c2c5a705
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/X509TrustManagerFactory$Manager.h
@@ -0,0 +1,61 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_X509TrustManagerFactory$Manager__
+#define __gnu_javax_net_ssl_provider_X509TrustManagerFactory$Manager__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class X509TrustManagerFactory;
+ class X509TrustManagerFactory$Manager;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace security
+ {
+ namespace cert
+ {
+ class X509Certificate;
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::X509TrustManagerFactory$Manager : public ::java::lang::Object
+{
+
+public: // actually package-private
+ X509TrustManagerFactory$Manager(::gnu::javax::net::ssl::provider::X509TrustManagerFactory *, JArray< ::java::security::cert::X509Certificate * > *);
+public:
+ virtual void checkClientTrusted(JArray< ::java::security::cert::X509Certificate * > *, ::java::lang::String *);
+ virtual void checkServerTrusted(JArray< ::java::security::cert::X509Certificate * > *, ::java::lang::String *);
+ virtual JArray< ::java::security::cert::X509Certificate * > * getAcceptedIssuers();
+private:
+ void checkTrusted(JArray< ::java::security::cert::X509Certificate * > *, ::java::lang::String *);
+ ::java::util::Set * __attribute__((aligned(__alignof__( ::java::lang::Object)))) anchors;
+public: // actually package-private
+ ::gnu::javax::net::ssl::provider::X509TrustManagerFactory * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_X509TrustManagerFactory$Manager__
diff --git a/libjava/gnu/javax/net/ssl/provider/X509TrustManagerFactory.h b/libjava/gnu/javax/net/ssl/provider/X509TrustManagerFactory.h
new file mode 100644
index 00000000000..f65c0490700
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/X509TrustManagerFactory.h
@@ -0,0 +1,69 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_X509TrustManagerFactory__
+#define __gnu_javax_net_ssl_provider_X509TrustManagerFactory__
+
+#pragma interface
+
+#include <javax/net/ssl/TrustManagerFactorySpi.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class X509TrustManagerFactory;
+ class X509TrustManagerFactory$Manager;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace security
+ {
+ class KeyStore;
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ class ManagerFactoryParameters;
+ class TrustManager;
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::X509TrustManagerFactory : public ::javax::net::ssl::TrustManagerFactorySpi
+{
+
+public:
+ X509TrustManagerFactory();
+public: // actually protected
+ virtual JArray< ::javax::net::ssl::TrustManager * > * engineGetTrustManagers();
+ virtual void engineInit(::javax::net::ssl::ManagerFactoryParameters *);
+ virtual void engineInit(::java::security::KeyStore *);
+private:
+ static ::java::lang::String * sep;
+ static ::java::lang::String * JSSE_CERTS;
+ static ::java::lang::String * CA_CERTS;
+ ::gnu::javax::net::ssl::provider::X509TrustManagerFactory$Manager * __attribute__((aligned(__alignof__( ::javax::net::ssl::TrustManagerFactorySpi)))) current;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_X509TrustManagerFactory__
diff --git a/libjava/gnu/javax/net/ssl/provider/XMLSessionContext$SAXHandler.h b/libjava/gnu/javax/net/ssl/provider/XMLSessionContext$SAXHandler.h
new file mode 100644
index 00000000000..0ced1c2dd3d
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/XMLSessionContext$SAXHandler.h
@@ -0,0 +1,102 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_XMLSessionContext$SAXHandler__
+#define __gnu_javax_net_ssl_provider_XMLSessionContext$SAXHandler__
+
+#pragma interface
+
+#include <org/xml/sax/helpers/DefaultHandler.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace security
+ {
+ namespace prng
+ {
+ class IRandom;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace mac
+ {
+ class IMac;
+ }
+ namespace mode
+ {
+ class IMode;
+ }
+ }
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class Session;
+ class SessionContext;
+ class XMLSessionContext;
+ class XMLSessionContext$SAXHandler;
+ }
+ }
+ }
+ }
+ }
+ namespace org
+ {
+ namespace xml
+ {
+ namespace sax
+ {
+ class Attributes;
+ }
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::XMLSessionContext$SAXHandler : public ::org::xml::sax::helpers::DefaultHandler
+{
+
+public: // actually package-private
+ XMLSessionContext$SAXHandler(::gnu::javax::net::ssl::provider::XMLSessionContext *, ::gnu::javax::net::ssl::provider::SessionContext *, ::gnu::java::security::prng::IRandom *);
+public:
+ virtual void startElement(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::org::xml::sax::Attributes *);
+ virtual void endElement(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
+ virtual void characters(JArray< jchar > *, jint, jint);
+private:
+ ::gnu::javax::net::ssl::provider::SessionContext * __attribute__((aligned(__alignof__( ::org::xml::sax::helpers::DefaultHandler)))) context;
+ ::gnu::javax::net::ssl::provider::Session * current;
+ ::gnu::java::security::prng::IRandom * pbekdf;
+ ::java::lang::StringBuffer * buf;
+ ::java::lang::String * certType;
+ jint state;
+ ::gnu::javax::crypto::mode::IMode * cipher;
+ ::java::util::HashMap * cipherAttr;
+ ::gnu::javax::crypto::mac::IMac * mac;
+ ::java::util::HashMap * macAttr;
+ JArray< jbyte > * key;
+ JArray< jbyte > * iv;
+ JArray< jbyte > * mackey;
+ static const jint START = 0;
+ static const jint SESSIONS = 1;
+ static const jint SESSION = 2;
+ static const jint PEER = 3;
+ static const jint PEER_CERTS = 4;
+ static const jint CERTS = 5;
+ static const jint SECRET = 6;
+public: // actually package-private
+ ::gnu::javax::net::ssl::provider::XMLSessionContext * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_XMLSessionContext$SAXHandler__
diff --git a/libjava/gnu/javax/net/ssl/provider/XMLSessionContext.h b/libjava/gnu/javax/net/ssl/provider/XMLSessionContext.h
new file mode 100644
index 00000000000..dfc42243c3f
--- /dev/null
+++ b/libjava/gnu/javax/net/ssl/provider/XMLSessionContext.h
@@ -0,0 +1,69 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_net_ssl_provider_XMLSessionContext__
+#define __gnu_javax_net_ssl_provider_XMLSessionContext__
+
+#pragma interface
+
+#include <gnu/javax/net/ssl/provider/SessionContext.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace security
+ {
+ namespace prng
+ {
+ class IRandom;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace net
+ {
+ namespace ssl
+ {
+ namespace provider
+ {
+ class Session;
+ class Session$ID;
+ class XMLSessionContext;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace security
+ {
+ class SecureRandom;
+ }
+ }
+}
+
+class gnu::javax::net::ssl::provider::XMLSessionContext : public ::gnu::javax::net::ssl::provider::SessionContext
+{
+
+public: // actually package-private
+ XMLSessionContext();
+ virtual jboolean addSession(::gnu::javax::net::ssl::provider::Session$ID *, ::gnu::javax::net::ssl::provider::Session *);
+ virtual void notifyAccess(::gnu::javax::net::ssl::provider::Session *);
+ virtual jboolean removeSession(::gnu::javax::net::ssl::provider::Session$ID *);
+private:
+ void decode();
+ void encode();
+ ::java::io::File * __attribute__((aligned(__alignof__( ::gnu::javax::net::ssl::provider::SessionContext)))) file;
+ ::gnu::java::security::prng::IRandom * pbekdf;
+ jboolean compress;
+ ::java::security::SecureRandom * random;
+ jboolean encoding;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_net_ssl_provider_XMLSessionContext__