The memory BIO will grow itself as needed to hold data written into it. You
do not need to size it in advance.
_____________________________________
Greg Stark
Ethentica, Inc.
[EMAIL PROTECTED]
_____________________________________
----- Original Message -----
From: "Hausermann Laurent" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 24, 2001 10:01 AM
Subject: Computing the PEM write size
> Hi all,
>
> I wanting to use the PEM_write_bio_PrivateKey function into a memory
> bio...
> I have to create a new BIO with sufficient memory space, but how can
> I know the size of the PEM data before calling the writing function ?
>
> Thanks in advance.
>
> Laurent
>
> PS : i wanted to do that for communication between JAVA and libcrypto.
>
> ______________________________________________________________________
> OpenSSL Project http://www.openssl.org
> User Support 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]