authEnvelopedData

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

authEnvelopedData

Tobias.Wolf

Hi everyone,

 

I need to create a “authEnvelopedData“ (https://tools.ietf.org/html/rfc5083#2.1) ASN1 structure but I know how to archive this. I tried with “PKCS7_encrypt” but here I got only “envelopedData”.

I`ll try next with CMS_encrypt and to modify CMS_ContentInfo to add the authEnvelopedData parameter. Would this way work?

 

 

Reply | Threaded
Open this post in threaded view
|

Re: authEnvelopedData

Jakub Zelenka

 I need to create a “authEnvelopedData“ (https://tools.ietf.org/html/rfc5083#2.1) ASN1 structure but I know how to archive this. I tried with “PKCS7_encrypt” but here I got only “envelopedData”.


This is not currently supported. I created a PR some time ago that adds support for it: https://github.com/openssl/openssl/pull/8024

It still waits for review from the OpenSSL devs...
 

I`ll try next with CMS_encrypt and to modify CMS_ContentInfo to add the authEnvelopedData parameter. Would this way work?


I guess you might end up with the similar result like my PR.

Cheers

Jakub