Retrieving data programmatically from a Configuration Profile in IOS

做~自己de王妃 提交于 2019-12-19 10:35:18

问题


I have been searching all over the apple documentation, including these forums, yet was not able to retrieve a certificate from a configuration profile that I had created and installed on my iPhone.

More specifically: Using the iPhone Configuration Utility, I created a simple configuration profile that contains a certificate under the Credentials tab.

I am now trying to retrieve this certificate using my iPhone app but without any luck of coming across useful documentation/examples.

I know how to extract PKCS12 data - I just don't know where to find the certificate data to begin with. Is there a path to the certificate data or to an NSDictionary of configuration profile values?


回答1:


It seems it is not possible currently to read a profile. See https://devforums.apple.com/message/533356 (requires login).

Was looking for the same thing, to authenticate user as an enterprise employee.



来源:https://stackoverflow.com/questions/8202812/retrieving-data-programmatically-from-a-configuration-profile-in-ios

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!