On Wed, Jun 23, 2010, Federico Berton wrote:

> Hi guys, I am trying to save a pkcs#7 structure with sign-and-enveloped data
> to a file but I can't find the appropriate function. I know that i should
> use somewhat kind of BIO. Can somebody help me?
> 

i2d_PKCS7_bio() will work but you don't have to use a BIO. You can use
i2d_PKCS7_fp() too. Make sure the fp is in binary mode.

Stev.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to