There are loads of d2i_ and i2d_ functions to do this. Have a look at
the documentation which is very good in this area.
Tat.
Antonio Ruiz Martínez wrote:
Hello!
How I can get the public key (from a certificate) in an array of
bytes?
Thanks in advance,
Regards,
Antonio.
--
--
Antonio Ruiz Martínez
Facultad de Informática-Universidad de Murcia
30001 Murcia - España (Spain)
Telf: +34-968-364644 e-mail: [EMAIL PROTECTED]
--
__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]
--
+---
| Tat Sing Kong Bsc(Hons)
| Senior Technical Architect
| Consegna Advanced Technologies Ltd
| 1st Floor, 30-32 Thomas Street
| Manchester, M4 1ER, United Kingdom
| http://www.consegna.co.uk
| Tel : +44 (0)161 833 3777
| Fax : +44 (0)161 833 3636
| Email : [EMAIL PROTECTED]
+
This e-mail is from Consegna Advanced Technologies. The information in
this e-mail and any files transmitted with it are confidential and may
be legally privileged. It is intended solely for the stated recipient.
Access to this e-mail by anyone else is unauthorised. If you are not
the intended recipient, any disclosure, copying, distribution or any
action taken or omitted to be taken in reliance on it, is prohibited
and may be unlawful.
If you have received this e-mail in error please notify
[EMAIL PROTECTED] or telephone +44 (0)161 833 3777. Views or opinions
expressed by an individual within this e-mail may not necessarily
reflect the views of Consegna Advanced Technologies.
+-
__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]