Id e n n t tify in n g g IS O a a n n d d I IT U - - PowerPoint PPT Presentation

id e n n t tify in n g g
SMART_READER_LITE
LIVE PREVIEW

Id e n n t tify in n g g IS O a a n n d d I IT U - - PowerPoint PPT Presentation

Jo o h h n L L a rm o o u u th Id e n n t tify in n g g IS O a a n n d d I IT U - T A A S N N .1 . R a p p p p o o rte u r o b je e c c ts th e e j.larmouth@salford.ac.uk A S N


slide-1
SLIDE 1

Stud udy G Group up 1 7 7 ASN 1

Id e n t n tify in g n g

  • b

je c e c ts – th e e A S N .1 a p a p p ro a c h

Jo h

  • h

n L L a rm

  • u
  • u

th IS O a n d a n d I IT U

  • T

A A S N . N .1 R a p p

  • p

p

  • rte

u r

j.larmouth@salford.ac.uk

Note, for best viewing, this presentation needs the Dom Casual and Brush Script fonts.

St Study G Grou

  • up

1 7 7

  • ASN. 1
slide-2
SLIDE 2

Stud udy G Group up 1 7 7 ASN 1

S p e a e a k e rs p p re a e a m b le n e n

  • te

s e s

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!

slide-3
SLIDE 3

Stud udy G Group up 1 7 7 ASN 1

W h y h y t th e h e ra in b

  • w

?

n An infinity of colours n A secondary rainbow (did you see it?) n Others to an infinity of internal

reflections

n Not really relevant, but it is a nice

picture!

n But an infinity of arcs and an infinity

  • f depth is what OIDs are about
slide-4
SLIDE 4

Stud udy G Group up 1 7 7 ASN 1

T h e A A S N .1 a p p ro a c h t to id e n tific a tio n

n One of many, many approaches n Is basically very simple n Has proved useful in many environments n Can be used without using ASN.1 n Unfortunately, it is hard to

present it in a sexy way!

Bu t I I w il ill t l try !

slide-5
SLIDE 5

Stud udy G Group up 1 7 7 ASN 1

T h e re a re m m a n y a a p p ro a c h e s to

  • b

je c t id id e n tific a tio n

n Bar codes are well known n IP addresses are a binary form n URLs are well-known n URNs are less well-known n NSAP addresses are unused today n UUIDs are important too

slide-6
SLIDE 6

Stud udy G Group up 1 7 7 ASN 1

W h a t a a re e th e e d iffe r e re n e n c e s ?

n Some are character-based, some are binary n Some need central allocation, others have

various levels of hierarchy

n Some are fixed length, others are variable

length

n To some extent it is horses for courses n They all are sisters!

slide-7
SLIDE 7

Stud udy G Group up 1 7 7 ASN 1

A re e O ID s n e w e w to th e e M

  • U

M G ?

n No! n Presented to the Geneva Business

Objects Summit in November 2000 by William Lyons

n Banking.ppt

slide-8
SLIDE 8

Stud udy G Group up 1 7 7 ASN 1

S

  • .. W

W h a t is t th e m m e c h a n is m ?

n A hierarchical structure of registration

authorities

n An object identifier tree n Arcs are numbered (zero to infinity) n Infinitely many arcs from each node n 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)

slide-9
SLIDE 9

Stud udy G Group up 1 7 7 ASN 1

itu-t (0) iso (1) joint-iso-itu-t (2) set (42) set- vendors (9)

  • ss (12)

standard (0) 8571 abstract-syntax (2) identified-organisation (3) (Ofen called ICD) dod (6) internet (1) Root

A s s m a ll p a rt o f t th e e O ID t tre e e e – G e G e t H H u n g !

recommendation(0) ISO: National Bodies: BSI: Companies House number

slide-10
SLIDE 10

Stud udy G Group up 1 7 7 ASN 1

N

  • t
  • ta

tio n s a a n d e n c

  • d
  • d

in g s

  • f
  • f O

ID s

n Very compact binary encoding (normally used in all

computer comms except XML), see next slide

n Simplest character encoding (used for XML and

  • ther 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) le

  • n

a r n a rd

  • (3)}

P ic tu re f fo l

  • llo

w

  • w

s !

slide-11
SLIDE 11

Stud udy G Group up 1 7 7 ASN 1

T h e b i b in a n a ry e n c n c

  • d

i d in g

n Roughly one octet per component n Uses bit 8 as a more bit n Top two components handled specially n {0 0} to {0 39} encodes into one octet only n {1 0} to {1 39} encodes into one octet only n {2 0} to {2 47} encodes into one octet only n {2 48} on will use two or more octets

A n d n d n n

  • w

th e p p ic tu re !

slide-12
SLIDE 12

Stud udy G Group up 1 7 7 ASN 1

T h e E e E d ito r's v v e r e rs io n

slide-13
SLIDE 13

Stud udy G Group up 1 7 7 ASN 1

T h e

  • ffic

ia l v v e rs io io n !

slide-14
SLIDE 14

Stud udy G Group up 1 7 7 ASN 1

Bu t l le t e t's s e e e th e e (tw

  • ) v

v id e

  • e
  • s

!

n Not much to do with ASN.1 Object

Identifiers, but I think interesting!

n Part of the work of ITU-T SG17 n 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)

slide-15
SLIDE 15

Stud udy G Group up 1 7 7 ASN 1

Bu t o

  • n

e m

  • re

re p ic tu re re f firs rs t

slide-16
SLIDE 16

Stud udy G Group up 1 7 7 ASN 1

slide-17
SLIDE 17

Stud udy G Group up 1 7 7 ASN 1

slide-18
SLIDE 18

Stud udy G Group up 1 7 7 ASN 1

Ba c a c k to O O ID s a a g a i a in !

n Here is an OASIS of tranquillity:

{oasis (2) tech-committees (45) xcbf(20) standard (0) version (2002)}

  • r 2.45.20.0.2002
  • r <xxx xmlns="urn:oid:2.45.20.0.2002">…<\xxx>
slide-19
SLIDE 19

Stud udy G Group up 1 7 7 ASN 1

T ry a a n

  • th

e r e r!

n Facilitation of trade:

{un-cefact(2) edi(50) invoice(0) version-2004(2) }

  • r 2.50.0.2
  • r <xxx xmlns="urn:oid:2.50.0.2">…<\xxx>
slide-20
SLIDE 20

Stud udy G Group up 1 7 7 ASN 1

A re a e a l o n e

n Face recognition:

{iso standard 19794 part(5) version(1) }

  • r 1.0.19794.5.1
  • r <xxx xmlns="urn:oid:1.0.19794.5.1">…<\xxx>
slide-21
SLIDE 21

Stud udy G Group up 1 7 7 ASN 1

IT U T U

  • T

T T S A G R R e c

  • m

m e m m e n d a tio n

n Was requested to devise a uniform

approach for XML namespace specification across all ITU-T Recommendations

n Asked SG17 for advice n Was advised to recommend the use of the

form: <xxx xmlns="urn:oid:0.0.6. ….">…<\xxx>

slide-22
SLIDE 22

Stud udy G Group up 1 7 7 ASN 1

W h a t a b

  • u

t U U I U U ID s ?

n Universally unique identifiers n Verbose – 128 bits (but only = 16 chars) n ISO/IEC 9834-8 | ITU-T Rec X.667 n Can self-generate OIDs at the rate of

about 10 million per second

n Unambiguous over the next 2000 years n Can optionally register them n OID is 2.25.xxx…..

slide-23
SLIDE 23

Stud udy G Group up 1 7 7 ASN 1

T im e f e fo r a n

  • th

e r e r p p ic tu re ! e ! O ID s p p ro v id e e le v e v e l e ls in l le v e v e l e ls

slide-24
SLIDE 24

Stud udy G Group up 1 7 7 ASN 1

A ll v e r e ry g

  • d

, b u t a re e th e y e y u s e d e d ?

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-up

n See http://oid.elibel.tm.fr

slide-25
SLIDE 25

Stud udy G Group up 1 7 7 ASN 1

S e c e c u rity a a lg

  • rith

m u u s e s e s

  • f O

ID s

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)

  • rganization(1) gov(101)

csor(3) nistAlgorithm(4) hashAlgs(2) – RSA Encryption { iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) 1 1 }

slide-26
SLIDE 26

Stud udy G Group up 1 7 7 ASN 1

O th e r e r a a re a e a s

n Many ITU-T Recommendations n Biometrics and other ISO Standards n Many US ANSI X.9 specifications n US Banking specifications n UPU and international carrier parcel

tracking

n 3GPP Mobile phones n Not as widespread as bar-codes, but heavily

used in computer communications protocols

slide-27
SLIDE 27

Stud udy G Group up 1 7 7 ASN 1

W e W e bs u p p

  • p

p

  • rt

n Go to http://oid.elibel.tm.fr n Number of OIDs n Details about an OID n Provide details about a (new)

allocation of an OID

n Much additional information

slide-28
SLIDE 28

Stud udy G Group up 1 7 7 ASN 1

T h e e E lib e l e l O O ID p a g e

slide-29
SLIDE 29

Stud udy G Group up 1 7 7 ASN 1

N e N e a r F F u t u tu r u re s

n Web services (SOAP and all that) support

to register or obtain UUID-based OIDs

n Fast Web services support n Courtesy of the ITU-T TSB, France

Telecom, Sun Microsystems, and OSS Nokalva

slide-30
SLIDE 30

Stud udy G Group up 1 7 7 ASN 1

R e q u q u e s ts f fo r

  • r to

p

  • p
  • le

v e l a l a llo c a t a tio n s n s

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

j.larmouth@salford.ac.uk

slide-31
SLIDE 31

Stud udy G Group up 1 7 7 ASN 1

M

  • U

M U M G R e c

  • m
  • m

m e n d a tio n

  • n

s ?

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

  • btaining a top-level allocation (see the OASIS

and UN/CEFACT examples above)

slide-32
SLIDE 32

Stud udy G Group up 1 7 7 ASN 1

H

  • w
  • w

to

  • e

n d ?

n OIDs provide a standardised, distributed, low admin

  • verhead, 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?