I have used some BIO functions in a minor scale, but I must admit I still
don't quite understand how it works.

Example, I want to fetch the "next update" time in a CRL.
Can I do something like this?:

  BIO* myBio = BIO_new( BIO_s_mem() );
  ASN1_TIME_print(myBio, X509_CRL_get_nextUpdate(myCRL));

  /* MISSING CODE */

  BIO_free(myBio);

The missing code should only copy the time string (if it exist somewhere)
into a char*. But where do I find this data in the BIO and how do I copy it
into a char* ?

Any help or comments appreciated.

> Best regards
> 
> Kim Hellan
> KMD
> Niels Bohrs Alle 185
> DK-5220 Odense S�
> Phone: (+45) 44 60 52 54 (direct)
> Fax (+45) 44 60 52 76
> Mailto:[EMAIL PROTECTED]
> 
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to