File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Security and the fly likes SSL Communication between Java and VC++ Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Engineering » Security
Reply Bookmark "SSL Communication between Java and VC++" Watch "SSL Communication between Java and VC++" New topic
Author

SSL Communication between Java and VC++

Sapana Patel
Greenhorn

Joined: Jul 24, 2008
Posts: 4

I have a java application which is a server application, and I also have a VC application which is a client application. Now I wanna to have a SSL connection between the java server app and VC client app.
How to make it? is it possible to relize the SSL connection between them?

If it is possible provide me some example


Thanks
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2858

May be googling like SSL URL connection using Java yields some results, also look at HttpClient library.


[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
Sapana Patel
Greenhorn

Joined: Jul 24, 2008
Posts: 4
But I want a socket communication with IP and port.
Means TCP socket connection with SSL
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2858

Why do you want to do that, the given API does the same when you issued "https://www.test.com". Internally it invoke the TCP/IP connection with the port 443 and gives you the simple presentation layer to perform whatever operation you want to do with that url.
Sapana Patel
Greenhorn

Joined: Jul 24, 2008
Posts: 4
I have a VC Socket Client on one machine and Java Socket server on another machine.
I have to pass some data packets from server to client and vise versa.

I want to use the SSL socket connection to connect the java socket server and VC socket. but i don't know how to do. since VC use certificates while java use keypair to construct SSL socket connection. I don't know whether i can use the certificate in both java and VC.
 
 
subject: SSL Communication between Java and VC++
 
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com