• 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: SecKeyRef object without KeyChain
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SecKeyRef object without KeyChain


  • Subject: Re: SecKeyRef object without KeyChain
  • From: "email@hidden" <email@hidden>
  • Date: Wed, 07 Sep 2011 22:02:31 +0100


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@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

  • Follow-Ups:
    • Re: SecKeyRef object without KeyChain
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: Set a view's delegate using IB
  • Next by Date: Re: Set a view's delegate using IB
  • Previous by thread: [MEET] CocoaHeadsNYC tomorrow (Thu) -- Greg Casamento
  • Next by thread: Re: SecKeyRef object without KeyChain
  • Index(es):
    • Date
    • Thread