如何在iPhone上使用证书?

如何在iPhone上使用证书?

问题描述:





我正在尝试构建iPhone应用程序,并希望将其部署到iPhone 5S。

所以我已将证书导入手机中(.p12)。

所以,我想知道的是我如何处理来自iPhone的证书(在STEPS中),我是否需要首先从iPhone中提取它,然后提取公钥/私钥对我的数据执行一些加密/解密?



附加代码将非常感谢:)



提前谢谢

最好的问候。

Hi,

I'm trying to build an iPhone App, and want to deploy it to the iPhone 5S.
So I've imported the certificate into the phone as (.p12).
So, what I want to know is how can I deal with the certificate from the iPhone (in STEPS), do I need to extract it from the iPhone first, and then extract the public/private keys to perform some encryption/decryption on my data?

attaching code would be highly appreciated :)

Thank you in advance
Best Regards.

如你所知:正常的安装方式是通过Appstore。 关于应用发布。在那里你也可以找到一些关于证书的信息。



另外你可以在你自己的网络服务器上部署IPA或使用Testflight。

主要方式是通过XCode部署应用程序。设备必须注册为开发者设备。



如果您想使用Apple功能加密数据钥匙链服务参考
As you know: the normal way of installation is via the Appstore. About App Distribution. There your also find some information about certifictes.

Alternativly you can deploy an IPA on your own webserver or use Testflight.
The primary way is to deploy the app via XCode. The devices must be registered as developer devices.

If you want to crypt data using Apple functions Keychain Services Reference.