# Openssl PKCS7 and signed-enveloped data

**URL:** <https://www.ruby-forum.com/t/openssl-pkcs7-and-signed-enveloped-data/66910>\
**Category:** Ruby\
**Created:** [August 30, 2006, 8:04am UTC](https://www.ruby-forum.com/t/openssl-pkcs7-and-signed-enveloped-data/66910 "2006-08-30T08:04:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![snacktime](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/7feea3/32.png) [@snacktime](https://www.ruby-forum.com/u/snacktime)\
**Post date:** [August 30, 2006, 8:04am UTC](https://www.ruby-forum.com/t/openssl-pkcs7-and-signed-enveloped-data/66910/1 "2006-08-30T08:04:10Z")

</div>

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
