On 2014-07-10 20:43, Dr. Stephen Henson wrote:
> > Is it possible to make PKCS7_sign() behave in the latter way,
i.e.
> > not create the container with zero-byte content?
>
> Are you using the PKCS7_DETACHED flag?
No. I do not want a detached signature.
Well then that's a problem. If you set
Hi!
Have you already solved this problem?
I have the same problem
--
View this message in context:
http://openssl.6102.n7.nabble.com/About-RC4-decryption-tp18745p51980.html
Sent from the OpenSSL - User mailing list archive at Nabble.com.
> From: owner-openssl-us...@openssl.org On Behalf Of Jeffrey Walton
> Sent: Tuesday, July 08, 2014 20:33
> On Tue, Jul 8, 2014 at 7:00 PM, Dave Thompson
> wrote:
> >> From: owner-openssl-us...@openssl.org On Behalf Of Jeffrey Walton
> >> Sent: Tuesday, July 08, 2014 16:20
> > ...
> >> Not sure if
On Thu, Jul 10, 2014, Konstantin Shemyak wrote:
> On Thu, 10 Jul 2014 18:32:11 +0200, "Dr. Stephen Henson"
> wrote:
>
> > On Thu, Jul 10, 2014, Konstantin Shemyak wrote:
> [...]
> > > Is it possible to make PKCS7_sign() behave in the latter way, i.e.
> > > not create the container with zero-byt
On Thu, 10 Jul 2014 18:32:11 +0200, "Dr. Stephen Henson"
wrote:
> On Thu, Jul 10, 2014, Konstantin Shemyak wrote:
[...]
> > Is it possible to make PKCS7_sign() behave in the latter way, i.e.
> > not create the container with zero-byte content?
>
> Are you using the PKCS7_DETACHED flag?
No. I d
On Thu, Jul 10, 2014, Konstantin Shemyak wrote:
> I'm signing data with PKCS7_sign(), and the result has a 0-byte
> element for eContent under encapContentInfo. This is a snap from
> 'openssl cms -cmsout -print' of the resulting signature:
>
> ...
> encapContentInfo:
> eContentType: pkc
I'm signing data with PKCS7_sign(), and the result has a 0-byte element
for eContent under encapContentInfo. This is a snap from 'openssl cms
-cmsout -print' of the resulting signature:
...
encapContentInfo:
eContentType: pkcs7-data (1.2.840.113549.1.7.1)
eContent:
...
Or, from