[email protected] asn.1 approach presentation on oids.pdf · part of the work of itu -t...
TRANSCRIPT
![Page 1: j.larmouth@salford.ac.uk ASN.1 approach presentation on OIDs.pdf · Part of the work of ITU -T SG17. n. First an introduction by Leonardo himself, then a review of the Recommendation](https://reader036.vdocument.in/reader036/viewer/2022063008/5fbcc3a6d9aeee3f46076d29/html5/thumbnails/1.jpg)
Study Group 1 7 ASN 1
Identifying objects – the
ASN.1 approach
John LarmouthISO and ITU-T ASN.1
Note, for best viewing, this presentation needs the Dom Casual and Brush Script fonts.
Study Group 1 7
ASN. 1
![Page 2: j.larmouth@salford.ac.uk ASN.1 approach presentation on OIDs.pdf · Part of the work of ITU -T SG17. n. First an introduction by Leonardo himself, then a review of the Recommendation](https://reader036.vdocument.in/reader036/viewer/2022063008/5fbcc3a6d9aeee3f46076d29/html5/thumbnails/2.jpg)
Study Group 1 7 ASN 1
Speakers preamble notes
n (SE)X-rated. Leave now, or shut me up.n Olivier Dubuisson or Phil Griffin might be better presenters.n But I was part of the Blood Spilling in 1985: Verbose
characters or computer-friendly numerics; new RA or re-use existing ones.
n Everyone likes their own identification scheme (particularly in the MoU!). I am NOT selling ASN.1 OIDs as the universal solution for everything, but they ARE used and useful.
n Dry, boring, not sexy and very simple, with not much to say!
![Page 3: j.larmouth@salford.ac.uk ASN.1 approach presentation on OIDs.pdf · Part of the work of ITU -T SG17. n. First an introduction by Leonardo himself, then a review of the Recommendation](https://reader036.vdocument.in/reader036/viewer/2022063008/5fbcc3a6d9aeee3f46076d29/html5/thumbnails/3.jpg)
Study Group 1 7 ASN 1
Why the rainbow?n An infinity of coloursn A secondary rainbow (did you see it?)n Others to an infinity of internal
reflectionsn Not really relevant, but it is a nice
picture!n But an infinity of arcs and an infinity
of depth is what OIDs are about
![Page 4: j.larmouth@salford.ac.uk ASN.1 approach presentation on OIDs.pdf · Part of the work of ITU -T SG17. n. First an introduction by Leonardo himself, then a review of the Recommendation](https://reader036.vdocument.in/reader036/viewer/2022063008/5fbcc3a6d9aeee3f46076d29/html5/thumbnails/4.jpg)
Study Group 1 7 ASN 1
The ASN.1 approach to identification
n One of many, many approachesn Is basically very simplen Has proved useful in many environmentsn Can be used without using ASN.1n Unfortunately, it is hard to
present it in a sexy way!
But I will try!
![Page 5: j.larmouth@salford.ac.uk ASN.1 approach presentation on OIDs.pdf · Part of the work of ITU -T SG17. n. First an introduction by Leonardo himself, then a review of the Recommendation](https://reader036.vdocument.in/reader036/viewer/2022063008/5fbcc3a6d9aeee3f46076d29/html5/thumbnails/5.jpg)
Study Group 1 7 ASN 1
There are many approaches to object identification
n Bar codes are well knownn IP addresses are a binary formn URLs are well-knownn URNs are less well-knownn NSAP addresses are unused todayn UUIDs are important too
![Page 6: j.larmouth@salford.ac.uk ASN.1 approach presentation on OIDs.pdf · Part of the work of ITU -T SG17. n. First an introduction by Leonardo himself, then a review of the Recommendation](https://reader036.vdocument.in/reader036/viewer/2022063008/5fbcc3a6d9aeee3f46076d29/html5/thumbnails/6.jpg)
Study Group 1 7 ASN 1
What are the differences?n Some are character-based, some are binaryn Some need central allocation, others have
various levels of hierarchyn Some are fixed length, others are variable
lengthn To some extent it is horses for coursesn They all are sisters!
![Page 7: j.larmouth@salford.ac.uk ASN.1 approach presentation on OIDs.pdf · Part of the work of ITU -T SG17. n. First an introduction by Leonardo himself, then a review of the Recommendation](https://reader036.vdocument.in/reader036/viewer/2022063008/5fbcc3a6d9aeee3f46076d29/html5/thumbnails/7.jpg)
Study Group 1 7 ASN 1
Are OIDs new to the MoU MG?
n No!n Presented to the Geneva Business
Objects Summit in November 2000 by William Lyons
n Banking.ppt
![Page 8: j.larmouth@salford.ac.uk ASN.1 approach presentation on OIDs.pdf · Part of the work of ITU -T SG17. n. First an introduction by Leonardo himself, then a review of the Recommendation](https://reader036.vdocument.in/reader036/viewer/2022063008/5fbcc3a6d9aeee3f46076d29/html5/thumbnails/8.jpg)
Study Group 1 7 ASN 1
So .. What is the mechanism?n A hierarchical structure of registration
authoritiesn An object identifier treen Arcs are numbered (zero to infinity)n Infinitely many arcs from each noden An RA allocates arcs beneath its node to
subordinate RAs, and so on, to an infinite depth
n Objects are identified by the path from the root to a leaf (or intermediate node)
![Page 9: j.larmouth@salford.ac.uk ASN.1 approach presentation on OIDs.pdf · Part of the work of ITU -T SG17. n. First an introduction by Leonardo himself, then a review of the Recommendation](https://reader036.vdocument.in/reader036/viewer/2022063008/5fbcc3a6d9aeee3f46076d29/html5/thumbnails/9.jpg)
Study Group 1 7 ASN 1
itu-t (0) iso (1)joint-iso-itu-t (2)
set (42)
set-vendors
(9)
oss (12)
standard (0)
8571
abstract-syntax (2)
identified-organisation (3) (Ofen called ICD)
dod (6)
internet (1)
Root
A small part of the OID tree – Get Hung!
recommendation(0)
ISO:National Bodies:BSI:Companies House number
![Page 10: j.larmouth@salford.ac.uk ASN.1 approach presentation on OIDs.pdf · Part of the work of ITU -T SG17. n. First an introduction by Leonardo himself, then a review of the Recommendation](https://reader036.vdocument.in/reader036/viewer/2022063008/5fbcc3a6d9aeee3f46076d29/html5/thumbnails/10.jpg)
Study Group 1 7 ASN 1
Notations and encodings of OIDsn Very compact binary encoding (normally used in all
computer comms except XML), see next sliden Simplest character encoding (used for XML and
other Internet protocols) is (for example)1.0.8571.2.29
n More readable (for human consumption) is{iso standard 8571 abstract-syntax (2) pci (29) }
n Or{itu-t recommendation x 1081 pictures (0) leonardo(3)}
Picture follows!
![Page 11: j.larmouth@salford.ac.uk ASN.1 approach presentation on OIDs.pdf · Part of the work of ITU -T SG17. n. First an introduction by Leonardo himself, then a review of the Recommendation](https://reader036.vdocument.in/reader036/viewer/2022063008/5fbcc3a6d9aeee3f46076d29/html5/thumbnails/11.jpg)
Study Group 1 7 ASN 1
The binary encoding
n Roughly one octet per componentn Uses bit 8 as a more bitn Top two components handled speciallyn {0 0} to {0 39} encodes into one octet onlyn {1 0} to {1 39} encodes into one octet onlyn {2 0} to {2 47} encodes into one octet onlyn {2 48} on will use two or more octets
And now the picture!
![Page 12: j.larmouth@salford.ac.uk ASN.1 approach presentation on OIDs.pdf · Part of the work of ITU -T SG17. n. First an introduction by Leonardo himself, then a review of the Recommendation](https://reader036.vdocument.in/reader036/viewer/2022063008/5fbcc3a6d9aeee3f46076d29/html5/thumbnails/12.jpg)
Study Group 1 7 ASN 1
The Editor's version
![Page 13: j.larmouth@salford.ac.uk ASN.1 approach presentation on OIDs.pdf · Part of the work of ITU -T SG17. n. First an introduction by Leonardo himself, then a review of the Recommendation](https://reader036.vdocument.in/reader036/viewer/2022063008/5fbcc3a6d9aeee3f46076d29/html5/thumbnails/13.jpg)
Study Group 1 7 ASN 1
The official version!
![Page 14: j.larmouth@salford.ac.uk ASN.1 approach presentation on OIDs.pdf · Part of the work of ITU -T SG17. n. First an introduction by Leonardo himself, then a review of the Recommendation](https://reader036.vdocument.in/reader036/viewer/2022063008/5fbcc3a6d9aeee3f46076d29/html5/thumbnails/14.jpg)
Study Group 1 7 ASN 1
But let's see the (two) videos!
n Not much to do with ASN.1 Object Identifiers, but I think interesting!
n Part of the work of ITU-T SG17n First an introduction by Leonardo
himself, then a review of the Recommendation
n (Click on the black display to start the video, and when finished click outside the video area to move to the next slide)
![Page 15: j.larmouth@salford.ac.uk ASN.1 approach presentation on OIDs.pdf · Part of the work of ITU -T SG17. n. First an introduction by Leonardo himself, then a review of the Recommendation](https://reader036.vdocument.in/reader036/viewer/2022063008/5fbcc3a6d9aeee3f46076d29/html5/thumbnails/15.jpg)
Study Group 1 7 ASN 1
But one more picture first
![Page 16: j.larmouth@salford.ac.uk ASN.1 approach presentation on OIDs.pdf · Part of the work of ITU -T SG17. n. First an introduction by Leonardo himself, then a review of the Recommendation](https://reader036.vdocument.in/reader036/viewer/2022063008/5fbcc3a6d9aeee3f46076d29/html5/thumbnails/16.jpg)
Study Group 1 7 ASN 1
![Page 17: j.larmouth@salford.ac.uk ASN.1 approach presentation on OIDs.pdf · Part of the work of ITU -T SG17. n. First an introduction by Leonardo himself, then a review of the Recommendation](https://reader036.vdocument.in/reader036/viewer/2022063008/5fbcc3a6d9aeee3f46076d29/html5/thumbnails/17.jpg)
Study Group 1 7 ASN 1
![Page 18: j.larmouth@salford.ac.uk ASN.1 approach presentation on OIDs.pdf · Part of the work of ITU -T SG17. n. First an introduction by Leonardo himself, then a review of the Recommendation](https://reader036.vdocument.in/reader036/viewer/2022063008/5fbcc3a6d9aeee3f46076d29/html5/thumbnails/18.jpg)
Study Group 1 7 ASN 1
Back to OIDs again!n Here is an OASIS of tranquillity:
{oasis (2) tech-committees (45)xcbf(20) standard (0) version (2002)}
or 2.45.20.0.2002or <xxx xmlns="urn:oid:2.45.20.0.2002">…<\xxx>
![Page 19: j.larmouth@salford.ac.uk ASN.1 approach presentation on OIDs.pdf · Part of the work of ITU -T SG17. n. First an introduction by Leonardo himself, then a review of the Recommendation](https://reader036.vdocument.in/reader036/viewer/2022063008/5fbcc3a6d9aeee3f46076d29/html5/thumbnails/19.jpg)
Study Group 1 7 ASN 1
Try another!n Facilitation of trade:
{un-cefact(2) edi(50) invoice(0) version-2004(2) }or 2.50.0.2or <xxx xmlns="urn:oid:2.50.0.2">…<\xxx>
![Page 20: j.larmouth@salford.ac.uk ASN.1 approach presentation on OIDs.pdf · Part of the work of ITU -T SG17. n. First an introduction by Leonardo himself, then a review of the Recommendation](https://reader036.vdocument.in/reader036/viewer/2022063008/5fbcc3a6d9aeee3f46076d29/html5/thumbnails/20.jpg)
Study Group 1 7 ASN 1
A real onen Face recognition:
{iso standard 19794 part(5) version(1) }or 1.0.19794.5.1or <xxx xmlns="urn:oid:1.0.19794.5.1">…<\xxx>
![Page 21: j.larmouth@salford.ac.uk ASN.1 approach presentation on OIDs.pdf · Part of the work of ITU -T SG17. n. First an introduction by Leonardo himself, then a review of the Recommendation](https://reader036.vdocument.in/reader036/viewer/2022063008/5fbcc3a6d9aeee3f46076d29/html5/thumbnails/21.jpg)
Study Group 1 7 ASN 1
ITU-T TSAG Recommendation
n Was requested to devise a uniform approach for XML namespace specification across all ITU-T Recommendations
n Asked SG17 for advicen Was advised to recommend the use of the
form: <xxx xmlns="urn:oid:0.0.6. ….">…<\xxx>
![Page 22: j.larmouth@salford.ac.uk ASN.1 approach presentation on OIDs.pdf · Part of the work of ITU -T SG17. n. First an introduction by Leonardo himself, then a review of the Recommendation](https://reader036.vdocument.in/reader036/viewer/2022063008/5fbcc3a6d9aeee3f46076d29/html5/thumbnails/22.jpg)
Study Group 1 7 ASN 1
What about UUIDs?n Universally unique identifiersn Verbose – 128 bits (but only = 16 chars)n ISO/IEC 9834-8 | ITU-T Rec X.667n Can self-generate OIDs at the rate of
about 10 million per secondn Unambiguous over the next 2000 yearsn Can optionally register themn OID is 2.25.xxx…..
![Page 23: j.larmouth@salford.ac.uk ASN.1 approach presentation on OIDs.pdf · Part of the work of ITU -T SG17. n. First an introduction by Leonardo himself, then a review of the Recommendation](https://reader036.vdocument.in/reader036/viewer/2022063008/5fbcc3a6d9aeee3f46076d29/html5/thumbnails/23.jpg)
Study Group 1 7 ASN 1
Time for another picture! OIDs provide levels in levels
![Page 24: j.larmouth@salford.ac.uk ASN.1 approach presentation on OIDs.pdf · Part of the work of ITU -T SG17. n. First an introduction by Leonardo himself, then a review of the Recommendation](https://reader036.vdocument.in/reader036/viewer/2022063008/5fbcc3a6d9aeee3f46076d29/html5/thumbnails/24.jpg)
Study Group 1 7 ASN 1
All very good, but are they used?
n Not really very much? Depends on comparators!
n Only 59,000 known to be allocated! Certainly many more in reality.
n Telephone numbers will do better!n But in their field, OIDs have had a pretty
good take-upn See http://oid.elibel.tm.fr
![Page 25: j.larmouth@salford.ac.uk ASN.1 approach presentation on OIDs.pdf · Part of the work of ITU -T SG17. n. First an introduction by Leonardo himself, then a review of the Recommendation](https://reader036.vdocument.in/reader036/viewer/2022063008/5fbcc3a6d9aeee3f46076d29/html5/thumbnails/25.jpg)
Study Group 1 7 ASN 1
Security algorithm uses of OIDs
n This is one area where OIDs are universally used.n Use a Digital Certificate, and you use an OID.
– Secure Hash Algorithm 2 (SHA2){ joint-iso-itu-t(2) country(16) us(840)organization(1) gov(101)csor(3) nistAlgorithm(4) hashAlgs(2)
– RSA Encryption { iso(1) member-body(2) us(840)rsadsi(113549) pkcs(1) 1 1 }
![Page 26: j.larmouth@salford.ac.uk ASN.1 approach presentation on OIDs.pdf · Part of the work of ITU -T SG17. n. First an introduction by Leonardo himself, then a review of the Recommendation](https://reader036.vdocument.in/reader036/viewer/2022063008/5fbcc3a6d9aeee3f46076d29/html5/thumbnails/26.jpg)
Study Group 1 7 ASN 1
Other areasn Many ITU-T Recommendationsn Biometrics and other ISO Standardsn Many US ANSI X.9 specificationsn US Banking specificationsn UPU and international carrier parcel
trackingn 3GPP Mobile phonesn Not as widespread as bar-codes, but heavily
used in computer communications protocols
![Page 27: j.larmouth@salford.ac.uk ASN.1 approach presentation on OIDs.pdf · Part of the work of ITU -T SG17. n. First an introduction by Leonardo himself, then a review of the Recommendation](https://reader036.vdocument.in/reader036/viewer/2022063008/5fbcc3a6d9aeee3f46076d29/html5/thumbnails/27.jpg)
Study Group 1 7 ASN 1
Websupport
n Go to http://oid.elibel.tm.frn Number of OIDsn Details about an OIDn Provide details about a (new)
allocation of an OIDn Much additional information
![Page 28: j.larmouth@salford.ac.uk ASN.1 approach presentation on OIDs.pdf · Part of the work of ITU -T SG17. n. First an introduction by Leonardo himself, then a review of the Recommendation](https://reader036.vdocument.in/reader036/viewer/2022063008/5fbcc3a6d9aeee3f46076d29/html5/thumbnails/28.jpg)
Study Group 1 7 ASN 1
The Elibel OID page
![Page 29: j.larmouth@salford.ac.uk ASN.1 approach presentation on OIDs.pdf · Part of the work of ITU -T SG17. n. First an introduction by Leonardo himself, then a review of the Recommendation](https://reader036.vdocument.in/reader036/viewer/2022063008/5fbcc3a6d9aeee3f46076d29/html5/thumbnails/29.jpg)
Study Group 1 7 ASN 1
Near Futures
n Web services (SOAP and all that) support to register or obtain UUID-based OIDs
n Fast Web services supportn Courtesy of the ITU-T TSB, France
Telecom, Sun Microsystems, and OSS Nokalva
![Page 30: j.larmouth@salford.ac.uk ASN.1 approach presentation on OIDs.pdf · Part of the work of ITU -T SG17. n. First an introduction by Leonardo himself, then a review of the Recommendation](https://reader036.vdocument.in/reader036/viewer/2022063008/5fbcc3a6d9aeee3f46076d29/html5/thumbnails/30.jpg)
Study Group 1 7 ASN 1
Requests for top-level allocations
n Formally, contact the ITU-T TSB or ISO/IEC SC6 Secretariat, for the attention of the ASN.1 Rapporteur, in both cases.
n Informally, contact [email protected]
![Page 31: j.larmouth@salford.ac.uk ASN.1 approach presentation on OIDs.pdf · Part of the work of ITU -T SG17. n. First an introduction by Leonardo himself, then a review of the Recommendation](https://reader036.vdocument.in/reader036/viewer/2022063008/5fbcc3a6d9aeee3f46076d29/html5/thumbnails/31.jpg)
Study Group 1 7 ASN 1
MoU MG Recommendations?n ASN.1 object identifiers should be considered
alongside other existing identification mechanisms, particularly when there is a need for:– simple globally unambiguous identification– allocation of identifiers by many organizations– hierarchical not centralized allocation mechanisms– compact binary encodings of the ID
n MoU member organizations should consider obtaining a top-level allocation (see the OASIS and UN/CEFACT examples above)
![Page 32: j.larmouth@salford.ac.uk ASN.1 approach presentation on OIDs.pdf · Part of the work of ITU -T SG17. n. First an introduction by Leonardo himself, then a review of the Recommendation](https://reader036.vdocument.in/reader036/viewer/2022063008/5fbcc3a6d9aeee3f46076d29/html5/thumbnails/32.jpg)
Study Group 1 7 ASN 1
How to end?
n OIDs provide a standardised, distributed, low admin overhead, flexible, hierarchical system for object identification, with few restrictions
n They provide efficient binary, simple numeric, and human readable representations
n Is it too much to say that they are a shining light?