ietf-smime
[Top] [All Lists]

Re: Correct definition of ContentInfo in CMS-10

1999-03-09 21:02:30
Peter:

Thanks for pointing out the error in the Appendix.  You are correct,
content is NOT OPTIONAL.

Russ


At 03:46 AM 2/23/99 +0000, Peter Gutmann wrote:
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.


<Prev in Thread] Current Thread [Next in Thread>