On Sep 27, 2009, at 8:57 PM, bosco fdo wrote:
I need to do RSA encryption for that i need to have SecKeyRef object
for the public Key i have. Do i still need to add to the Keychain and
get from the Keychain as a SecKeyRef ?
Doing crypto with the Security APIs is rather complex and unintuitive.
(I think they're tied with CoreAudio as the most difficult APIs in OS
X.) There are a lot of things you need to drop down to lower levels,
like the almost-undocumented CDSA, for.
I did a bunch of this last year and extracted it into a framework,
which you can either use as-is or scan for tips.
http://bitbucket.org/snej/mycrypto/
FYI, the obscurely-named apple-cdsa list is the best place to discuss
OS X or iPhone security/crypto.
—Jens_______________________________________________
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com