File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java Micro Edition and the fly likes secure http calls to server from J2ME device Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "secure http calls to server from J2ME device" Watch "secure http calls to server from J2ME device" New topic
Author

secure http calls to server from J2ME device

liang gu
Ranch Hand

Joined: Nov 05, 2001
Posts: 89
I know that the current MIDP doesn't support HTTPS. However, I have read some posts on this site that Sun Labs are putting out a kSSL implementation and some people have written apps using https. Can somebody help me on kSSL and https from J2ME device.
Thanks a lot!
Liang

Eric Giguere
Ranch Hand

Joined: Oct 25, 2000
Posts: 170
HTTPS support has to be integrated into the device to use it. Note that the Motorola iDEN phones support HTTPS as an extension to the basic HTTP support required by MIDP. Also, the latest J2ME Wireless Toolkit (1.0.3) supports HTTPS. If the device you're using doesn't have HTTPS support built-in, however, you can't really load it in yourself.

------------------
Eric Giguere
author/co-author of:
Mobile Information Device Profile for Java 2 Micro Edition: Professional Developer's Guide
Java 2 Micro Edition: Professional Developer's Guide
PalmTM Database Programming: The Complete Developer's Guide


Eric Giguere
Author/Co-Author of: Mobile Information Device Profile for Java 2 Micro Edition: Professional Developer's Guide, Java 2 Micro Edition: Professional Developer's Guide and PalmTM Database Programming: The Complete Developer's Guide
liang gu
Ranch Hand

Joined: Nov 05, 2001
Posts: 89
Eric, Thanks for your reply. I have 1 more question, how can I load the public/private key signature file onto the device? Is there any examples that are using the https?
Eric Giguere
Ranch Hand

Joined: Oct 25, 2000
Posts: 170
It would depend entirely on the device. I suspect most of these devices support server authentication only. On the Motorola i85s there is no way to load client certificates.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: secure http calls to server from J2ME device