On 7 Sep 2011, at 21:50, Jens Alfke wrote:
> 
> 
>> Not sure if the doc below will help or not (it's fairly recent).
>> http://developer.apple.com/library/mac/#documentation/Security/Conceptual/SecTransformPG/EncryptionandDecryption/EncryptionandDecryption.html
> 
> Unfortunately it’s for Mac, not iOS (it uses the SecKeyCreateFromData 
> function). It also glosses over the matter of the formatting of the key data, 
> which is a non-issue with their example of AES but very important with RSA. 
> There is a lengthy thread somewhere on the Apple dev forums by various people 
> going crazy trying to figure out how to format a public key for consumption 
> on iOS.
> 

Oops - missed the iOS bit entirely!

Conrad's suggestion sounds worth a try if you can import a cert on iOS.
On OS X anyway you can import a cert and dig the keys out of the resultant 
security object.

Regards

Jonathan Mitchell

Developer
Mugginsoft LLP
http://www.mugginsoft.com

_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to