[Net-ssleay-devel] a question to you SSLeay module
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Fri Dec 3 05:31:29 UTC 2010
On 12/02/2010 01:17 PM, sampo at zxidp.org wrote:
> If you wanted to render the variable into, say, PEM formatted certificate, you
>
> need to call appropriate OpenSSL API functions, such as Net::SSLeay::PEM_write_bio_X509().
Hrm. i don't think there is such a function, at least not in
Net::SSLeay version 1.36 (in debian unstable currently).
however, poking around in the source shows that you can extract a
PEM-encoded version of the certificate from such a cert object with:
Net::SSLeay::PEM_get_string_X509($cert)
hope that's useful for you!
--dkg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/net-ssleay-devel/attachments/20101203/9d8f9f44/attachment.pgp>
More information about the Net-ssleay-devel
mailing list