Hi, Is there any documentation available for functions like PEM_read_PrivateKey, Pem_write_PrivateKey etc.
My problem is that I have an asn1 encoded data (DER format) in buffer x which I have to use for getting a pkcs1 format private key. So using d2_X509_SIG, pkcs8_decrypt, EVP_PKCS82PKEY I can get the private key. Can I just invoke PEM_write_PrivateKey( fp, pkey, NULL,NULL, 0, NULL, NULL) to get the pkcs1 encoded prvateKey ? Sanjay