aspose file tools*
The moose likes Security and the fly likes Client-Server example for using cryptography package? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Security
Bookmark "Client-Server example for using cryptography package?" Watch "Client-Server example for using cryptography package?" New topic
Author

Client-Server example for using cryptography package?

harke baj
Greenhorn

Joined: Feb 02, 2010
Posts: 28
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

Joined: Aug 11, 2007
Posts: 4659
    
    5

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

Joined: Feb 02, 2010
Posts: 28
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

Joined: Nov 27, 2006
Posts: 423

Try this as a start: http://java.sun.com/javase/technologies/security/
(Second link in google after searching for "java ssl")
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Client-Server example for using cryptography package?