= d2i_X509_bio(cert, null); but now that I have the X509 certificate in PEM format inside a XML node I was wondering how could I load it into x509 withouth having to write a temp file. Thanks in advance. Isaac B
Yahoo! FareChase - Search multiple travel sites in one click.
Hi, I have the following code
char serial[300];
i2a_ASN1_INTEGER(bio, X509_get_serialNumber(x509));
n = BIO_read(bio, serial, min(BIO_pending(bio), 299));
n = max(n, 0);
serial[n] = 0;
BIO_flush(bio);
And I get the following result inside serial
3030303031303030303030303030303030313134
So