Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: SecKeyRef object without KeyChain
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SecKeyRef object without KeyChain



You could use the openssl library. It provides all the api you need for doing RSA cryptography (including reading and generating keys) and it is publicly available on Mac OS. If you need code samples "Secure Programming Cookbook for C and C++" from O'Reilly has a good solution.

- Ian


On Sep 30, 2009, at 2:42 AM, bosco fdo wrote:

Hi

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 ?

Is there any way i can convert my publicKey value from NSData bytes to
SecKeyref ?

Please help with sample code

Thanks
Bose
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Apple-cdsa mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Apple-cdsa mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >SecKeyRef object without KeyChain (From: bosco fdo <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.