home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 March / CHIPCD_3_98.iso / software / testsoft / exchange / mtadata / common.xv2 < prev    next >
Text File  |  1997-08-25  |  4KB  |  112 lines

  1. (* $Workfile:   common.xv2  $ $Revision:   1.4  $ *)
  2. (* COMMON.TPL *)
  3. (*****************************************************************************)
  4. (* ASN.1 COMMON DATA-TYPE TEMPLATE                                           *)
  5. (*****************************************************************************)
  6.  
  7. (* Extension Fields                                                          *)
  8.  
  9. ExtensionType              LABEL     = Cxtyp               T=special case
  10.                          # STRUCTURE = INTEGER
  11.  
  12. Criticality                LABEL     = Ccrtc               T=special case
  13.                            STRUCTURE = BITSTRING
  14.  
  15. (* Primitives                                                                *)
  16.  
  17. Boolean                    LABEL     = Cbool
  18.                            STRUCTURE = BOOLEAN
  19.  
  20. Integer                    LABEL     = Cintg
  21.                            STRUCTURE = INTEGER
  22.  
  23. Integer (OM enumerated)    LABEL     = Cinte
  24.                            STRUCTURE = INTEGER
  25.  
  26. Real                       LABEL     = Creal
  27.                            STRUCTURE = REAL
  28.  
  29. Bitstring                  LABEL     = Cbits
  30.                            STRUCTURE = BITSTRING
  31.  
  32. OctetString                LABEL     = Cocts
  33.                            STRUCTURE = OCTETSTRING
  34.  
  35. Null                       LABEL     = Cnull
  36.                            STRUCTURE = NULL
  37.  
  38. ObjectIdentifier           LABEL     = Cobid
  39.                            STRUCTURE = OBJECT IDENTIFIER
  40.  
  41. NumericString              LABEL     = Cnumc
  42.                            STRUCTURE = NUMERIC STRING
  43.  
  44. PrintableString            LABEL     = Cptbl
  45.                            STRUCTURE = PRINTABLE STRING
  46.  
  47. TeletexString              LABEL     = Ctexs
  48.                            STRUCTURE = TELETEX STRING
  49.  
  50. VideotexString             LABEL     = Cvide
  51.                            STRUCTURE = VIDEOTEX STRING
  52.  
  53. VisibleString              LABEL     = Cvisb
  54.                            STRUCTURE = VISIBLE STRING
  55.  
  56. IA5String                  LABEL     = Cia5s               T=IM_TEXT
  57.                            STRUCTURE = IA5 STRING
  58.  
  59. GraphicString              LABEL     = Cgphs
  60.                            STRUCTURE = GRAPHIC STRING
  61.  
  62. GeneralString              LABEL     = Cgens
  63.                            STRUCTURE = GENERAL STRING
  64.  
  65. GeneralisedTime            LABEL     = Cgent
  66.                            STRUCTURE = GENERALIZED TIME
  67.  
  68. UTCTime                    LABEL     = Cutct
  69.                            STRUCTURE = UTC TIME
  70.  
  71. ObjectDescriptor           LABEL     = Cobds
  72.                            STRUCTURE = OBJECT DESCRIPTOR
  73.  
  74. Enumerated                 LABEL     = Cenum
  75.                            STRUCTURE = ENUMERATED
  76. (* External *)
  77.  
  78. External                   LABEL     = Cextn
  79.                            STRUCTURE = SEQUENCE            C=OM_C_EXTERNAL
  80.                            TAG       = (U 8 C)
  81.                            CHILDREN  = { <Cdref, U 6 P,O,0>,
  82.                                          <Ciref, U 2 P,O,0>,
  83.                                          <Cdvds, U 7 P,O,0>,
  84.                                          <Cencd, U 0 P,O,0> }
  85.  
  86. Direct Reference           LABEL     = Cdref               T=OM_DIRECT_REFERENC
  87.                            STRUCTURE = OBJECT IDENTIFIER
  88.  
  89. Indirect Reference         LABEL     = Ciref               T=OM_INDIRECT..
  90.                            STRUCTURE = INTEGER
  91.  
  92. Data Value Descriptor      LABEL     = Cdvds               T=OM_OBJECT_DESC..
  93.                            STRUCTURE = OBJECT DESCRIPTOR
  94.  
  95. Encoding                   LABEL     = Cencd               T=special_case
  96.                            STRUCTURE = UNTAGGED CHOICE
  97.                            CHILDREN  = { <Casn1, C 0 C,O,0>,
  98.                                          <Cocta, C 1 P,O,0>,
  99.                                          <Carbi, C 2 P,O,0>D  }
  100.  
  101. Single ASN.1 Type          LABEL     = Casn1               T=special_case
  102.                            STRUCTURE = ANY
  103.                            TAG       = (C 0 C)
  104.                            CHILDREN  = { }
  105.  
  106. Octet Aligned              LABEL     = Cocta               T=OM_OCTET_ALIGNED..
  107.                            STRUCTURE = OCTETSTRING
  108.  
  109. Arbitrary                  LABEL     = Carbi               T=OM_ARBITRARY_ENC..
  110.                            STRUCTURE = BIT STRING
  111. !
  112.