home *** CD-ROM | disk | FTP | other *** search
/ Internet Standards / CD2.mdf / ccitt / 1992 / t / t541_3.asc < prev    next >
Text File  |  1991-12-31  |  19KB  |  372 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.                                        ANNEX B
  9.  
  10.                               (to Recommendation T.541)
  11.  
  12.  
  13. B.1    Operational data formats
  14. Operational-
  15.        Descriptor     ::=  CHOICE {
  16. operational-object-class          [0]  IMPLICIT Operational-Class-Descriptor,
  17.                                              -- not used by the videotex interworking application;
  18.                                              -- therefore not specified in this document
  19. operational-object               [1]  IMPLICIT Operational-Object-Descriptor,
  20. operational-element               [2]  IMPLICIT Operational-Element }
  21. Operational-
  22. Information-Identifier::=  Object-or-Class-Identifier
  23.                                              -- used in the case of the delete operation
  24. B.1.1  Operational object descriptor
  25. Operational-Object-
  26.        Descriptor     ::=  SEQUENCE {
  27. object-type                               Operational-Object-Type OPTIONAL,
  28. descriptor-body                         Operational-Object-Descriptor-Body OPTIONAL}
  29. Operational-Object-
  30.        Type                ::=  INTEGER {
  31.                                           data-entry (0),
  32.                                           data-entry-program (1),
  33.                                           data-entry-subprogram (2),
  34.                                           field (3),
  35.                                           rules (4),
  36.                                           prompt (5),
  37.                                           result (6),
  38.                                           application-control-memory (7),
  39.                                           record (8),
  40.                                           document-information (12),
  41.                                           special-terminal-facilities (13),
  42.                                           redefinition-entity (14) }
  43. Operational-Object
  44. Descriptor-Body           ::=  SET  {
  45. object-identifier                    Object-Or-Class-Identifier OPTIONAL,
  46. subordinates                    [0]  IMPLICIT SEQUENCE OF Numeric-String OPTIONAL,
  47.                                              -- not used by the videotex interworking application;
  48.                                              -- therefore not specified in this document
  49. operational-elements               [1]  IMPLICIT SEQUENCE OF Numeric-String, OPTIONAL,
  50. object-class                    [2]  IMPLICIT Object-Or-Class-Identifier OPTIONAL,
  51.                                              -- not used by the videotex interworking application;
  52.                                              -- therefore not specified in this document
  53. -- document-fragment               [3]  IMPLICIT Document-Fragment OPTIONAL,
  54.                                              -- not used by the videotex interworking application;
  55.                                              -- therefore not specified in this document
  56. reference-attribute               [4]  IMPLICIT Reference-Attribute OPTIONAL,
  57. default-value-lists               [5]  IMPLICIT Default-Value-Lists OPTIONAL,
  58. application-defined-
  59. attribute-lists                    [6]  IMPLICIT Application-Defined-Attribute-Lists OPTIONAL  }
  60. B.1.2  Operational elements
  61. Operational-Element     ::=  SET  {
  62. operational-element-
  63.        identifier                       Object-or-Class-Identifier OPTIONAL,
  64.  
  65. reference-attribute               [4]  IMPLICIT Reference-Attribute OPTIONAL,
  66.                                              -- not used by the videotex interworking application
  67.  
  68.  
  69.  
  70.  
  71.  
  72. application-defined-
  73. attribute-lists                    [6]  IMPLICIT Application-Defined-Attribute-Lists OPTIONAL,
  74. operational-element-
  75. content-type                    [7]  Operational-Content-Type OPTIONAL,
  76. operational-element-content     [8]  IMPLICIT OCTET STRING OPTIONAL  }
  77.  
  78.  
  79. B.1.3  Common attributes
  80.  
  81. Reference-Attribute::=                 SEQUENCE OF SEQUENCE {
  82.  
  83. reference-name                    [0]  IMPLICIT OCTET STRING OPTIONAL,
  84.                                           -- '00'H reference to a rules SE
  85.                                           -- '01'H reference to a prompt-in SE
  86.                                           -- '02'H reference to a prompt-out SE
  87.                                           -- '03'H reference to a field SE
  88.                                           -- in the case of first subprogram and last subprogram no
  89.                                           -- reference name is used
  90.  
  91. referenced-constituent     Object-Or-Class Identifier }
  92.  
  93. Default-Value-Lists      ::=  Operational-Object-Descriptor-Body
  94.  
  95.  
  96. B.1.4  Application defined attributes
  97.  
  98. Application-Defined-
  99. Attribute-List          ::=  SET {
  100.                                      -- DATA ENTRY STRUCTURE
  101.  
  102. data-entry-type                    [0]  IMPLICIT INTEGER {
  103.                                                information-retrieval (1),
  104.                                                data-collection (2),
  105.                                                on-the-fly (3),
  106.                                                duplex (4)}  OPTIONAL,
  107.  
  108. allowed-characters-for-
  109. a-keyword-access-command          [1]  IMPLICIT BOOLEAN OPTIONAL,
  110.                                           -- true = yes
  111.                                           -- false = no
  112. character-list-for-
  113. keyword-access                    [2]  Character-List OPTIONAL,
  114. max-length-keyword-access          [3]  IMPLICIT INTEGER OPTIONAL,
  115. allowed-character-for-
  116. a-direct-access-command          [4]  IMPLICIT BOOLEAN OPTIONAL,
  117.                                           -- true = yes
  118.                                           -- false = no
  119. termination-reason               [5]  IMPLICIT Termination-Reason OPTIONAL,
  120. field-layout                    [6]  IMPLICIT Field-Layout OPTIONAL,
  121. field-text-marking               CHOICE  {
  122.                                      [7]  IMPLICIT NULL,
  123.                                      [8]  Appearance } OPTIONAL,
  124. echo                                 [9]  IMPLICIT INTEGER {
  125.                                             normal-echo (0),
  126.                                             fixed-echo (1),
  127.                                             null (2) }  OPTIONAL,
  128. echoed-character                    [10] G0G2-Character OPTIONAL,
  129. echo-parameter                    [11] Appearance OPTIONAL,
  130. time-out                         [12] IMPLICIT INTEGER OPTIONAL
  131.                                         -- measured in seconds
  132. entry-invoke-character          [13] G0G2-Character OPTIONAL,
  133. local-editing                    [33] IMPLICIT INTEGER OPTIONAL,
  134.                                           -- details for further study
  135. length-of-valid-choices          [15] IMPLICIT INTEGER {
  136.                                                one-digit (1)
  137.                                                two-digits (2) } OPTIONAL,
  138. list-of-enabled-choices          [16] List-of-Choices OPTIONAL,
  139.  
  140. allowed-characters-for-
  141. data-collection               [17] IMPLICIT INTEGER {
  142.                                           forbidden (0),
  143.                                           allowed (1),
  144.                                           alphabetic (2),
  145.                                           alphanumeric (3),
  146.                                           numeric (4) }  OPTIONAL,
  147. character-list               [18] Character-List OPTIONAL,
  148. list-of-valid-commands     [19] OCTET STRING OPTIONAL,
  149.                                      -- the OCTET STRING is encoded in a way that the bits are
  150.                                      -- representing the commands as follows:
  151.                                      -- bit 0: time-out, bit 2 = V2, bit 3: V3, bit 8: D1a,
  152.                                      -- bit 9: D1b, bit 10: D1c, bit 11: D1d, bit 14: D4, bit 15: D5, -- bit 16: 
  153. D6, bit 17: D7, bit 19: D9, bit 20: D10, bit 21: D11,                            -- bit 22: D12, bit 23: D13, bit 
  154. 24: D14, bit 27: D17, bit 28:
  155.                                      -- D18, bit 29: end-of-field,
  156.                                      -- a command is enabled by setting the bit to 1 and disabled by
  157.                                      -- setting the bit to 0.
  158. field-type                    [20] IMPLICIT INTEGER {
  159.                                         data-collection-field (0),
  160.                                         country-code-field (1),
  161.                                         tel-number-field (2),
  162.                                         subscr-number-field (3),
  163.                                         co-user-suffix-field (4),
  164.                                         user-number-field (5),
  165.                                         subscr-title-field (6),
  166.                                         subscr-name-field (7),
  167.                                         additional-name-field (8),
  168.                                         street-field (9),
  169.                                         town-field (10),
  170.                                         postcode-field (11),
  171.                                         date-field (12),
  172.                                         time-field (13),
  173.                                         date-and-time field (14)
  174.                                         } OPTIONAL,
  175. system-field-attributes     [21] IMPLICIT System-Field-Attributes OPTIONAL,
  176.                                      -- the following two attributes are used for prompts, the
  177.                                      -- second also for the SPECIAL TERMINAL-FACILITIES-SE
  178. position                    [22] IMPLICIT Measure-Pair OPTIONAL,
  179. dimension                    [23] IMPLICIT Measure-Pair OPTIONAL,
  180.  
  181.                            -- APPLICATION CONTROL MEMORY STRUCTURE
  182.  
  183. record-content               [14] IMPLICIT Record-Content OPTIONAL,
  184.  
  185.                            -- SPECIAL TERMINAL FACILITIES STRUCTURE
  186.  
  187. measurement-unit               [31] IMPLICIT Measurement-Unit OPTIONAL,
  188. redefinition-coding          [25] IMPLICIT Redefinition-Coding OPTIONAL,
  189. redefinition-content          [26] IMPLICIT IMPLICIT OCTET STRING OPTIONAL,
  190.  
  191.                            -- ADMINISTRATIVE STRUCTURE
  192.  
  193. a-price-frame-based           [27] IMPLICIT Real-Number OPTIONAL,
  194. a-price-transaction-based     [32] IMPLICIT Real-Number OPTIONAL,
  195. a-time-based-charging-price[28] IMPLICIT Real-Number OPTIONAL,
  196. a-time-based-charging-period[29] IMPLICIT INTEGER OPTIONAL,
  197. c-cost-tbc-period          [30] IMPLICIT INTEGER OPTIONAL,
  198. c-cost-tbc-price               [24] IMPLICIT Real-Number OPTIONAL,
  199.  
  200.                            -- OPERATIONAL ELEMENTS
  201.  
  202. coding attributes          [8]  IMPLICIT Videotex-Coding-Attributes
  203.                                      -- coding attributes are to be specified for prompt content
  204.                                      -- portions by the relevant content architecture; coding
  205.                                      -- attributes are the same as for blocks
  206.                                      }
  207.  
  208.  
  209.  
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217. B.1.5  Basic types
  218. Object-or-Class-
  219.        Identifier::=  [APPLICATION 1] IMPLICIT Printable-String
  220.                                      -- only digits and space are used in the present version of
  221.                                      -- the standard
  222.                                      -- a "null" value is represented by an empty string
  223.                                      -- the first digit identifies the relevant root:
  224.                                      -- data entry root "0", application
  225.                                      -- control memory root "1", administrative
  226.                                      -- information root "2", special terminal
  227.                                      -- facilities root "3"
  228. Character-List     ::=            CHOICE {
  229. bit-8-character-list          [0]  IMPLICIT SET OF G0G2-Bit-8-Character,
  230. bit-7-character-list          [1]  IMPLICIT SET OF G0G2-Bit-7-Character }
  231. G0G2-Character     ::=            CHOICE {
  232. bit-8-character               [0]  IMPLICIT G0G2-Bit-8-Character,
  233. bit-7-character               [1]  G0G2-Bit-7-Character }
  234. G0G2-Bit-8-
  235.        Character      ::=            INTEGER
  236.                                      -- G0 or G2 character included. Space with 8-bit encoding;
  237.                                      -- values between 20H-7FH and AOH-FFH
  238. G0G2-Bit-7-
  239.        Character      ::=            CHOICE {
  240. g0-character               [0]  IMPLICIT INTEGER {
  241.                                      -- G0 character included. Space with 7-bit encoding;
  242.                                      -- values between 20H-7FH
  243. g2-character               [1]  IMPLICIT INTEGER {
  244.                                      -- G2 character included. Space with 7-bit encoding;
  245.                                      -- values between 20H-7FH
  246. Field-Layout     ::=  SEQUENCE OF SEQUENCE {
  247.                                           Measure-Pair, Measure-Pair }
  248. List-of-Choices     ::=  BIT STRING
  249.                                      -- the length of the string is equal to 10 bits if the length
  250.                                      -- of choices is 1, equal to 100 bits if the length is 2
  251.                                      -- the bit position is representing actual choice value
  252. Appearance            ::=  IMPLICIT SET {
  253. foreground-colour          [0]  IMPLICIT INTEGER OPTIONAL,
  254. background-colour          [1]  IMPLICIT INTEGER OPTIONAL,
  255. underline                    [2]  IMPLICIT BOOLEAN OPTIONAL,
  256.                                      -- true means on; false means off
  257. reverse-video               [3]  IMPLICIT BOOLEAN OPTIONAL,
  258.                                      -- true means on; false means off
  259. flashing                    [4]  IMPLICIT BOOLEAN OPTIONAL,
  260.                                      -- true means on; false means off
  261. -- the following parameters are only used for the echo parameter
  262. height                          [5]  IMPLICIT BOOLEAN OPTIONAL,
  263.                                      -- true means double; false means normal
  264. width                           [6]  IMPLICIT BOOLEAN OPTIONAL,
  265.                                      -- true means double; false means normal
  266.                                      }
  267. Termination-Reason::=  INTEGER {
  268.                                      time-out (0), V2 (2),
  269.                                      V3 (3), D1a (8),
  270.                                      D1b (9), D1c (10), D1d (11),
  271.                                      D4 (14), D5 (15), D6 (16),
  272.                                      D7 (17), D9 (19), D10 (20),
  273.                                      D11 (21), D12 (22), D13 (23),
  274.                                      D14 (24), D17 (27), D18 (28),
  275.  
  276.                                      end-of-field (29)}
  277.  
  278.  
  279.  
  280.  
  281.  
  282. Real-Number           ::=  SEQUENCE {
  283.  
  284. integer-part               [0]  IMPLICIT INTEGER DEFAULT 0,
  285. decimal-exponent               [7]  IMPLICIT INTEGER DEFAULT 2 }
  286.                                           -- the encoded real number is obtained by dividing the
  287.                                           -- integer-part by 10**decimal-exponent
  288.  
  289. Measurement-Unit      ::=  INTEGER {
  290.  
  291.                                      character-box (0) }
  292.  
  293. Measure-Pair     ::=  SEQUENCE {
  294.  
  295. horizontal                         INTEGER,
  296. vertical                         INTEGER }
  297.  
  298. Redefinition-Coding::=  SEQUENCE {
  299.  
  300. redefinition-type          [0]  IMPLICIT INTEGER {
  301.                                        drcs (0),
  302.                                        colour-redefinition (1),
  303.                                        reset-sequence (2),
  304. redefinition-coding-data-
  305.                  syntax     [1]  IMPLICIT OBJECT IDENTIFIER }
  306.  
  307. Record-Content     ::=  SET OF CHOICE {
  308.                                 D-CREATE,
  309.                                 D-DELETE,
  310.                                 D-MODIFY }
  311.                            -- these operations are defined in Recommendations T.432
  312.                            -- and T.433
  313.  
  314. Operational-Content-
  315.             Type      ::=  CHOICE {
  316.  
  317.                                 [0]  IMPLICIT INTEGER {
  318.                                        g0g2-bit-8 (0),
  319.                                           -- G0/G2 character included. Space with 8-bit encoding
  320.                                        g0g2-bit-7 (1),
  321.                                           -- G0/G2 character included. Space and SS2 with
  322.                                           -- 7-bit encoding
  323.                                        ascii  1) (3)
  324.                                           -- T.50 (international reference version)
  325.                                           -- character
  326.                                                          } OPTIONAL,
  327.                                           -- the integer value is used in the cases of a field
  328.                                           -- content portion and a result content portion
  329.                                 [1]  IMPLICIT OBJECT IDENTIFIER OPTIONAL }
  330.                                      -- the OBJECT IDENTIFIER is used in the case of a prompt
  331.                                      -- content portion
  332.  
  333. System-Field-Attributes::=  SEQUENCE {
  334.  
  335. protected                    [0]  IMPLICIT BOOLEAN OPTIONAL,
  336.                                      -- true = protected
  337.                                      -- false = not protected
  338. data-source                     [1]  IMPLICIT BOOLEAN OPTIONAL,
  339.                                      -- true = data supplied by local host
  340.                                      -- false = data supplied by the user   }
  341.  
  342.  
  343.                                        ANNEX C
  344.                                           
  345.                               (to Recommendation T.541)
  346.  
  347.  
  348.  
  349.  
  350.        This Annex is an integral part of this Recommendation.
  351.                                           
  352.                                           
  353.                          Summary of ASN.1 object identifiers
  354.  
  355. w
  356.     ┌────────────────────────────┬────────────────────────┬────────────────────┐
  357.     │        ASN.1 object        │       Description      │       Section      │
  358.     │      identifier value      │                        │                    │
  359.     ├────────────────────────────┼────────────────────────┼────────────────────┤
  360.     │ 0  1  8  16  2             │Object identifier for   │Annex C of this     │
  361.     │                            │this operational        │Recommendation      │
  362.     │                            │application profile     │                    │
  363.     └────────────────────────────┴────────────────────────┴────────────────────┘
  364.  
  365.  
  366. )   American standard code for information interchange.
  367.  
  368.  
  369.  
  370.  
  371.  
  372.