Ios swift – How to generate SHA256 hex string from PEM file and implement root certificate public key pinning in Swift for iOS 12?
I have a PEM file of the ISRG Root X1 certificate which I downloaded from https://letsencrypt.org/certificates/ and I'm trying to implement certificate pinning in my iOS app. I'm specifically interested in public key pinning and I'm targeting iOS 12 and…