标签: ios swift xcode security x509
我知道这是一个古老的话题,因为在互联网上找到的答案很少有5-8岁。
我的要求很简单:我已经生成了一个非对称密钥对,我想将公钥发送到X.509证书(或 SecCertificate )中嵌入的服务器>,使用Apple的术语),最终用私钥签名。
我尝试避免使用OpenSSL库,因为苹果强烈不鼓励这样做。有其他选择吗?
一些尝试的解决方案:
https://github.com/henrinormak/Heimdall
http://digitalleaves.com/blog/2015/10/sharing-public-keys-between-ios-and-the-rest-of-the-world/