Add a function to read public keys from PEM files.
DO NOT MERGE.