ietf-smime
[Top] [All Lists]

Re: Correct definition of ContentInfo in CMS-10

1999-02-22 07:42:31
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.