home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1998 March
/
CHIPCD_3_98.iso
/
software
/
testsoft
/
exchange
/
mtadata
/
rose.xv2
< prev
next >
Wrap
Text File
|
1997-08-25
|
5KB
|
114 lines
(* $Workfile: rose.xv2 $ $Revision: 1.6 $ *)
(* ROSE.TPL *)
(*****************************************************************************)
(* ASN.1 ROSE DATA-TYPE TEMPLATE *)
(* *)
(* - ROSE APDU Definitions *)
(* *)
(* The ANY nodes should strictly be ANY DEFINED BY, but since operation ids *)
(* aren't unique across application contexts this would require a separate *)
(* ROSE template for each one. By making them ANY we leave the decision to *)
(* the collect/consult routines which will know which application context is *)
(* in use. *)
(* *)
(*****************************************************************************)
(*****************************************************************************)
(* REMOTE OPERATIONS APDU DEFINITIONS *)
(*****************************************************************************)
ROSEapdu LABEL = rapdu
STRUCTURE = CHOICE
TAG = (C 0 C)
CHILDREN = { <rroiv, C 1 C,O,0>,
<rrors, C 2 C,O,0>,
<rroer, C 3 C,O,0>,
<rrorj, C 4 C,O,0> }
ROIVapdu LABEL = rroiv
STRUCTURE = SEQUENCE
CHILDREN = { <rinid, U 2 P,M,0>,
<rlkid, C 0 P,O,0>,
<roper, U 0 P,M,0>,
<rargs, U 0 P,O,0> }
InvokeID LABEL = rinid
STRUCTURE = INTEGER
LinkedID LABEL = rlkid
STRUCTURE = INTEGER
Operation LABEL = roper
STRUCTURE = CHOICE
CHILDREN = { <Cintg, U 2 P,O,0>,
<Cobid, U 6 P,O,0> }
Arguments LABEL = rargs
STRUCTURE = ANY
CHILDREN = { }
RORSapdu LABEL = rrors
STRUCTURE = SEQUENCE
CHILDREN = { <rinid, U 2 P,M,0>,
<rrslt, U 16 C,O,0> }
ResultPair LABEL = rrslt
STRUCTURE = SEQUENCE
CHILDREN = { <roper, U 0 P,M,0>,
<rrlts, U 0 P,M,0> }
Results LABEL = rrlts
STRUCTURE = ANY
CHILDREN = { }
ROERapdu LABEL = rroer
STRUCTURE = SEQUENCE
CHILDREN = { <rinid, U 2 P,M,0>,
<rerrv, U 0 P,M,0>,
<rerrp, U 0 P,O,0> }
ErrorValue LABEL = rerrv
STRUCTURE = CHOICE
CHILDREN = { <rerri, U 2 P,O,0>,
<rerro, U 6 P,O,0> }
ErrorValueInteger LABEL = rerri
STRUCTURE = INTEGER
ErrorValueObjectIdentifier LABEL = rerro
STRUCTURE = OBJECT IDENTIFIER
ErrorParameters LABEL = rerrp
STRUCTURE = ANY
CHILDREN = { }
RORJapdu LABEL = rrorj
STRUCTURE = SEQUENCE
CHILDREN = { <rinrj, U 0 P,M,0>,
<rprob, U 0 P,M,0> }
RORJInvokeidChoice LABEL = rinrj
STRUCTURE = CHOICE
CHILDREN = { <rinid, U 2 P,O,0>,
<Cnull, U 5 P,O,0> }
RORJProblemChoice LABEL = rprob
STRUCTURE = CHOICE
CHILDREN = { <rgrlp, C 0 P,O,0>,
<rivkp, C 1 P,O,0>,
<rrrsp, C 2 P,O,0>,
<rrerp, C 3 P,O,0> }
GeneralProblem LABEL = rgrlp
STRUCTURE = INTEGER
InvokeProblem LABEL = rivkp
STRUCTURE = INTEGER
ReturnResultProblem LABEL = rrrsp
STRUCTURE = INTEGER
ReturnErrorProblem LABEL = rrerp
STRUCTURE = INTEGER
!