Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Sample codes for HTTPS

 
kavita anna
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
are there any sample codes on using https with MIDP other than the one provided by Qusay Mahmud.Please help.
 
Michael Yuan
author
Ranch Hand
Posts: 1427
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sample code in Quasy book does work. But keep in mind:
1. HTTPS is not required in MIDP v1.0. So your implementation might not support it.
2. HTTPS requires root CA certificate to be stored on device. To use an emulator, you need to install that certificate using MEKeyTool utility that comes with WTK. See more on the documentation of that tool.
 
Aamir Chaudhry
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys MIDP2.0 beta 1 has been released that support https and certificate signing and athentication. so you can check this out;
http://wireless.java.sun.com/midp/articles/midp20/
look under "Secure Networking" section and you will find some sample-code (downloadable).
cheers
Aamir
 
kavita anna
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys...thanx for the inputs, will work on it
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by kavita anna:
Hi Guys...thanx for the inputs, will work on it

Hi Kavitha!,
Is there is any chance you know
Maha Anna :roll:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic