01021-1 |
Which of the ASN.1 tags in the example below can be removed, and which tags are needed for the receiving agent to interpret the information sent to it?
father [1] Person OPTIONAL, mother [2] Person OPTIONAL, children [3] SEQUENCE OF Person OPTIONAL } Person ::= [APPLICATION 2] CHOICE { socialsecuritynumber [1] NumericString, phonenumber [2] NumericString, name [3] Name } Name ::= [APPLICATION 3] CHOICE { fullname [1] Fullname, shortname [2] Shortname } FullName ::= [APPLICATION 4] SET { givenname [1] UniversalString, surname [2] UniversalString } ShortName ::= [APPLICATION 5] SET { inititals [1] UniversalString, surname [2] UniversalString } |
||||||||||||||||||||||||||||||||||||||||||
Answer |
Below is one of several possible correct answers. Tags which can be removed are underscored in the answer below:
Note:A
few student misunderstood the question and discussed which ASN.1 types
could be removed, not which ASN.1 tags. However, to understand the difference
between tags and types/elements is important in understanding both ASN.1
and XML.
|