MSWSP: add parse_CNatLanguageRestriction()
[wireshark-wip.git] / asn1 / idmp / IDMProtocolSpecification.asn
blob41955d251ed1d6188914578889b1bc6d4b702930
1 -- $Id$
2 -- http://www.itu.int/ITU-T/formal-language/itu-t/x/x519/2005/IDMProtocolSpecification.asn
3 -- Module IDMProtocolSpecification (X.519:08/2005)
4 IDMProtocolSpecification {joint-iso-itu-t ds(5) module(1)
5   iDMProtocolSpecification(30) 5} DEFINITIONS ::=
6 BEGIN
8 -- EXPORTS All 
9 -- The types and values defined in this module are exported for use in the other ASN.1 modules contained 
10 -- within the Directory Specifications, and for the use of other applications which will use them to access Directory
11 -- services. Other applications may use them for their own purposes, but this will not constrain extensions
12 -- and modifications needed to maintain or improve the Directory service.
13 IMPORTS
14   -- from ITU-T Rec. X.501 | ISO/IEC 9594-2
15   certificateExtensions, commonProtocolSpecification, directoryAbstractService,
16     directoryIDMProtocols, enhancedSecurity
17     FROM UsefulDefinitions {joint-iso-itu-t ds(5) module(1)
18       usefulDefinitions(0) 5}
19   -- from ITU-T Rec. X.509 | ISO/IEC 9594-8
20   GeneralName
21     FROM CertificateExtensions certificateExtensions
22   -- from ITU-T Rec. X.511 | ISO/IEC 9594-3
23   SecurityProblem, ServiceProblem, Versions
24     FROM DirectoryAbstractService directoryAbstractService
25   -- from ITU-T Rec. X.519 | ISO/IEC 9594-5
26   InvokeId, OPERATION
27     FROM CommonProtocolSpecification commonProtocolSpecification;
29 -- IDM-protocol information object class 
30 IDM-PROTOCOL ::= CLASS {
31   &bind-operation  OPERATION,
32   &Operations      OPERATION,
33   &id              OBJECT IDENTIFIER UNIQUE
34 }WITH SYNTAX {BIND-OPERATION &bind-operation
35               OPERATIONS &Operations
36               ID &id
39 -- IDM protocol 
40 IDM-PDU{IDM-PROTOCOL:protocol} ::= CHOICE {
41   bind         [0]  IdmBind{{protocol}},
42   bindResult   [1]  IdmBindResult{{protocol}},
43   bindError    [2]  IdmBindError{{protocol}},
44   request      [3]  Request{{protocol.&Operations}},
45   result       [4]  IdmResult{{protocol.&Operations}},
46   error        [5]  Error{{protocol.&Operations}},
47   reject       [6]  IdmReject,
48   unbind       [7]  Unbind,
49   abort        [8]  Abort,
50   startTLS     [9]  StartTLS,
51   tLSResponse  [10]  TLSResponse
54 IdmBind{IDM-PROTOCOL:Protocols} ::= SEQUENCE {
55   protocolID      IDM-PROTOCOL.&id({Protocols}),
56   callingAETitle  [0]  GeneralName OPTIONAL,
57   calledAETitle   [1]  GeneralName OPTIONAL,
58   argument
59     [2]  IDM-PROTOCOL.&bind-operation.&ArgumentType({Protocols}{@protocolID})
62 IdmBindResult{IDM-PROTOCOL:Protocols} ::= SEQUENCE {
63   protocolID         IDM-PROTOCOL.&id({Protocols}),
64   respondingAETitle  [0]  GeneralName OPTIONAL,
65   result
66     [1]  IDM-PROTOCOL.&bind-operation.&ResultType({Protocols}{@protocolID})
69 IdmBindError{IDM-PROTOCOL:Protocols} ::= SEQUENCE {
70   protocolID         IDM-PROTOCOL.&id({Protocols}),
71   errcode
72     IDM-PROTOCOL.&bind-operation.&Errors.&errorCode({Protocols}{@protocolID}),
73   respondingAETitle  [0]  GeneralName OPTIONAL,
74   aETitleError
75     ENUMERATED {callingAETitleNotAccepted(0), calledAETitleNotRecognized(1)}
76       OPTIONAL,
77   error
78     [1]  IDM-PROTOCOL.&bind-operation.&Errors.&ParameterType
79            ({Protocols}{@protocolID, @errcode})
82 Unbind ::= NULL
84 Request{OPERATION:Operations} ::= SEQUENCE {
85   invokeID  INTEGER,
86   opcode    OPERATION.&operationCode({Operations}),
87   argument  OPERATION.&ArgumentType({Operations}{@opcode})
90 IdmResult{OPERATION:Operations} ::= SEQUENCE {
91   invokeID  InvokeId,
92   opcode    OPERATION.&operationCode({Operations}),
93   result    OPERATION.&ResultType({Operations}{@opcode})
96 Error{OPERATION:Operations} ::= SEQUENCE {
97   invokeID  INTEGER,
98   errcode   OPERATION.&Errors.&errorCode({Operations}),
99   error     OPERATION.&Errors.&ParameterType({Operations}{@errcode})
102 IdmReject ::= SEQUENCE {
103   invokeID  INTEGER,
104   reason
105     ENUMERATED {mistypedPDU(0), duplicateInvokeIDRequest(1),
106                 unsupportedOperationRequest(2), unknownOperationRequest(3),
107                 mistypedArgumentRequest(4), resourceLimitationRequest(5),
108                 unknownInvokeIDResult(6), mistypedResultRequest(7),
109                 unknownInvokeIDError(8), unknownError(9),
110                 mistypedParameterError(10)}
113 Abort ::= ENUMERATED {
114   mistypedPDU(0), unboundRequest(1), invalidPDU(2), resourceLimitation(3),
115   connectionFailed(4), invalidProtocol(5), reasonNotSpecified(6)}
117 StartTLS ::= NULL
119 TLSResponse ::= ENUMERATED {
120   success(0), operationsError(1), protocolError(2), unavailable(3)}
122 END -- IDMProtocolSpecification
124 -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D