Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

secure http calls to server from J2ME device

 
liang gu
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 170
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
liang gu
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 170
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic