implement TLS (or SSL) communication

Hi all,

I wish to make a very Keep It Simple and Stupid client server application that will conduct secured communication between the client and the server.

The natural approach would be to use TLS (which supercedes SSL, but is a little new yet) or SSL.

I would like to get some reliable and simple sample code, or alternatively, straight forward documentation which will directly fascilitate adding security to the communication done by my client-server application to be.

Any help would be most welcome.

Regards,

Matan

[571 byte] By [matanS] at [2007-9-26 4:23:56]
# 1
> I would like to get some reliable and simple sample code http://java.sun.com/products/jsse/doc/guide/API_users_guide.html#CodeExamplesa.
avbentem at 2007-6-29 17:30:26 > top of Java-index,Security,Java Secure Socket Extension (JSSE)...
# 2

First read the basic cryptographic architecture in Java http://java.sun.com/products/jdk/1.2/docs/guide/security/CryptoSpec.html

Then, if you want to implement application level security in the form of one side encrypting and other side decrypting, take a look at Java Cryptography Extension(JCE) http://java.sun.com/products/jce/index-121.html

Else, ff you want to transparently use SSL/TLS, i.e. security above application level, chekc out Java Secure Socket Extension (JSSE) http://java.sun.com/products/jsse/index-102.htmlExamples are available as a separate download from that page.

neville_sequeira at 2007-6-29 17:30:26 > top of Java-index,Security,Java Secure Socket Extension (JSSE)...
# 3

Thanks guys !

But I have jdk 1.3 installed, and the jsse sample code is written for jdk 1.2 and uses things that are deprecated in 1.3. I can't upgrade to the newest jsse+jdk since Forte doesn't support it yet. Any sample code that compiles against jdk 1.3 ? migrating it to 1.3 would be very difficult for me.

matanS at 2007-6-29 17:30:26 > top of Java-index,Security,Java Secure Socket Extension (JSSE)...
# 4
See http://forum.java.sun.com/thread.jsp?forum=2&thread=161863
neville_sequeira at 2007-6-29 17:30:26 > top of Java-index,Security,Java Secure Socket Extension (JSSE)...