Sorry there was a small typo s/DSA_generate_keys/DSA_generate_key Could I possibly use EVP_PKEY2PKCS8() api for the encoding?
Regards -AG On Fri, Mar 5, 2010 at 11:35 AM, Anand Giriraj <anand.giri...@gmail.com>wrote: > Hi Folks. > If I generate DSA private key using the following commands: > > DSA_generate_params() > DSA_generate_keys() > > The resulting private keys are not encoded using any of the PKCS formats, > right?. If wrong, which format are they encoded in?. > > Would it be appropriate to encode them in PKCS8?. And if so which openssl > API could I use? > > Thanks > -AG >