This quick iOS Application Development tip will show you How to get SecKeyRefM from base64 coded string, which for iOS 7 utilises: So, let’s assume that you have a base64 coded public key, like:
The first thing that you must do, is base64 decode your to NSData:
If you are developing for iOS 7, which by now I hope you would be then you can use this: initWithBase64EncodedString::options Once you have the string decoded as NSData, you can …
Original article: http://feedproxy.google.com/~r/iosdevblog/~3/voI5L_edgtU/
this article is automatically grabbed from here. I’m not the owner and the responsible of this post content.