开发者

iPhone SDK 4.0: Get publicKey and privateKey from a certificate / identity profile stored in KeyChain

I am trying to get the public and private Key from a certificate which i have already installed on the iPhone. (It is shown unter Settings -> General -> Profiles)

I need this keys for encryption sensitive data. (RSA Algorit开发者_运维技巧hm)

Up to now i have found no way to get access to the keys. Is it even possible ?

If not: What is the best possible way to realize my problem otherwise ?

Thank you for all helpful answers.


1.) You can't get the private key of the profile for the simple reason, that your private key is not stored in the profile, it is only signed with it.

Instead consider getting familiar with the Security.framework. This post should give you a start

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜