openssl-users  

Question about DSA private keys - Quick replies appreciated!

Anand Giriraj
Sat, 06 Mar 2010 11:13:58 -0800

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