Re: There are no method PEM_writeDSAPublicKey??

2006-10-27 Thread Dr. Stephen Henson
On Fri, Oct 27, 2006, Camila Moraes wrote: > Hi! > > I generated a DSA key pair and wrote the private key into a file, like > following: > > DSA *pair = DSA_generate_parameters(1024, NULL, 0, NULL, NULL, NULL, NULL); > DSA_generate_key(pair) > EVP_PKEY *pkey = EVP_PKEY_new(); > EVP_PKEY_assign_D

There are no method PEM_writeDSAPublicKey??

2006-10-27 Thread Camila Moraes
Hi!I generated a DSA key pair and wrote the private key into a file, like following: DSA *pair = DSA_generate_parameters(1024, NULL, 0, NULL, NULL, NULL, NULL); DSA_generate_key(pair) EVP_PKEY *pkey = EVP_PKEY_new();  EVP_PKEY_assign_DSA(pkey, pair); FILE *fp = fopen("dsaprivatekey.pem", "w"); cons