[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [iaik-ssl] SSL on already open Socket?

Thanks for the reply, Sean. 

This looks fine as a workaround. I'll probably use this for prototyping.

The only problem here is that I'm tied to using the SSLSocket for secure transport with SOCKS. 

I was hoping to have the freedom to use other secure transport and 
initialise them with the already open SOCKS connection, if and when they are available. 



-----Original Message-----
From:	Sean.Clark@wdr.com [SMTP:Sean.Clark@wdr.com]
Sent:	Monday, May 24, 1999 12:03 PM
To:	adowling@iol.ie
Cc:	iaik-ssl@iaik.tu-graz.ac.at
Subject:	Re: [iaik-ssl] SSL on already open Socket?

     Hi Andy,
     I haven't done the SOCKS client side thing (and wouldn't realy like to 
     :) , but I have implemented a HTTP proxy tunnel by doing the 
     following, and I guess it should work for SOCKS.
     You can turn off the automatic SSL handshake on the SSLSocket
     SSLSocket s = new SSLSocket(host, port) //of the proxy
     //get the streams and to the SOCKS V5 stuff
     // the socket will behave as in java.net
     //get the steams now and they will be secure
     Hope this helps

______________________________ Reply Separator _________________________________
Subject: [iaik-ssl] SSL on already open Socket?
Author:  adowling (adowling@iol.ie) at unix,mime
Date:    24/05/99 11:10

Hi all,
I need to be able to perform an SSL handshake on a Socket that is already establ
In my case, I need SSL after a SOCKS V5 handshake.
I can't see that the current API supports this. Is there any workaround to do th
is, or maybe
a new constructor could be added to the SSLSocket: something along the lines of:
public SSLSocket (Socket s, SSLContext context) ???
Andy Dowling
Department of Computer Science, 
NUI Maynooth, 
Co. Kildare, Ireland.
Tel:    + 353 1 6285222 Ext. 3197
Fax:    + 353 1 7083848
E-mail:         adowling@cs.may.ie
Mailinglist-archive at http://jcewww.iaik.tu-graz.ac.at/mailarchive/iaik-ssl/mai
To unsubscribe send an email to listserv@iaik.tu-graz.ac.at with the folowing co
ntent: UNSUBSCRIBE iaik-ssl

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.

Mailinglist-archive at http://jcewww.iaik.tu-graz.ac.at/mailarchive/iaik-ssl/maillist.html

To unsubscribe send an email to listserv@iaik.tu-graz.ac.at with the folowing content: UNSUBSCRIBE iaik-ssl