Why does PKCS7_decrypt() require the recipient's X509 cert? Doesn't the recipient's cert already exist inside the PKCS7 structure? And if there is more than one recipient info, can't PKCS7_decrypt() just try the private key against each one?
My last question is, what is the difference between PKCS7_decrypt() and PKCS7_dataDecode()? I couldn't find any documentation on the latter. Phillip