2

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

teerapap
  • 5,303
  • 7
  • 33
  • 40
  • The functions you're after are `SecTrustCreateWithCertificates`, `SecTrustEvaluate` and `SecPolicyCreateBasicX509`. – Aidan Steele Jan 19 '11 at 02:39

0 Answers0