<div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="DE"><div class="gmail-m_-7714911474338804002WordSection1"><p class="MsoNormal"> I need to create a “authEnvelopedData“ (<a href="https://tools.ietf.org/html/rfc5083" target="_blank"><span style="color:windowtext;text-decoration-line:none">https://tools.ietf.org/html/rfc5083</span></a>#2.1) ASN1 structure but I know how to archive this.
 I tried with “PKCS7_encrypt” but here I got only “envelopedData”.</p></div></div></blockquote><div><br></div><div>This is not currently supported. I created a PR some time ago that adds support for it: <a href="https://github.com/openssl/openssl/pull/8024">https://github.com/openssl/openssl/pull/8024</a></div><div><br></div><div>It still waits for review from the OpenSSL devs...</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="DE"><div class="gmail-m_-7714911474338804002WordSection1"><p class="MsoNormal"><u></u></p>
<p class="MsoNormal"><span lang="EN-US">I`ll try next with CMS_encrypt and to modify CMS_ContentInfo to add the authEnvelopedData parameter. Would this way work?</span></p></div></div></blockquote><div><br></div><div>I guess you might end up with the similar result like my PR.</div><div><br></div><div>Cheers</div><div><br></div><div>Jakub</div><div><br></div><div> </div></div></div>