This week's book giveaway is in the HTML, CSS and JavaScript forum.
We're giving away four copies of hapi.js in Action and have Matt Harrison on-line!
See this thread for details.
Win a copy of hapi.js in Action this week in the HTML, CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

MIDP 1.0 / HTTPS

 
Ould Nadif
Ranch Hand
Posts: 184
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I developped a J2ME application (MIDP 1.0/CLDC1.0). My application connects to a server of payment. I need to use a secure transaction.
I know that HTTPS is not implement in the MIDP 1.0. How can we implement a secure transaction (HTTPs ) in in the (MIDP 1.0/CLDC1.0). Share with me your experience.
Thank you in advance.
OULD
 
Michael Yuan
author
Ranch Hand
Posts: 1427
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For MIDP 1.0 devices that support HTTPS (optional), you can simply open a "https://host" connection. It returns a HttpConnection object but all the underlying data plumbing is properly secured with HTTPS. If the device does not support HTTPS, a connection exception will be returned.
 
Ould Nadif
Ranch Hand
Posts: 184
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Thank you Michael.
OULD
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!