不使用 OpenSSL 以编程方式为 iPhone 创建 x509 证书 [英] Programmatically create a x509 certificate for iPhone without using OpenSSL

查看:50
本文介绍了不使用 OpenSSL 以编程方式为 iPhone 创建 x509 证书的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有一种方法可以仅通过使用 Apple Security 框架以编程方式在 iPhone 应用程序中创建自签名证书,即.不必弄乱 OpenSSL?

Is there a way to programmatically create a self-signed certificate in an app for iPhone just by using the Apple Security framework, ie. not having to mess with OpenSSL?

推荐答案

如果没有 openSSL 或 RSA 库,这似乎是不可能的,我已经搜索了一些答案,这个似乎是最好的,甚至包括一个连接对于这个问题:iOS:如何创建 PKCS12(P12) 以编程方式从应用程序中的私钥和 x509 证书获取密钥库?

It seems like this is not possible without openSSL or RSA libs, I have searched through some answers, and this one seems to be the best, even includes a connection to this question: iOS: How to create PKCS12 (P12) keystore from private key and x509certificate in application programmatically?

这篇关于不使用 OpenSSL 以编程方式为 iPhone 创建 x509 证书的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆