Skip to main content

Suggestion required regarding generation of Public-Private Key with SATSA

1 reply [Last post]
abc_tom
Offline
Joined: 2008-04-15
Points: 0

Hi

I am planning to implement RSA based encryption in J2ME.

I could get information about SATSA which comes bundled with J2ME. I could get see that there are classes which actually allows you to encrypt with a public key.

However, I could not locate the classes which would allow me to generate the public-private key pair (as I could not find classes available within SATSA or MIDP to do this)

Can somebody please provide me a suggestion or any other alternative to generate the public-private key pair (based on RSA)?

Regards
Ahmad

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
tdgs
Offline
Joined: 2011-03-31
Points: 0

You cannot create a public-private key pair with SATSA ,only a public key and then it is assumed you will get the private key from a crt file. In order to do that you can use bouncy castle. Reply to me if you want me to show you how to do that.