PEM (de)serialization for public keys