Re: how do i make SecKeyRef object from NSData of publicKey value
Re: how do i make SecKeyRef object from NSData of publicKey value
- Subject: Re: how do i make SecKeyRef object from NSData of publicKey value
- From: Jens Alfke <email@hidden>
- Date: Mon, 28 Sep 2009 08:39:47 -0700
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 (email@hidden)
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:
This email sent to email@hidden