~statik/ubuntu/maverick/erlang/erlang-merge-testing

« back to all changes in this revision

Viewing changes to lib/asn1/test/asn1_SUITE_data/x420/DirectoryInformationShadowProtocol.asn

  • Committer: Elliot Murphy
  • Date: 2010-06-08 03:55:44 UTC
  • mfrom: (3.5.6 squeeze)
  • Revision ID: elliot@elliotmurphy.com-20100608035544-dd8zh2swk7jr5rz2
* Merge with Debian unstable; remaining Ubuntu changes:
  - Drop libwxgtk2.8-dev build dependency. Wx isn't in main, and not
    supposed to. (LP #438365)
  - Drop erlang-wx binary.
  - Drop erlang-wx dependency from -megaco, -common-test, and -reltool, they
    do not really need wx. Also drop it from -debugger; the GUI needs wx,
    but it apparently has CLI bits as well, and is also needed by -megaco,
    so let's keep the package for now.
* Added missing symlinks to /usr/include for a few new header files.
* Fixed generation of ${erlang-base:Depends} and ${erlang-x11:Depends}
  substitution variables.
* Added a fix for a re:compile/2 crash on a long regular expression.
* Changed urgency to medium as the change fixes a security bug.
* Manpages in section 1 are needed even if only arch-dependent packages are
  built. So, re-enabled them.
* Fixed HiPE architecture recognition for powerpc Debian architecture.
* Moved xsltproc and fop to build-depends-indep and do not build
  documentation if only architecture-specific packages are built.
* Refreshed all patches.
* Made Emacs look in man5 and man7 for Erlang manpages and added code
  skeleton files to erlang-mode package.
* New upstream release.
* Moved manpages from incorrect sections 4 and 6 to correct 5 and 7
  (closes: #498492).
* Made manpages regexp in Emacs mode match only 3erl pages in section 3.
* Removed docb_gen script which is no longer needed to build manpages.
* Added erlang-doc package which contains documentation in HTML and PDF
  formats. This package replaces erlang-doc-html package and it's easier
  to synchronize it with the main Erlang packages as it's built from
  a single source package (closes: #558451).
* Removed RPATH from ssl and crypto application binaries as required by
  Debian policy.
* Added libwxgtk2.4-dev and libwxgtk2.6-dev to build conflicts.
* Added a few dpendencies for erlang-dialyzer, erlang-et, erlang-observer
  and erlang-examples packages which now call functions from more modules
  than in 1:13.b.3.
* Added a workaround which disables vfork() for hppa architecture
  (closes: #562218).
* Strictened check for JDK 1.5 adding a call to String(int[], int, int)
  because GCJ 4.4 doesn't implement it and OpenJDK isn't available for all
  architectures.
* Fixed erlang-manpages package section.
* Made erlang-depends add only substvars which are requested in
  debian/control file. This minimizes number of warnings from dh_gencontrol.
  Also, improved descriptions of the functions in erlang-depends escript.
* Added erlang-erl-docgen package to erlang-nox dependencies.
* Made dummy packages erlang-nox and erlang-x11 architecture all.
* Cleaned up working with custom substitution variables in debian/rules.
* Reorganized debian/rules to ensure that manpages arent built twice, and
  aren't built at all if only architecture-dependent packages are requested.
* Fixed project links in README.Debian.
* Added a new package erlang-jinterface which provides tools for
  communication of Java programs with Erlang processes. This adds build
  depandency on default-jdk and as a result enables Java module for IDL
  compiler.
* Bumped standards version to 3.8.4.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
-- Module DirectoryInformationShadowProtocol (X.519 TC2:08/1997)
 
2
 
 
3
DirectoryInformationShadowProtocol {joint-iso-itu-t ds(5) module(1) disp(16) 3}
 
4
DEFINITIONS ::=
 
5
BEGIN
 
6
 
 
7
-- EXPORTS All 
 
8
-- The types and values defined in this module are exported for use in the other ASN.1 modules contained 
 
9
-- within the Directory Specifications, and for the use of other applications which will use them to access 
 
10
-- Directory services. Other applications may use them for their own purposes, but this will not constrain
 
11
-- extensions and modifications needed to maintain or improve the Directory service.
 
12
IMPORTS
 
13
  directoryShadowAbstractService, protocolObjectIdentifiers
 
14
    FROM UsefulDefinitions {joint-iso-itu-t ds(5) module(1)
 
15
      usefulDefinitions(0) 3}
 
16
  ROS-OBJECT-CLASS, CONTRACT, OPERATION-PACKAGE, CONNECTION-PACKAGE, 
 
17
    Code, OPERATION
 
18
    FROM Remote-Operations-Information-Objects {joint-iso-itu-t
 
19
      remote-operations(4) informationObjects(5) version1(0)}
 
20
  ROS{}, Bind{}, Unbind{}, InvokeId
 
21
    FROM Remote-Operations-Generic-ROS-PDUs {joint-iso-itu-t
 
22
      remote-operations(4) generic-ROS-PDUs(6) version1(0)}
 
23
  APPLICATION-CONTEXT
 
24
    FROM Remote-Operations-Information-Objects-extensions {joint-iso-itu-t
 
25
      remote-operations(4) informationObjects-extensions(8) version1(0)}
 
26
  acse, pData, association-by-RTSE, transfer-by-RTSE
 
27
    FROM Remote-Operations-Realizations {joint-iso-itu-t remote-operations(4)
 
28
      realizations(9) version1(0)}
 
29
  acse-abstract-syntax
 
30
    FROM Remote-Operations-Abstract-Syntaxes {joint-iso-itu-t
 
31
      remote-operations(4) remote-operations-abstract-syntaxes(12) version1(0)}
 
32
  id-ac-shadowSupplierInitiatedAC, id-ac-shadowSupplierInitiatedAsynchronousAC,
 
33
    id-ac-shadowConsumerInitiatedAC,
 
34
    id-ac-shadowConsumerInitiatedAsynchronousAC,
 
35
    id-ac-reliableShadowSupplierInitiatedAC,
 
36
    id-ac-reliableShadowConsumerInitiatedAC,
 
37
    id-rosObject-initiatingConsumerDSA, id-rosObject-respondingSupplierDSA,
 
38
    id-rosObject-initiatingSupplierDSA, id-rosObject-respondingConsumerDSA,
 
39
    id-contract-shadowConsumer, id-contract-shadowSupplier,
 
40
    id-package-dispConnection, id-package-shadowConsumer,
 
41
    id-package-shadowSupplier, id-as-directoryShadowAS,
 
42
    id-as-directoryReliableShadowAS, id-as-reliableShadowBindingAS
 
43
    FROM ProtocolObjectIdentifiers protocolObjectIdentifiers
 
44
  dSAShadowBind, dSAShadowUnbind, requestShadowUpdate, updateShadow,
 
45
    coordinateShadowUpdate
 
46
    FROM DirectoryShadowAbstractService directoryShadowAbstractService
 
47
  RTORQapdu, RTOACapdu, RTORJapdu
 
48
    FROM Reliable-Transfer-APDU {joint-iso-itu-t reliable-transfer(3) apdus(0)};
 
49
 
 
50
RTSE-apdus ::= CHOICE {
 
51
  rtorq-apdu  [16] IMPLICIT RTORQapdu,
 
52
  rtoac-apdu  [17] IMPLICIT RTOACapdu,
 
53
  rtorj-apdu  [18] IMPLICIT RTORJapdu,
 
54
  rttp-apdu   RTTPapdu,
 
55
  rttr-apdu   RTTRapdu,
 
56
  rtab-apdu   [22] IMPLICIT RTABapdu
 
57
}
 
58
 
 
59
RTTPapdu ::= -- priority-- INTEGER
 
60
 
 
61
RTTRapdu ::= OCTET STRING
 
62
 
 
63
RTABapdu ::= SET {
 
64
  abortReason         [0] IMPLICIT AbortReason OPTIONAL,
 
65
  reflectedParameter  [1] IMPLICIT BIT STRING OPTIONAL,
 
66
  -- 8 bits maximum, only if abortReason is invalidParameter
 
67
  userdataAB
 
68
    [2]  TYPE-IDENTIFIER.&Type
 
69
      OPTIONAL -- only in normal mode and if abortReason--
 
70
  -- is userError 
 
71
}
 
72
 
 
73
AbortReason ::= INTEGER {
 
74
  localSystemProblem(0),
 
75
  invalidParameter(1), -- reflectedParameter supplied
 
76
  unrecognizedActivity(2),
 
77
  temporaryProblem(3),
 
78
  -- the RTSE cannot accept a session for a period of time
 
79
  protocolError(4), -- RTSE level protocol error
 
80
  permanentProblem(5), --provider-abort solely in normal mode 
 
81
  userError(6), -- user-abort solely in normal mode
 
82
  transferCompleted(7) -- activity can't be discarded--}
 
83
 
 
84
-- application contexts 
 
85
shadowSupplierInitiatedAC APPLICATION-CONTEXT ::= {
 
86
  CONTRACT                  shadowSupplierContract
 
87
  ESTABLISHED BY            acse
 
88
  INFORMATION TRANSFER BY   pData
 
89
  ABSTRACT SYNTAXES
 
90
    {acse-abstract-syntax | directoryShadowAbstractSyntax}
 
91
  APPLICATION CONTEXT NAME  id-ac-shadowSupplierInitiatedAC
 
92
}
 
93
 
 
94
shadowSupplierInitiatedAsynchronousAC APPLICATION-CONTEXT ::= {
 
95
  CONTRACT                  shadowSupplierContract
 
96
  ESTABLISHED BY            acse
 
97
  INFORMATION TRANSFER BY   pData
 
98
  ABSTRACT SYNTAXES
 
99
    {acse-abstract-syntax | directoryShadowAbstractSyntax}
 
100
  APPLICATION CONTEXT NAME  id-ac-shadowSupplierInitiatedAsynchronousAC
 
101
}
 
102
 
 
103
shadowConsumerInitiatedAC APPLICATION-CONTEXT ::= {
 
104
  CONTRACT                  shadowConsumerContract
 
105
  ESTABLISHED BY            acse
 
106
  INFORMATION TRANSFER BY   pData
 
107
  ABSTRACT SYNTAXES
 
108
    {acse-abstract-syntax | directoryShadowAbstractSyntax}
 
109
  APPLICATION CONTEXT NAME  id-ac-shadowConsumerInitiatedAC
 
110
}
 
111
 
 
112
shadowConsumerInitiatedAsynchronousAC APPLICATION-CONTEXT ::= {
 
113
  CONTRACT                  shadowConsumerContract
 
114
  ESTABLISHED BY            acse
 
115
  INFORMATION TRANSFER BY   pData
 
116
  ABSTRACT SYNTAXES
 
117
    {acse-abstract-syntax | directoryShadowAbstractSyntax}
 
118
  APPLICATION CONTEXT NAME  id-ac-shadowConsumerInitiatedAsynchronousAC
 
119
}
 
120
 
 
121
reliableShadowSupplierInitiatedAC APPLICATION-CONTEXT ::= {
 
122
  CONTRACT                  shadowSupplierContract
 
123
  ESTABLISHED BY            association-by-RTSE
 
124
  INFORMATION TRANSFER BY   transfer-by-RTSE
 
125
  ABSTRACT SYNTAXES
 
126
    {acse-abstract-syntax | reliableShadowBindingAbstractSyntax |
 
127
      directoryReliableShadowAbstractSyntax}
 
128
  APPLICATION CONTEXT NAME  id-ac-reliableShadowSupplierInitiatedAC
 
129
}
 
130
 
 
131
reliableShadowConsumerInitiatedAC APPLICATION-CONTEXT ::= {
 
132
  CONTRACT                  shadowConsumerContract
 
133
  ESTABLISHED BY            association-by-RTSE
 
134
  INFORMATION TRANSFER BY   transfer-by-RTSE
 
135
  ABSTRACT SYNTAXES
 
136
    {acse-abstract-syntax | reliableShadowBindingAbstractSyntax |
 
137
      directoryReliableShadowAbstractSyntax}
 
138
  APPLICATION CONTEXT NAME  id-ac-reliableShadowConsumerInitiatedAC
 
139
}
 
140
 
 
141
-- ROS objects 
 
142
initiating-consumer-dsa ROS-OBJECT-CLASS ::= {
 
143
  INITIATES  {shadowConsumerContract}
 
144
  ID         id-rosObject-initiatingConsumerDSA
 
145
}
 
146
 
 
147
responding-supplier-dsa ROS-OBJECT-CLASS ::= {
 
148
  RESPONDS  {shadowConsumerContract}
 
149
  ID        id-rosObject-respondingSupplierDSA
 
150
}
 
151
 
 
152
initiating-supplier-dsa ROS-OBJECT-CLASS ::= {
 
153
  INITIATES  {shadowSupplierContract}
 
154
  ID         id-rosObject-initiatingSupplierDSA
 
155
}
 
156
 
 
157
responding-consumer-dsa ROS-OBJECT-CLASS ::= {
 
158
  RESPONDS  {shadowSupplierContract}
 
159
  ID        id-rosObject-respondingConsumerDSA
 
160
}
 
161
 
 
162
-- contracts 
 
163
shadowConsumerContract CONTRACT ::= {
 
164
  CONNECTION             dispConnectionPackage
 
165
  INITIATOR CONSUMER OF  {shadowConsumerPackage}
 
166
  ID                     id-contract-shadowConsumer
 
167
}
 
168
 
 
169
shadowSupplierContract CONTRACT ::= {
 
170
  CONNECTION             dispConnectionPackage
 
171
  RESPONDER CONSUMER OF  {shadowSupplierPackage}
 
172
  ID                     id-contract-shadowSupplier
 
173
}
 
174
 
 
175
-- connection package 
 
176
dispConnectionPackage CONNECTION-PACKAGE ::= {
 
177
  BIND    dSAShadowBind
 
178
  UNBIND  dSAShadowUnbind
 
179
  ID      id-package-dispConnection
 
180
}
 
181
 
 
182
-- packages 
 
183
shadowConsumerPackage OPERATION-PACKAGE ::= {
 
184
  CONSUMER INVOKES  {requestShadowUpdate}
 
185
  SUPPLIER INVOKES  {updateShadow}
 
186
  ID                id-package-shadowConsumer
 
187
}
 
188
 
 
189
shadowSupplierPackage OPERATION-PACKAGE ::= {
 
190
  SUPPLIER INVOKES  {coordinateShadowUpdate | updateShadow}
 
191
  ID                id-package-shadowSupplier
 
192
}
 
193
 
 
194
-- abstract syntaxes 
 
195
directoryShadowAbstractSyntax ABSTRACT-SYNTAX ::= {
 
196
  DISP-PDUs
 
197
  IDENTIFIED BY  id-as-directoryShadowAS
 
198
}
 
199
 
 
200
directoryReliableShadowAbstractSyntax ABSTRACT-SYNTAX ::= {
 
201
  Reliable-DISP-PDUs
 
202
  IDENTIFIED BY  id-as-directoryReliableShadowAS
 
203
}
 
204
 
 
205
reliableShadowBindingAbstractSyntax ABSTRACT-SYNTAX ::= {
 
206
  ReliableShadowBinding-PDUs
 
207
  IDENTIFIED BY  id-as-reliableShadowBindingAS
 
208
}
 
209
 
 
210
DISP-PDUs ::= CHOICE {
 
211
  basicROS  ROS{{DISP-InvokeIDSet}, {DISP-Invokable}, {DISP-Returnable}},
 
212
  bind      Bind{dSAShadowBind},
 
213
  unbind    Unbind{dSAShadowUnbind}
 
214
}
 
215
 
 
216
Reliable-DISP-PDUs ::=
 
217
  ROS{{DISP-InvokeIDSet}, {DISP-Invokable}, {DISP-Returnable}}
 
218
 
 
219
ReliableShadowBinding-PDUs ::= CHOICE {
 
220
  rTS     [0]  RTSE-apdus,
 
221
  bind    Bind{dSAShadowBind},
 
222
  unbind  Unbind{dSAShadowUnbind}
 
223
}
 
224
 
 
225
DISP-InvokeIDSet ::= InvokeId(ALL EXCEPT absent:NULL)
 
226
 
 
227
DISP-Invokable OPERATION ::=
 
228
  {requestShadowUpdate | updateShadow | coordinateShadowUpdate}
 
229
 
 
230
DISP-Returnable OPERATION ::=
 
231
  {requestShadowUpdate | updateShadow | coordinateShadowUpdate}
 
232
 
 
233
--  remote operation codes 
 
234
id-opcode-requestShadowUpdate Code ::= local:1
 
235
 
 
236
id-opcode-updateShadow Code ::= local:2
 
237
 
 
238
id-opcode-coordinateShadowUpdate Code ::= local:3
 
239
 
 
240
-- remote error codes 
 
241
id-errcode-shadowError Code ::= local:1
 
242
 
 
243
END -- DirectoryInformationShadowProtocol
 
244
 
 
245
-- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D
 
246