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

  1. (* $Workfile:   rose.tpl  $ $Revision:   3.6  $ *)
  2. (* ROSE.TPL *)
  3. (*****************************************************************************)
  4. (* ASN.1 ROSE DATA-TYPE TEMPLATE                                             *)
  5. (*                                                                           *)
  6. (*    - ROSE APDU Definitions                                                *)
  7. (*                                                                           *)
  8. (* Known simplifications:                                                    *)
  9. (*   - setting of 'S' for potential constructor octet primitives             *)
  10. (*****************************************************************************)
  11.  
  12. (*****************************************************************************)
  13. (* REMOTE OPERATIONS APDU DEFINITIONS                                        *)
  14. (*****************************************************************************)
  15.  
  16. ROSEapdu                   LABEL     = Rapdu
  17.                            STRUCTURE = CHOICE
  18.                            TAG       = (C 0 C)
  19.                            CHILDREN  = { <Rroiv, C  1 C,O,0>,
  20.                                          <Rrors, C  2 C,O,0>,
  21.                                          <Rroer, C  3 C,O,0>,
  22.                                          <Rrorj, C  4 C,O,0> }
  23.  
  24. (*****************************************************************************)
  25. (* RO INVOKE                                                                 *)
  26. (*****************************************************************************)
  27. ROIVapdu                   LABEL     = Rroiv
  28.                            STRUCTURE = SEQUENCE
  29.                            CHILDREN  = { <Rinid, U  2 P,M,0>,
  30.                                          <Rlkid, C  0 P,O,0>,
  31.                                          <Roper, U  0 P,M,0>*,
  32.                                          <Rargs, U  0 P,O,0> }
  33.  
  34. InvokeID                   LABEL     = Rinid
  35.                            STRUCTURE = INTEGER
  36.  
  37. LinkedID                   LABEL     = Rlkid
  38.                            STRUCTURE = INTEGER
  39.  
  40. Operation                  LABEL     = Roper
  41.                            STRUCTURE = CHOICE
  42.                            CHILDREN  = { <Cintg, U  2 P,O,0>*,
  43.                                          <Cobid, U  6 P,O,0>* }
  44.  
  45. (* this is an untagged any defined by ! *)
  46. Arguments                  LABEL     = Rargs
  47.                            STRUCTURE = ANY DEFINED BY
  48.                            DEFGLABEL = Roper
  49.                            REGISTER  = { <01,Rargy, U  0 P,0>,
  50.                                          <03,3msub, U 16 C,0>,
  51.                                          <04,3penv, U 17 C,0>,
  52.                                          <05,3mdlv, U 16 C,0>,
  53.                                          <06,3rdlv, U 17 C,0>,
  54.                                          <07,Mmtid, A  4 C,0>,
  55.                                          <08,Rargy, U  0 P,0>,
  56.                                          <09,3mrdl, U 16 C,0>,
  57.                                          <14,7asum, U 17 C,0>,
  58.                                          <15,7alst, U 17 C,0>,
  59.                                          <16,7afch, U 17 C,0>,
  60.                                          <17,7adel, U 17 C,0>,
  61.                                          <18,7areg, U 17 C,0>,
  62.                                          <19,7alrt, U 17 C,0> }
  63.  
  64. CommonArgument             LABEL     = Rargy
  65.                            STRUCTURE = ANY
  66.                            CHILDREN  = { }
  67.  
  68. (*****************************************************************************)
  69. (* RO RESULT                                                                 *)
  70. (*****************************************************************************)
  71. RORSapdu                   LABEL     = Rrors
  72.                            STRUCTURE = SEQUENCE
  73.                            CHILDREN  = { <Rinid, U  2 P,M,0>,
  74.                                          <Rrslt, U 16 C,O,0> }
  75.  
  76. ResultPair                 LABEL     = Rrslt
  77.                            STRUCTURE = SEQUENCE
  78.                            CHILDREN  = { <Roper, U  0 P,M,0>*,
  79.                                          <Rrlts, U  0 P,M,0> }
  80.  
  81. (* this is an untagged any defined by !  nb 3mrdr is for multi-rcpt delivery *)
  82. Results                    LABEL     = Rrlts
  83.                            STRUCTURE = ANY DEFINED BY
  84.                            DEFGLABEL = Roper
  85.                            REGISTER  = { <03,3msrs, U 17 C,0>,
  86.                                          <04,3psrs, U 17 C,0>,
  87.                                          <05,3mdrs, U 17 C,0>,
  88.                                          <07,Cnull, U  5 P,0>,
  89.                                          <09,3mrdr, U 16 C,0>,
  90.                                          <14,7smrs, U 17 C,0>,
  91.                                          <15,7rlst, U 17 C,0>,
  92.                                          <16,7rfch, U 17 C,0>,
  93.                                          <17,Cnull, U  5 P,0>,
  94.                                          <18,Cnull, U  5 P,0>,
  95.                                          <19,Cnull, U  5 P,0> }
  96.  
  97. (*****************************************************************************)
  98. (* RO ERROR                                                                  *)
  99. (*****************************************************************************)
  100. ROERapdu                   LABEL     = Rroer
  101.                            STRUCTURE = SEQUENCE
  102.                            CHILDREN  = { <Rinid, U  2 P,M,0>,
  103.                                          <Rerrv, U  0 P,M,0>*,
  104.                                          <Rerrp, U  0 P,O,0>  }
  105.  
  106. ErrorValue                 LABEL     = Rerrv
  107.                            STRUCTURE = CHOICE
  108.                            CHILDREN  = { <Rerri, U  2 P,O,0>*,
  109.                                          <Rerro, U  6 P,O,0>* }
  110.  
  111. ErrorValueInteger          LABEL     = Rerri
  112.                            STRUCTURE = INTEGER
  113.  
  114. ErrorValueObjectIdentifier LABEL     = Rerro
  115.                            STRUCTURE = OBJECT IDENTIFIER
  116.  
  117. (* this is an untagged any defined by ! *)
  118. ErrorParameters            LABEL     = Rerrp
  119.                            STRUCTURE = ANY DEFINED BY
  120.                            DEFGLABEL = Rerrv
  121.                            REGISTER  = { <01,Cnull, U  5 P,0>,
  122.                                          <02,Cnull, U  5 P,0>,
  123.                                          <03,3isrp, U 16 C,0>,
  124.                                          <04,Cnull, U  5 P,0>,
  125.                                          <05,Cnull, U  5 P,0>,
  126.                                          <06,Cnull, U  5 P,0>,
  127.                                          <07,Cnull, U  5 P,0>,
  128.                                          <08,Cnull, U  5 P,0>,
  129.                                          <0A,Cnull, U  5 P,0>,
  130.                                          <0B,Cnull, U  5 P,0>,
  131.                                          <0C,3spro, U  2 P,0>,
  132.                                          <0D,Cnull, U  5 P,0>,
  133.                                          <0E,Cnull, U  5 P,0>,
  134.                                          <0F,Cnull, U  5 P,0>,
  135.                                          <15,7ater, U 17 C,0>,
  136.                                          <16,7aaer, U 17 C,0>,
  137.                                          <17,7dler, U 17 C,0>,
  138.                                          <18,7frer, U 17 C,0>,
  139.                                          <19,7rger, U 17 C,0>,
  140.                                          <1A,3spro, U  2 P,0>,
  141.                                          <1B,7sver, U 17 C,0>,
  142.                                          <1C,7sner, U 17 C,0>,
  143.                                          <1D,Cnull, U  5 P,0>,
  144.                                          <21,Cnull, U  5 P,0>,
  145.                                          <22,Cnull, U  5 P,0> }
  146.  
  147. (*****************************************************************************)
  148. (* RO REJECT                                                                 *)
  149. (*****************************************************************************)
  150. RORJapdu                   LABEL     = Rrorj
  151.                            STRUCTURE = SEQUENCE
  152.                            CHILDREN  = { <Rinrj, U  0 P,M,0>,
  153.                                          <Rprob, U  0 P,M,0> }
  154.  
  155. RORJInvokeidChoice         LABEL     = Rinrj
  156.                            STRUCTURE = CHOICE
  157.                            CHILDREN  = { <Rinid, U  2 P,O,0>,
  158.                                          <Cnull, U  5 P,O,0> }
  159.  
  160. RORJProblemChoice          LABEL     = Rprob
  161.                            STRUCTURE = CHOICE
  162.                            CHILDREN  = { <Rgrlp, C  0 P,O,0>,
  163.                                          <Rivkp, C  1 P,O,0>,
  164.                                          <Rrrsp, C  2 P,O,0>,
  165.                                          <Rrerp, C  3 P,O,0> }
  166.  
  167. GeneralProblem             LABEL     = Rgrlp
  168.                            STRUCTURE = INTEGER
  169.  
  170. InvokeProblem              LABEL     = Rivkp
  171.                            STRUCTURE = INTEGER
  172.  
  173. ReturnResultProblem        LABEL     = Rrrsp
  174.                            STRUCTURE = INTEGER
  175.  
  176. ReturnErrorProblem         LABEL     = Rrerp
  177.                            STRUCTURE = INTEGER
  178.  
  179.  
  180. (*****************************************************************************)
  181. (* DEFINITIONS FOR UA                                                        *)
  182. (*****************************************************************************)
  183.  
  184. User Data                  LABEL     = Ruser
  185.                            STRUCTURE = UNTAGGED CHOICE
  186.                            CHILDREN  = { <Rsimp, A  0 P,O,0>,
  187.                                          <Rfull, A  1 C,O,0> }
  188.  
  189. Simply Encoded Data        LABEL     = Rsimp
  190.                            STRUCTURE = OCTETSTRING
  191.  
  192. Fully Encoded Data         LABEL     = Rfull
  193.                            STRUCTURE = SEQUENCE OF
  194.                            CHILDREN  = { <Rpdvl, U 16 C,O,0> }
  195.  
  196. PDV list                   LABEL     = Rpdvl
  197.                            STRUCTURE = SEQUENCE
  198.                            CHILDREN  = { <Cobid, U  6 P,O,0>,
  199.                                          <Rpcid, U  2 P,M,0>,
  200.                                          <Rpval, U  0 P,M,0> }
  201.  
  202. Pres. Context Id.          LABEL     = Rpcid
  203.                            STRUCTURE = INTEGER
  204.  
  205. Pres. Data Values          LABEL     = Rpval
  206.                            STRUCTURE = CHOICE
  207.                            CHILDREN  = { <Rapdu, C  0 C,O,0>,
  208.                                          <Cocts, C  1 P,O,0>,
  209.                                          <Cbits, C  2 P,O,0> }
  210.  
  211. !
  212.