This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
How to download class to mobile phone
need advice
Non SSL based Flex application access to SSL Webservice
is there a any validation API in java
How to overide security behavior in j2me mobile application to accept self signed certitficate?