Re: SecKeyRef object without KeyChain [issues with kSecPkcs1Padding]

2011-09-11 Thread jonat...@mugginsoft.com
On 11 Sep 2011, at 03:46, Shivani Bansal wrote: > Hi, > I debugged my set-up. and i found issue with SecKeyRef. Let me explain the > scenario > > I have performed following steps: > • Got RSA public Key from server > • Now strip RSA header from this public key > • Add RSA key

Re: SecKeyRef object without KeyChain

2011-09-07 Thread Jens Alfke
On Sep 7, 2011, at 2:02 PM, jonat...@mugginsoft.com wrote: > Conrad's suggestion sounds worth a try if you can import a cert on iOS. If you already have the key wrapped in a cert, it’s easy. Creating X.509 certs is difficult, though; they’re in ASN.1, a very fiddly binary format. And wrapping

Re: SecKeyRef object without KeyChain

2011-09-07 Thread jonat...@mugginsoft.com
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, no