File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java Micro Edition and the fly likes How to use SSL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "How to use SSL" Watch "How to use SSL" New topic

How to use SSL

Kurinchikumaran Thavarajah

Joined: Dec 06, 2004
Posts: 13
Hi all

I created a midlet class to access web site using httpConnection. How can I use SSL with this j2me application. I don't have any idea about ssl. Can anybody explain how ssl works and how to use ssl with j2me applications to access a web site.

Jason Fox
Ranch Hand

Joined: Jan 22, 2004
Posts: 114
If the device you're targeting is MIDP 2.0, you can use an HttpsConnection exactly like an HttpConnection. If not, you might want to look at , and I found a link for implementing ssl in an embedded environment, which may or may not be useful:
[ February 27, 2005: Message edited by: Jason Fox ]
I agree. Here's the link:
subject: How to use SSL
It's not a secret anymore!