But, If I use first the PKCS7_sign() function and after that I use
PKCS7_encrypt(), then how do I obtain after the original data?. That is, I
use PKCS7_decrypt() to obtain the signed message in a bio (out), and after
that I'm doing the next:
PKCS7 *signed_content=PKCS7_new();
d2i_PKCS7_bio(out,&signed_content);
Well, the content of signed_content not seems to be the correct, because
If I verify it using PKCS7_verify() then I obtain the next message:
"error:0D06B08E:asn1 encoding routines:ASN1_d2i_bio:not enough data".
Another question, how must I obtain the original data from that PKCS7
signed_content?. Thanks
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]