On Jan 14, 2014, at 1:09 PM, Jens Alfke <[email protected]> wrote:

> On Jan 14, 2014, at 9:37 AM, Jean-Daniel Dupas <[email protected]> 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.

Charles

_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to