It's not a secret anymore!*
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "How to use SSL" Watch "How to use SSL" New topic
Author

How to use SSL

Kurinchikumaran Thavarajah
Greenhorn

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.

Regaards
Kumaran
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
 
Similar Threads
is there a any validation API in java
need advice
How to overide security behavior in j2me mobile application to accept self signed certitficate?
Non SSL based Flex application access to SSL Webservice
How to download class to mobile phone