[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: ABNF of numericoid
So, how do you parse it? Eg, 44 44 44 (hex)?
-----Original Message-----
From: owner-ietf-ldapbis@OpenLDAP.org
[mailto:owner-ietf-ldapbis@OpenLDAP.org]On Behalf Of Hallvard B Furuseth
Sent: Sunday, 7 November 2004 03:25
To: ietf-ldapbis@OpenLDAP.org
Subject: 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