> > I am planning to use SSL with the IO completion port model under
> > win2K. Does anyone know of an existing BIO suitable for this ? I
> > haven't been able to find one, so thought I would write my own.
> > However, there seem to be hard-coded BIO_TYPE values for
> the different
> > bios in the bio.h file. Does anyone know if these numbers have any
> > meaning, or can I just make up my own id number ?
> >
The normal way of doing SSL over the top of IO completion ports is by
using a BIO pair and standard NT async network calls.
The BIO pair creates 2 BIO's (hence the pair):
BIO 1 (Network BIO):
Data written to and read from this data will be encrypted.
So the data from the network is written to this BIO.
Data read from this BIO should be written to the network.
BIO 2 (Internal BIO):
Data written to and read from this data will be unencrypted.
So unencrypted data from the application is written to this BIO.
The application reads it's unencrypted messages from this BIO.
The BIO's are linked, so data written to the internal BIO is encrypted
and placed on the network BIO as data to be sent and data written to the
network BIO is unencrypted and placed on the internal BIO as data to be
read.
- Dale.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]