MIDP Certificate exchange

J

javavwire

Hi all,

I have been programming MIDP applications for some time now, so I am
not new to it all.
However, I am new to encryption and the like when it comes to MIDP.

I have developed an application whereby users can process credit card
transactions, hence the need for encryption. I am using the
bouncycastle package to create a key pair, public and private on our
server. I then need the J2ME app to request the public key, and in
response the server must send a certificate containing ONLY the public
key. The J2ME should extract the public key and use the public key to
encrypt the data, send the data to the server, and the server can
decrypt the data and process it from there.

A new key pair will be generated for each session/encryption request,
and this will be done on the server, thereby taking the processing
weight off the shoulders of the J2ME app and increasing security.

I do not want the private key installed in the certificate at all, all
the certificate should contain is the public key. This is proving quite
difficult to do as I have not seen any help on google for my needs.

I have been on this project for a long time now, and I am desperate for
help.

Can anyone please tell me or direct me to a place that can help me
accomplish my task.

Thanks in advance,

JC Wouters
 
J

javavwire

Hi Marcin,

I apologise for the late reply, I haven't had time to look at the link
but I will after I say, thank you for the help, any advice or
suggestions are most welcome and appreciated.

I will let you know how it goes,

Regards,

JC Wouters
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top