I’d like to display the SSL certificate a server send within an iOS application, so the user can accept/cancel the connection or alter the trust settings.
On OS X there is the SFCertificateView class and the corresponding SFCertificatePanel and SFCertificateTrustPanel classes.
Do you know a corresponding class/function for iOS? Preferably “legal”, meaning: no private calls, since Apple is known to reject them for App Store submission.
Thanks a lot!
There isn’t anything built-in. You can accept iOS’s default trust evaluation, or your app can override the OS and decide to accept or reject a presented certificate itself. If you want to involve the user in that decision, you need to design your own UI.