Using installed identity certificate from within an app on iPhone
My question is: is there a way to use the installed identity certificates on the phone from within my app. For example similar case like with Safari: if certain site requires client certificate, the user has to install it on the phone and then when authenticating Safari uses the installed certificate to authenticate. I need to do the same:
- User installs certificate 开发者_如何学编程on the phone.
- The user starts the application and authenticates using the installed certificate.
Thanks
I assume you mean authenticate an NSURLConnection to a specific server? I think you can do this if get into some of the lower level CF calls. Not sure, but this might help: Does SecTrustEvaluate() look for root certificates in the application keychain?
精彩评论