ietf-smime
[Top] [All Lists]

Re: Another CMS-03 Comment

1998-02-23 11:03:00
From: jsp(_at_)jgvandyke(_dot_)com (John Pawling)

   ... proposed by Russ as follows:

UnauthAttributes ::= SET OF UnauthAttribute

UnauthAttribute ::= SEQUENCE { 
   unAuthAttrType    OBJECT IDENTIFIER, 
   unAuthAttrValues  SET OF AttributeValue }

AttributeValue ::= ANY 


Just as a matter of style, why pick different names for the internal
elements of each structure.  It seem cleaner to me to reuse the
internal identifiers within each structure.

In other words, what is the rationale for making up a new identifier
"unAuthAttrType" instead of using the existing identifier "type".


I propose:

      AuthAttributes ::= SET SIZE(1..MAX) OF AuthAttribute

      AuthAttribute ::= SEQUENCE { 
          type       OBJECT IDENTIFIER, 
          critical   BOOLEAN DEFAULT FALSE, 
          values     SET OF AttributeValue }

      UnauthAttributes ::= SET SIZE(1..MAX) OF UnauthAttribute

      UnauthAttribute ::= SEQUENCE {
          type       OBJECT IDENTIFIER,
          values     SET OF AttributeValue }

      AttributeValue ::= ANY 

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