Re: how do i make SecKeyRef object from NSData of publicKey value

2009-09-28 Thread Stuart Malin
On Sep 28, 2009, at 1:05 AM, bosco fdo wrote: Date: Mon, 28 Sep 2009 11:57:29 +0800 From: bosco fdo bos1t...@gmail.com Subject: how do i make SecKeyRef object from NSData of publicKey value To: cocoa-dev@lists.apple.com Message-ID: 630900f20909272057o5d14eaf7ue104e9f71c8b1

Re: how do i make SecKeyRef object from NSData of publicKey value

2009-09-28 Thread Jens Alfke
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

Re: how do i make SecKeyRef object from NSData of publicKey value

2009-09-28 Thread Wim Lewis
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 ? No, it's possible to create a SecKeyRef that isn't in any

how do i make SecKeyRef object from NSData of publicKey value

2009-09-27 Thread bosco fdo
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

Re: how do i make SecKeyRef object from NSData of publicKey value

2009-09-27 Thread Kyle Sluder
This is not a Cocoa question. Try re-reading the documentation and asking a more appropriate list. --Kyle Sluder ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the