Hi,
I would generate a dsa pair keys and store in pem files (private.pem /public.pem) from 
the openssl api.
I see in pem.h file and i find:

    int DSA_generate_key(DSA *a);
    DSA * DSA_generate_parameters(int bits, unsigned char *seed,int seed_len,
                                                          int *counter_ret, unsigned 
long *h_ret,void
                                                          (*callback)(int, int, void 
*),void *cb_arg);
    int i2d_DSAPublicKey(DSA *a, unsigned char **pp);
    int  i2d_DSAPrivateKey(DSA *a, unsigned char **pp);

what is the correctly way to use this parameters?
Thanks,
lidia

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to