Security.Framework API Enhancement (Public Key)

Originator:rivera.julioa
Number:rdar://20551168 Date Originated:04/15/2015
Status:Open Resolved:
Product:iOS Product Version:
Classification: Reproducible:
 
It would be helpful for developers if they could easily retrieve the public key of a x.509 certificate (SecCertificateRef). Within the OSX Security.Framework there is a method available SecCertificateCopyPublicKey() but unfortunately this is not available to us as iOS developers. 

If we could have a similar port, this would allow us to pin the public key of an SSL certificate rather than the certificate as a whole. SecTrustCopyPublicKey() allows us to get the public key of the whole certificate, but not retrieve the public key of the root certificate, which is the first certificate within the whole certificate's chain.

Comments

The link to the blog post seems to be dead?

By dieter.komendera at April 15, 2015, 1:17 p.m. (reply...)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!