如果1)您已经在钥匙串中拥有私钥并且2)您刚收到CA的证书,那么如何在iPhone钥匙串中创建SecIdentityRef?
除非有API从私钥和证书创建.p12,否则SecPKCS12Import在这种情况下没有帮助.
SecIdentityCreateWithCertificate将是Mac上的答案,但iPhone上不存在.
是否可以使用SecItemAdd? http://developer.apple.com/library/ios/#documentation/Security/Reference/keychainservices/Reference/reference.html
非常感谢,安德鲁