use bouncy castle to create public key on j2me

Posted by mike on Stack Overflow See other posts from Stack Overflow or by mike
Published on 2010-02-15T15:21:18Z Indexed on 2010/04/11 22:53 UTC
Read the original article Hit count: 377

Filed under:
|
|

I got the public key from the certificate, keypair is a java.security.KeyPair object

String public_key = keypair.getPublic().toString();

I want to send this to the via an http connection to a J2me application.

I cannot find any documentation to convert the transmitted string to a Public key that can be used to encrypt Strings.

I also want the J2me to verify signed strings from the server.

I want to then send the encrypted strings back to the server.

© Stack Overflow or respective owner

Related posts about encryption

Related posts about j2me