On 14 Jan 2014, at 20:44, Charles Srstka <cocoa...@charlessoft.com> wrote:

> On Jan 14, 2014, at 1:09 PM, Jens Alfke <j...@mooseyard.com> wrote:
> 
>> On Jan 14, 2014, at 9:37 AM, Jean-Daniel Dupas <devli...@shadowlab.org> 
>> wrote:
>> 
>>> Just in case it was not mentioned in the thread, SecTransform supports RSA. 
>>> You can use SecEncryptTransformCreate() with an asymmetric key.
>> 
>> Great! But there was a previous assertion in this thread (by whom?) that the 
>> Apple docs say SecTransform doesn't support public-key crypto. I quickly 
>> looked through some docs but didn’t see a statement one way or another.
> 
> That was me, and here's the link:
> 
> https://developer.apple.com/library/mac/documentation/security/conceptual/SecTransformPG/EncryptionandDecryption/EncryptionandDecryption.html
> 
> "Note: The security transforms API supports only symmetric encryption and 
> decryption. For asymmetric encryption and decryption, you must use a 
> lower-level API, such as [the deprecated] CDSA. For more information, see the 
> CryptoSample sample project."
> 
> If transforms are actually capable of working with RSA, this needs a 
> documentation bug filed post-haste.
> 
Jean-Daniel is right. RSA crypto is doable on OS X with security.framework.
The CryptoCompatibility sample is actually very comprehensive.

I have submitted feedback regarding the flawed note above.

Jonathan



_______________________________________________

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

Reply via email to