Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Client-Server example for using cryptography package?

 
harke baj
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I know that this is not the right folder for asking cryptographic questions, but I did not find any other folder for asking this topic.

What I want is an example for a client-server to transfer data securely.

I have made a stand alone program. But I could not get how to achieve this in the client - server situation.

Thank you.

harke
 
Pat Farrell
Rancher
Posts: 4678
7
Linux Mac OS X VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are hundreds of ways to do this.

The usual/Practical approach is to write a Servlet to handle the messages in the server side, and use a browser or something like the Apache HTTP client library to act like a sever. With this, you can use standard SSL/TLS to provide secure access.

You could, of course, use RMI and a suitable cryptography library.
 
harke baj
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sorry to ask this but could you point me to an example, or keywords to type in google to find the examples. I am not able to google a particular example.

Thank you.
 
Joachim Rohde
Ranch Hand
Posts: 433
Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try this as a start: http://java.sun.com/javase/technologies/security/
(Second link in google after searching for "java ssl")
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic