On Jan 13, 2014, at 11:11 AM, Jens Alfke <j...@mooseyard.com> wrote: >> AFAIK, there is not. You will have to statically link lib crypto. > > No, you can use SecKeyEncrypt / SecKeyDecrypt with RSA keys. You just have to > have the keys stored in the Keychain
Really? I'll have to give this a try sometime. If this is the case, someone should probably file a Radar against the documentation, since it specifically states that the security transforms API only supports symmetric encryption and not asymmetric. > (which is the right thing to do for private keys regardless. I think of > private keys as being like nuclear fuel rods: you should never leave them out > in the open.) Is that true for public keys as well? Charles _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com