Search code examples
iphonecocoa-touchfunctioncertificatex509

Are there any functions for working with the contents of X.509 Certificates in Cocoa Touch?


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?


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.