On Wed, Jan 23, 2002 at 10:43:22AM -0800, Michael Shanzer wrote:
> --- Lutz Jaenicke <[EMAIL PROTECTED]>
> > SSL_load_client_CA_file() reads in a file
> > and obtains the X509 certificates. From each X509
> > certificate the
> > subject name is extracted and put onto a
> > STACK_OF(X509_NAMES).
> > I am confident that you will find it simple to use
> > the function
> > as a template and replace the reading of the file
> > with appropriate
> > database operations. (ssl/ssl_cert.c)
> I started looking there and got bogged down with all
> the BIO stuff.  Which I was not really in the mood to
> deal with. But if there is no other option ... 
> Thanks for the info.

Actually: forget the BIO stuff. It is just a generalized I/O layer,
that is used inside OpenSSL at all places.
What you do have to take a look at are the X509_* operations...
        Lutz
-- 
Lutz Jaenicke                             [EMAIL PROTECTED]
http://www.aet.TU-Cottbus.DE/personen/jaenicke/
BTU Cottbus, Allgemeine Elektrotechnik
Universitaetsplatz 3-4, D-03044 Cottbus
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to