Re: ASN1_INTEGER_get() problem

2005-01-19 Thread Przemek Michalski
Lev Walkin wrote: >> I have found that asn1.h has a declaration of a function: >> i2a_ASN1_INTEGER() >> >> which outputs a hexadecimal representation of the serial number value to the >> BIO variable. >> I wish not to use a bio structure variable, but a simple char variable, that >> I could use

ASN1_INTEGER_get() problem

2005-01-14 Thread Przemek Michalski
Hi there, I am trying to play with large serial numbers, however I found that the function ASN1_INTEGER_get() applied with the following code: /*--*/ ASN1_INTEGER_get(X509_get_serialNumber(cert)); /*--*/ where 'cert' is the certificate resource, has limited capabilities,