Hi there, I am trying to generate a rsa private and public key in pkcs#8 format, but I believe the funciton
"PEM_write_PKCS8PrivateKey()" produces a public key in pkcs#1 format. How do I produce a public key in pkcs#1 format using the openssl function? I was following reference at the openssl website: http://www.openssl.org/docs/crypto/pem.html Any help is appreciated!
