Question

I have a SecCertificateRef representing an X.509 certificate. Does Cocoa Touch have any libraries for working with the contents of the certificate (I couldn't find any), or will I need to parse the DER representation of the certificate myself? Parsing is not a problem, however I'd prefer to save some time if I overlooked some functionality? Or perhaps you can recommend any good third party libraries?

Was it helpful?

Solution

You should look into openssl - a quick google search for "openssl with cocoa" shows pretty good results, you should be able to integrate fairly easily.

OTHER TIPS

There is no API in cocoa touch layer to process the certificate. APIs to process certificates are in core service layer. plz check in developer.apple.com for Certificate, Key, and Trust Services APIs

The (brilliant) cocoaasyncsocket project includes an X509Certificate class that does all the hard work for you and returns a nice NSDictionary. I highly recommend it.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top