Within the body of CMS 10 ContentInfo is defined as : -
ContentInfo ::= SEQUENCE {
contentType ContentType,
content [0] EXPLICIT ANY DEFINED BY contentType }
However, in the appendix ContentInfo is defined as : -
ContentInfo ::= SEQUENCE {
contentType ContentType,
content [0] EXPLICIT ANY DEFINED BY contentType OPTIONAL }
I assume the one within the body (i.e. content not optional) is correct.
I assume that content is not optional
The content is optional. Think about how detached sigs work.
Peter.