Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / epan / dissectors / asn1 / h450-ros / Remote-Operations-Apdus.asn
blobb69ff2b69b286921898c693afea3e50aa54af66b
1 -- Remote-Operations-Apdus.asn
2 --
3 -- Taken from ITU ASN.1 database
4 -- http://www.itu.int/ITU-T/asn1/database/itu-t/h/h450.1/1998/Remote-Operations-Apdus.asn
5 --
7 -- Module Remote-Operations-Apdus (H.450.1:02/1998)
8 Remote-Operations-Apdus {itu-t recommendation h 450 1 version1(0)
9   remote-operations-apdus(11)} DEFINITIONS AUTOMATIC TAGS ::=
10 BEGIN
12 -- exports everything
13 IMPORTS
14   OPERATION, ERROR
15     FROM Remote-Operations-Information-Objects {joint-iso-itu-t
16       remote-operations(4) informationObjects(5) version1(0)};
18 ROS{InvokeId:InvokeIdSet, OPERATION:Invokable, OPERATION:Returnable} ::=
19   CHOICE {
20   invoke        [1]  Invoke{{InvokeIdSet}, {Invokable}},
21   returnResult  [2]  ReturnResult{{Returnable}},
22   returnError   [3]  ReturnError{{Errors  {{Returnable}}}},
23   reject        [4]  Reject
25 (CONSTRAINED BY { -- must conform to the above definition --} !
26  RejectProblem:general-unrecognizedPDU)
28 Invoke{InvokeId:InvokeIdSet, OPERATION:Operations} ::= SEQUENCE {
29   invokeId
30     InvokeId(InvokeIdSet)
31       (CONSTRAINED BY {-- must be unambiguous -- } !
32        RejectProblem:invoke-duplicateInvocation),
33   linkedId
34     InvokeId
35       (CONSTRAINED BY {-- must identify an outstanding operation -- } !
36        RejectProblem:invoke-unrecognizedLinkedId)
37       (CONSTRAINED BY {-- which has one or more linked operations-- } !
38        RejectProblem:invoke-linkedResponseUnexpected) OPTIONAL,
39   opcode
40     OPERATION.&operationCode
41       ({Operations} !RejectProblem:invoke-unrecognizedOperation),
42   argument
43     OPERATION.&ArgumentType
44       ({Operations}{@opcode} !RejectProblem:invoke-mistypedArgument) OPTIONAL
46 (CONSTRAINED BY { -- must conform to the above definition --} !
47  RejectProblem:general-mistypedPDU)
49 --(
50 --      WITH COMPONENTS
51 --      { 
52 --              ..., 
53 --              linkedId        ABSENT
54 --      }
55 --      WITH COMPONENTS {
56 --              ..., 
57 --              linkedId        PRESENT, 
58 --              opcode  (CONSTRAINED BY { 
59 -- must be in the &Linked field of the associated operation 
60 -- } ! RejectProblem : invoke-unexpectedLinkedOperation) 
61 --      }
62 --)
63 ReturnResult{OPERATION:Operations} ::= SEQUENCE {
64   invokeId
65     InvokeId
66       (CONSTRAINED BY {-- must be that for an outstanding operation -- } !
67        RejectProblem:returnResult-unrecognizedInvocation)
68       (CONSTRAINED BY {-- which returns a result -- } !
69        RejectProblem:returnResult-resultResponseUnexpected),
70   result
71     SEQUENCE {opcode
72                 OPERATION.&operationCode({Operations})
73                   (CONSTRAINED BY {-- identified by invokeId -- } !
74                    RejectProblem:returnResult-unrecognizedInvocation),
75               result
76                 OPERATION.&ResultType
77                   ({Operations}{@.opcode} !
78                    RejectProblem:returnResult-mistypedResult)} OPTIONAL
80 (CONSTRAINED BY { -- must conform to the above definition --} !
81  RejectProblem:general-mistypedPDU)
83 ReturnError{ERROR:Errors} ::= SEQUENCE {
84   invokeId
85     InvokeId
86       (CONSTRAINED BY {-- must be that for an outstanding operation -- } !
87        RejectProblem:returnError-unrecognizedInvocation)
88       (CONSTRAINED BY {-- which returns an error -- } !
89        RejectProblem:returnError-errorResponseUnexpected),
90   errcode
91     ERROR.&errorCode({Errors} !RejectProblem:returnError-unrecognizedError)
92       (CONSTRAINED BY {--must be in the &Errors field of the associated operation -- 
93          } !RejectProblem:returnError-unexpectedError),
94   parameter
95     ERROR.&ParameterType
96       ({Errors}{@errcode} !RejectProblem:returnError-mistypedParameter)
97       OPTIONAL
99 (CONSTRAINED BY { -- must conform to the above definition --} !
100  RejectProblem:general-mistypedPDU)
102 Reject ::= SEQUENCE {
103   invokeId  InvokeId,
104   problem
105     CHOICE {general       GeneralProblem,
106             invoke        InvokeProblem,
107             returnResult  ReturnResultProblem,
108             returnError   ReturnErrorProblem}
110 (CONSTRAINED BY { -- must conform to the above definition --} !
111  RejectProblem:general-mistypedPDU)
113 GeneralProblem ::= INTEGER {
114   unrecognizedComponent(0), mistypedComponent(1), badlyStructuredComponent(2)
117 InvokeProblem ::= INTEGER {
118   duplicateInvocation(0), unrecognizedOperation(1), mistypedArgument(2),
119   resourceLimitation(3), releaseInProgress(4), unrecognizedLinkedId(5),
120   linkedResponseUnexpected(6), unexpectedLinkedOperation(7)}
122 ReturnResultProblem ::= INTEGER {
123   unrecognizedInvocation(0), resultResponseUnexpected(1), mistypedResult(2)
126 ReturnErrorProblem ::= INTEGER {
127   unrecognizedInvocation(0), errorResponseUnexpected(1), unrecognizedError(2),
128   unexpectedError(3), mistypedParameter(4)}
130 RejectProblem ::= INTEGER {
131   general-unrecognizedPDU(0), general-mistypedPDU(1),
132   general-badlyStructuredPDU(2), invoke-duplicateInvocation(10),
133   invoke-unrecognizedOperation(11), invoke-mistypedArgument(12),
134   invoke-resourceLimitation(13), invoke-releaseInProgress(14),
135   invoke-unrecognizedLinkedId(15), invoke-linkedResponseUnexpected(16),
136   invoke-unexpectedLinkedOperation(17),
137   returnResult-unrecognizedInvocation(20),
138   returnResult-resultResponseUnexpected(21), returnResult-mistypedResult(22),
139   returnError-unrecognizedInvocation(30),
140   returnError-errorResponseUnexpected(31), returnError-unrecognizedError(32),
141   returnError-unexpectedError(33), returnError-mistypedParameter(34)}
143 InvokeId ::= INTEGER
145 Errors{OPERATION:Operations} ERROR ::= {Operations.&Errors}
147 END -- end of Remote-Operations-Apdus definitions
149 -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D