Openssl PKCS7 and signed-enveloped data

I'm looking at the tests for openssl and inspecting the PKCS7 classes
with .methods, and I can't find a way to create signed-enveloped data
with openssl. I can create signed data and enveloped data, but not
the signed-enveloped data that includes the signatures and encrypted
data all in one PKCS7 envelope. If anyone knows how to do this or can
tell me if it's just not supported please let me know.

Chris