wood burning stoves 2.0
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 OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP 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 bouncycastle.org , and I found a link for implementing ssl in an embedded environment, which may or may not be useful: http://www.embedded.com/showArticle.jhtml?articleID=45400043
[ February 27, 2005: Message edited by: Jason Fox ]
I agree. Here's the link: http://aspose.com/file-tools
subject: How to use SSL