add forge methods to make a generic asn1 pem public key, and make both consistent