Add a function to read public keys from PEM files.