Re: How to plug an external encryption to CMS_SignerInfo signing?

2020-10-24 Thread Francesco Pretto
On Sat, 24 Oct 2020 at 12:12, Dmitry Belyavsky wrote: > > Dear Francesco, > > On Sat, Oct 24, 2020 at 1:06 PM Francesco Pretto wrote: >> >> Hello, >> >> I'm trying to create a CMS context for subsequent export using >> CMS_sign(). I add a signer usin

How to plug an external encryption to CMS_SignerInfo signing?

2020-10-24 Thread Francesco Pretto
Hello, I'm trying to create a CMS context for subsequent export using CMS_sign(). I add a signer using CMS_add1_signer() that allows me to specify a X509 certificate and a hash function. I would like the CMS context to perform hash computation and ANS1 structure filling, but I want to delegate enc