Corrections made to the ASN.1 modules of RFC 2630 (06/1999)

 

1. Replacement of:  

ContentInfo ::= SEQUENCE {
  contentType ContentType,
  content [0] EXPLICIT ANY DEFINED BY contentType }

With

ContentInfo ::= SEQUENCE {
    content-type  CMS-CONTENT-TYPE.&id ({CMSContentTable}),
    pkcs7-content [0] CMS-CONTENT-TYPE.&Type ({CMSContentTable})
}
CMS-CONTENT-TYPE ::= TYPE-IDENTIFIER
CMSContentTable CMS-CONTENT-TYPE ::= { ... }

2. Replacement of:

AttributeValue ::= ANY

With

OPEN ::= CLASS{&Type} WITH SYNTAX { TYPE   &Type } 
AttributeValue ::= OPEN.&Type

3. Replacement of:

OtherKeyAttribute ::= SEQUENCE {
  	keyAttrId OBJECT IDENTIFIER,
  	keyAttr ANY DEFINED BY keyAttrId OPTIONAL }

With

OtherKeyAttribute ::= SEQUENCE {
	keyAttributeIdentifier OTHER-KEY-ATTRIBUTE.&id ({OtherKeyAttributeTable}),
	keyAttribute OTHER-KEY-ATTRIBUTE.&Type ({OtherKeyAttributeTable}
                                        {@keyAttributeIdentifier}) OPTIONAL }
OTHER-KEY-ATTRIBUTE ::= TYPE-IDENTIFIER
OtherKeyAttributeTable OTHER-KEY-ATTRIBUTE ::= { ... }