• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: how do i make SecKeyRef object from NSData of publicKey value
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >how do i make SecKeyRef object from NSData of publicKey value (From: bosco fdo <email@hidden>)

  • Prev by Date: Re: Animating "contents" property of CALayer via the delegate
  • Next by Date: Why is scrollbar enabled?
  • Previous by thread: Re: how do i make SecKeyRef object from NSData of publicKey value
  • Next by thread: Re: how do i make SecKeyRef object from NSData of publicKey value
  • Index(es):
    • Date
    • Thread