Re: [1.0.1] Nested CMS structures

2014-05-06 Thread Dr. Stephen Henson
On Sat, May 03, 2014, Kevin Le Gouguec wrote: > Thank you for your input! > > > > No; I???d be concerned if it didn???t show up that way ??? that???s how CMS > > is defined > > to work. > > Just took another look at RFC 5652 and indeed, EncapsulatedContentInfo is a > SEQUENCE of { ContentType

Re: [1.0.1] Nested CMS structures

2014-05-05 Thread Tom Francis
On May 3, 2014, at 2:41 PM, Kevin Le Gouguec wrote: > Using asn1parse, I got this: > >0:d=0 hl=4 l=3980 cons: SEQUENCE >4:d=1 hl=2 l= 9 prim: OBJECT:pkcs7-envelopedData > 15:d=1 hl=4 l=3965 cons: cont [ 0 ] > 19:d=2 hl=4 l=3961 cons: SEQUENCE

Re: [1.0.1] Nested CMS structures

2014-05-03 Thread Kevin Le Gouguec
;Tom Francis" To: openssl-users@openssl.org Sent: Friday, May 2, 2014 2:11:25 PM Subject: Re: [1.0.1] Nested CMS structures On May 2, 2014, at 3:19 AM, Kevin Le Gouguec wrote: > (tl;dr : see questions at the end) > > I'm trying to build nested CMS structures, as in, having a

Re: [1.0.1] Nested CMS structures

2014-05-03 Thread Tom Francis
On May 2, 2014, at 3:19 AM, Kevin Le Gouguec wrote: > (tl;dr : see questions at the end) > > I'm trying to build nested CMS structures, as in, having a file F, a signer S > and a recipient R, I want to build a CMS-compliant message M which looks like: > > M = SignedData(ECI, SignerInfo(S)) >