Objective-C: How to verify SecCertificateRef with signer's public key?

半腔热情 提交于 2020-01-04 11:39:33

问题


I've got a certificate B which is signed with A. I have an A's public key and I want to verify the certificate if it's valid signed by A. How do I do in Objective-C?

In Java, there's a verify() method in X509Certificate class

http://download.oracle.com/javase/1.4.2/docs/api/java/security/cert/Certificate.html#verify%28java.security.PublicKey%29

来源:https://stackoverflow.com/questions/4666399/objective-c-how-to-verify-seccertificateref-with-signers-public-key

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!