Hi Victor,

Thank you for the quick reply.
I did try to use d2i_X509 function but I get the following error:

2520:error:0D07207B:lib(13):func(114):reason(123):.\crypto\asn1\asn1_lib.c:150:
2520:error:0D068066:lib(13):func(104):reason(102):.\crypto\asn1\tasn_dec.c:1281:
2520:error:0D07803A:lib(13):func(120):reason(58):.\crypto\asn1\tasn_dec.c:380:Ty
pe=X509

Do you know what might be the problem?

Thanks,
Lior
2009/5/20 Victor B. Wagner <vi...@cryptocom.ru>

> On 2009.05.20 at 14:05:05 +0300, Lior Aharoni wrote:
>
> >    Hi All,
> >    ═
> >    Can someone please direct me to the relevant OpenSSL API for decoding
> >    binary stream of the entire certificate content in ASN.1 format?
>
> It is d2i_X509 function. It has same API as all other d2i functions and
> return X509 structure which can be passed to various OpenSSL information
> functions. Unfortunately, this part of OpenSSL is quite poorly
> documented.
>
>
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    openssl-users@openssl.org
> Automated List Manager                           majord...@openssl.org
>



-- 
Lior Aharoni

Reply via email to