[Date Prev][Date Next] [Chronological] [Thread] [Top]

ABNF of numericoid



I've discovered that I've lost this old thread again.

I had the impression that we landed on using the exact syntax for
numericoid, but maybe I confused the issue too much:-(
Anyway, [bcp64] and [models] say:

    numericoid = number 1*( DOT number )

I wonder if we could change that to Kurt's suggestion (3) in the old
thread, so the syntax expresses exactly which values are valid:

    numericoid = %x30-31 DOT [ %x31-33 ] DIGIT *( DOT number )
               / %x32 1*( DOT number )
               ; Starts with 0-1.0-39 or 2.number


BTW, I think I was not the only one who had the misconception that the
BER encoding's first component (40 * value1 + value2) can be only 1
octet, and therefore that value2 in the syntax was not unlimited even
with value1 = 2.  Where did others get that idea from?  I got it from
RSA's "A Layman's Guide to a Subset of ASN.1, BER, and DER".  On the
Asn1 mailinglist, I was told guide has a number of errors.

-- 
Hallvard