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
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,
On Wed, Mar 01, 2006, Tatsuya Tsurukawa 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 famili
Dear Steve,
I've tried it with the following code, but I couldn't get the correct data
yet. Could you please point out the wrong point of the following code.
// variables
int iResult = 0;
unsigned char cert[2000];
BIO *bioPtr;
X509 *certPtr;
unsigned char *tbs;
:
// make X509 structure
bioPtr =
On Fri, Apr 07, 2006, Tatsuya Tsurukawa wrote:
> Dear Steve,
>
> I've tried it with the following code, but I couldn't get the correct data
> yet. Could you please point out the wrong point of the following code.
>
> // variables
> int iResult = 0;
> unsigned char cert[2000];
> BIO *bioPtr;
> X5