Re: nesting CMS ContentInfo

2011-05-21 Thread Paul Koster
On Sun, May 15, 2011 at 1:08 AM, Dr. Stephen Henson wrote: > OpenSSL has no idea what the type of the encapsulated content is: it > could be > raw binary or raw binary that looks like a CMS ContentINfo but isn't. So > you > have to tell it the type of the encapsulated content explicitly using the

Re: nesting CMS ContentInfo

2011-05-14 Thread Dr. Stephen Henson
On Sat, May 14, 2011, Paul Koster wrote: > I'm looking using OpenSSL to realize "The CMS [...] allows multiple > encapsulations; one encapsulation envelope can be nested inside another." > from RFC5652. In particular it's the objective to have an 'enveloped-data' > encapsulating (encrypted) 'diges

nesting CMS ContentInfo

2011-05-14 Thread Paul Koster
I'm looking using OpenSSL to realize "The CMS [...] allows multiple encapsulations; one encapsulation envelope can be nested inside another." from RFC5652. In particular it's the objective to have an 'enveloped-data' encapsulating (encrypted) 'digested-data' (encapsulating 'data'). Am I right that