Dear Steve, Thank you very much for the prompt and exhaustive reply.
Gerardo On 10/29/12 7:06 PM, Dr. Stephen Henson wrote: > On Mon, Oct 29, 2012, Gerardo Ganis wrote: > >> Dear OpenSSL Users, >> >> Could someone confirm that when loading private keys in memory using >> PEM_read_PrivateKey >> >> EVP_PKEY *evpp = PEM_read_PrivateKey(fk, 0, 0, 0); >> >> the full key is filled in, i.e. evpp points to a complete >> (public+private) key? >> By analyzing the structure after the call it looks so, but since it >> is not documented, I was wondering >> whether it is something on which I can count on; if not what is the >> advised way to load a complete >> key in memory? >> > Yes. The data read in either contains the public key components (RSAPrivateKey > for example) or the public key components are calculated (e.g. DSA > and PKCS#8). > > Steve. > -- > Dr Stephen N. Henson. OpenSSL project core developer. > Commercial tech support now available see: http://www.openssl.org > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List openssl-users@openssl.org > Automated List Manager majord...@openssl.org -- +--------------------------------------------------------------------------+ Gerardo GANIS CERN, PH Dept, SFT group, CH 1211 Geneve 23 room: 32-RC-017, tel: +41 22 7676439 email: gerardo.ga...@cern.ch, fax: +41 22 7669133 +--------------------------------------------------------------------------+ ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org