[Objc] How to get SecKeyRef from base64 coded string

This quick Application Development tip will show you How to get SecKeyRefM from coded string, which for iOS 7 utilises: So, let’s assume that you have a coded public key, like:


The first thing that you must do, is base64 decode your to :
If you are developing for iOS 7, which by now I hope you would be then you can use this: ::options Once you have the string decoded as NSData, you can …

Original article: http://feedproxy.google.com/~r/iosdevblog/~3/voI5L_edgtU/

warningImportant note:
this article is automatically grabbed from here. I’m not the owner and the responsible of this post content.