Re: Correct definition of ContentInfo in CMS-10

Russ Housley <housley@spyrus.com> Thu, 04 March 1999 20:49 UTC

Received: from mail.proper.com (mail.proper.com [206.86.127.224]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA12411 for <smime-archive@odin.ietf.org>; Thu, 4 Mar 1999 15:49:26 -0500 (EST)
Received: (from majordomo@localhost) by mail.proper.com (8.8.8/8.8.5) id LAA17270 for ietf-smime-bks; Thu, 4 Mar 1999 11:48:49 -0800 (PST)
Received: from thehub.knight-hub.com (root@thehub.knight-hub.com [205.177.16.3]) by mail.proper.com (8.8.8/8.8.5) with ESMTP id LAA17266 for <ietf-smime@imc.org>; Thu, 4 Mar 1999 11:48:48 -0800 (PST)
Received: from rhousley_laptop.spyrus.com ([205.177.169.194]) by thehub.knight-hub.com (8.8.8/8.8.8) with SMTP id OAA21876; Thu, 4 Mar 1999 14:54:14 -0500
Message-Id: <4.1.19990304125831.00924540@209.172.119.123>
Message-Id: <4.1.19990304125831.00924540@209.172.119.123>
X-Sender: rhousley#207.212.34.30@209.172.119.123 (Unverified)
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1
Date: Thu, 04 Mar 1999 13:07:45 -0500
To: "Bonatti, Chris" <bonattic@ieca.com>
From: Russ Housley <housley@spyrus.com>
Subject: Re: Correct definition of ContentInfo in CMS-10
Cc: William Ottaway <w.ottaway@eris.dera.gov.uk>, "'ietf-smime@imc.org'" <ietf-smime@imc.org>
In-Reply-To: <36D16CC0.5B442494@ieca.com>
References: <01BE5E63.4E934480.w.ottaway@eris.dera.gov.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-smime@imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>

Agree.  The OID in ContentInfo should not be OPTIONAL.


At 09:42 AM 2/22/99 -0500, Bonatti, Chris wrote:
>    I would submit that the 'content' field in the General Syntax section is
>correct.  The instance of OPTIONAL in the appendix must be a copy artifact
>from the 'EncapsulatedContentInfo', in which the 'content' field is
>correctly optional.  I can see no legitimate use of CMS in which you would
>send only a 'contentType' OID.  Even if someone were sending a "detached
>content" in a separate body part, either MIME or X.400 mail systems are
>perfectly capable of attaching a content types for that information without
>utilizing this structure.
>
>Russ,
>
>    Browsing through my historical archive of now "non-existent" I-Ds, I see
>that the OPTIONAL tag seems to have fallen out of the General Syntax
>starting in version 3 of CMS.  Do you remember the reasoning behind the
>change?
>
>Chris
>
>
>
> ---------------------------------------------------------------
> |  International Electronic Communication Analysts, Inc.      |
> |  Christopher D. Bonatti             15309 Turkey Foot Road  |
> |  Principal Engineer              Darnestown, Md 20878-3640  |
> |  bonattic@ieca.com   Tel: 301-208-2349   Fax: 301-208-2379  |
> ---------------------------------------------------------------
>
>
>
>____________________
>
>William Ottaway 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.
>>
>> Bill.
>>
>> "The Information contained in this E-Mail and any subsequent
>> correspondence is private and is intended solely for the intended
>> recipient(s).  For those other than the intended recipient any
>> disclosure, copying, distribution, or any action taken or omitted to
>> be taken in reliance on such information is prohibited and may be
>> unlawful."
>> ____________________________________________________
>> William Ottaway BSc Hons CEng MBCS,
>> L323,                        Tel: +44 (0) 1684 894079
>> DERA Malvern,                Fax: +44 (0) 1684 896113
>> St. Andrews Road,            email: w.ottaway@eris.dera.gov.uk
>> Malvern,
>> Worcs,
>> WR14 3PS
>>
>> All opinions are my own.
>
>
>