开发者

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:

  1. User installs certificate 开发者_如何学编程on the phone.
  2. 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?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜