Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 iOS 上的钥匙串中添加了一个SecCertificate(BEGIN CERTIFICATE部分外)和一个SecKey(部分);BEGIN PRIVATE KEY稍后,我需要一个SecIdentity(因为didReceive:URLChallenge.
SecCertificate
BEGIN CERTIFICATE
SecKey
BEGIN PRIVATE KEY
SecIdentity
didReceive:URLChallenge
但是如何从钥匙串中获取身份?我了解到它基本上是证书和密钥的组合,但我只发现 API 做相反的事情:从身份获取私钥或证书,而不是反过来......