Billy,

    This question probably belongs on -users, so I'll reply there. I'm only
going to answer the second part. Hey, BIO's are not always so hard! Suppose
you have your certificate in buffer 'cert_buf' and it is 'cert_len' bytes
long. Then

BIO *cert_bio = BIO_new_mem_buf( cert_buf, cert_len);

gets you going so you can now use cert_bio to read in the cert into
functions that take BIO's for input sources.

_____________________________________
Greg Stark
Ethentica, Inc.
[EMAIL PROTECTED]
_____________________________________



----- Original Message -----
From: "Billy Cole" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 20, 2001 4:27 PM
Subject: 2 quick questions


> First, does anyone have any rough estimates of the memory
requirements/usage
> of an ssl connection (context structure size per flow)?  I suppose this
would be
> the
> memory usage behind an SSL *. I realize the requirements may change
depending
> on connection state, so any other input there would also be very much
> appreciated.
> Another thing in this area is, what/how are these requirements in relation
to
> the info
> that must be kept around to resume a connection? Anyway, it's obvious that
I'm
> trying to determine how much memory I'll need based on a target number of
cps,
> so any input here would be useful.
>
> Secondly, is there some easy way (that I'm missing) of reading a
certificate in
> from
> a buffer instead of a file? This BIO stuff gets deep real fast and I just
want
> to make
> sure I'm spending time in the right places.
>
> Thanks a lot for any input.
>
> --
> Billy Cole
> Astute Networks, Inc.
> 760-736-3663 x207
> [EMAIL PROTECTED]
>
>
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> Development Mailing List                       [EMAIL PROTECTED]
> Automated List Manager                           [EMAIL PROTECTED]

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to