I'm trying to write the public/private keys to a PEM file. I'm using the book "Network Security with OpenSSL" as a reference which says I need to use PEM_write_DSA_PUBKEY, but I can't find this anywhere in the openssl source. I'm using 0.9.7d. I see PEM_write_DSAPrivateKey, but nothing for public key. Am I missing something? Anybody know what function should I be using?
Thanks,
Ed