The stream is supposed to contain linefeeds.  Otherwise, this is
called "PEM-encoded DER" format, and the PEM functions will work to
get the data quite nicely.

-Kyle H

On 3/1/06, Ambarish Mitra <[EMAIL PROTECTED]> wrote:
>
> Dear all,
>
> I have an application, which reads a presented certificate in stream. For
> example, the following is the input:
>
>
> -----BEGIN CERTIFICATE-----MIIFUjCC. .. .. .Fk71GQ==-----END
> CERTIFICATE-----
>
>
> Given such an input, I have to extract the subject and the issuer (and
> possibly serial number). Is there any API for this? If anyone can at least
> give me the initial first steps, it will be helpful.
>
>
> Best regards,
>
> Ambarish.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to