[Date Prev][Date Next]
Re: ABNF of numericoid
At 02:26 PM 12/7/2003, Hallvard B Furuseth wrote:
>This thread seems to have been forgotten:
>[models] and [bcp64] define numericoid as
> numericoid = number *( DOT number )
>It should be ( "0" / "1" / "2" ) 1*( DOT number )
>with further restrictions on the second component.
numericoid = number 1*( DOT number )
numericoid = %x30-31 DOT [ %x31-33 ] DIGIT *( DOT number )
/ %x32 1*( DOT number )
Of these, I dislike (1) because it accounts for some, but not
all, of the X.690 restrictions. (2) seems reasonable as it
is consistent with objectIdentifier specification provided in
X.680. (3) incorporates all of the X.660 semantics/X.690
Any concerns in going with (3)?
>In message http://www.OpenLDAP.org/lists/ietf-ldapbis/200307/msg00063.html,
>Steven Legg writes:
>> X.680 defers to X.660 for the definition of OBJECT IDENTIFIER,
>> but notes that an OBJECT IDENTIFIER must have at least two components.
>> I don't have a copy of X.660 to check what other requirements
>> there are, however it is worth noting that the BER encoding of
>> OBJECT IDENTIFIER only supports values where the first component
>> is 0, 1 or 2. If the first component is 0 or 1 then the second
>> component must be in the range 0 to 39. If the first component
>> is 2 then the second component is unlimited.