if you have a certificate in a X509 object, the x509.h header mentions the function:
EVP_PKEY * X509_get_pubkey(X509 *x); From: [email protected] To: [email protected] Subject: get public Key from a certificate Date: Tue, 24 Feb 2009 10:29:42 +0000 hello how can i get the public Key from a certificate ? ( please give me just the name of the function, for example i use to get a public key from a private key : PrivKey = RSA_generate_key(512, RSA_F4, NULL, NULL); PubKey = RSAPublicKey_dup(PrivKey); ) if i send a certificate , i'm not oblige to send a public key , i deduce it from a a certificate (am i wrong ???!) ) best regards _________________________________________________________________ Windows Live™ Hotmail®…more than just e-mail. http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t2_hm_justgotbetter_howitworks_022009______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [email protected] Automated List Manager [email protected]
