You're looking for X.509 encoding of the CSR.  Thus, you'd be looking
at the X509_* series of functions.

Since it's a request, the subset of functions would be X509_REQ_*.  To
decode it, you want d2i_X509_REQ_{bio|fp}().

I have to doublecheck the functions that can be used to get info out
of it, though.  You could, however, look at the 'req', 'ca', and
'x509' programs to see what they do.

-Kyle H

On 2/28/06, Tatsuya Tsurukawa
<[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I have a quick question.
> How can I get To-Be-Signed portion of certificate with openssl api ?
> In case of using JDK, X509Certificat class and getTBSCertificate() method
> seem to be available for the same purpose.
>
> I'm not familiar with the openssl api, and I couldn't find the appropriate
> api due to the luck of sample codes on the internet.
>
> Regards,
> Tatsuya Tsurukawa
>
> --------
> [EMAIL PROTECTED]
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    openssl-users@openssl.org
> Automated List Manager                           [EMAIL PROTECTED]
>
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to