views:

195

answers:

2

I would like to generate public and private key pairs and then store them in a private store, instead of the iphone's key chain. Is there a way to use to use the security apis on the IPhone to generate key pairs and not store them in the keychain? When I looked at the SecKeyRef it is an opaque pointer.

A: 

I just want to generate the private key and store it in the keychain. later i want to retrieve my own private key ref. do you know how can i do that?

karim
A: 

try to use generateKeyPairPlease() from iPhone developer center, cryptoexcercise application.

Paresh Thakor