~ubuntu-branches/ubuntu/trusty/erlang/trusty

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Clint Byrum
  • Date: 2011-05-05 15:48:43 UTC
  • mfrom: (3.5.13 sid)
  • Revision ID: james.westby@ubuntu.com-20110505154843-0om6ekzg6m7ugj27
Tags: 1:14.b.2-dfsg-3ubuntu1
* Merge from debian unstable.  Remaining changes:
  - Drop libwxgtk2.8-dev build dependency. Wx isn't in main, and not
    supposed to.
  - 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.
  - debian/patches/series: Do what I meant, and enable build-options.patch
    instead.
* Additional changes:
  - Drop erlang-wx from -et
* Dropped Changes:
  - patches/pcre-crash.patch: CVE-2008-2371: outer level option with
    alternatives caused crash. (Applied Upstream)
  - fix for ssl certificate verification in newSSL: 
    ssl_cacertfile_fix.patch (Applied Upstream)
  - debian/patches/series: Enable native.patch again, to get stripped beam
    files and reduce the package size again. (build-options is what
    actually accomplished this)
  - Remove build-options.patch on advice from upstream and because it caused
    odd build failures.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
-- Module DistributedOperations (X.518 TC2:08/1997)
 
2
 
 
3
DistributedOperations {joint-iso-itu-t ds(5) module(1) distributedOperations(3)
 
4
  3} 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
  informationFramework, directoryAbstractService, distributedOperations,
 
14
    selectedAttributeTypes, basicAccessControl, dap, enhancedSecurity
 
15
    FROM UsefulDefinitions {joint-iso-itu-t ds(5) module(1)
 
16
      usefulDefinitions(0) 3}
 
17
  DistinguishedName, Name, RDNSequence, SearchRuleId, MRMapping
 
18
    FROM InformationFramework informationFramework
 
19
  PresentationAddress, ProtocolInformation, UniqueIdentifier
 
20
    FROM SelectedAttributeTypes selectedAttributeTypes
 
21
  AuthenticationLevel
 
22
    FROM BasicAccessControl basicAccessControl
 
23
  OPERATION, ERROR
 
24
    FROM Remote-Operations-Information-Objects {joint-iso-itu-t
 
25
      remote-operations(4) informationObjects(5) version1(0)}
 
26
  directoryBind, directoryUnbind, read, compare, abandon, list, search,
 
27
    addEntry, removeEntry, modifyEntry, modifyDN, referral, SecurityParameters,
 
28
    CommonResults
 
29
    FROM DirectoryAbstractService directoryAbstractService
 
30
  OPTIONALLY-PROTECTED{}
 
31
    FROM EnhancedSecurity enhancedSecurity
 
32
  id-errcode-dsaReferral
 
33
    FROM DirectoryAccessProtocol dap;
 
34
 
 
35
-- parameterized type for deriving chained operations 
 
36
chained{OPERATION:operation} OPERATION ::= {
 
37
  ARGUMENT OPTIONALLY-PROTECTED
 
38
    {SET {chainedArgument  ChainingArguments,
 
39
          argument         [0]  operation.&ArgumentType}}
 
40
  RESULT OPTIONALLY-PROTECTED
 
41
    {SET {chainedResult  ChainingResults,
 
42
          result         [0]  operation.&ResultType}}
 
43
  ERRORS
 
44
    {operation.&Errors EXCEPT referral | dsaReferral}
 
45
  CODE                           operation.&operationCode
 
46
}
 
47
 
 
48
--  bind and unbind operations 
 
49
dSABind OPERATION ::= directoryBind
 
50
 
 
51
dSAUnbind OPERATION ::= directoryUnbind
 
52
 
 
53
--  chained operations 
 
54
chainedRead OPERATION ::= chained{read}
 
55
 
 
56
chainedCompare OPERATION ::= chained{compare}
 
57
 
 
58
chainedAbandon OPERATION ::= abandon
 
59
 
 
60
chainedList OPERATION ::= chained{list}
 
61
 
 
62
chainedSearch OPERATION ::= chained{search}
 
63
 
 
64
chainedAddEntry OPERATION ::= chained{addEntry}
 
65
 
 
66
chainedRemoveEntry OPERATION ::= chained{removeEntry}
 
67
 
 
68
chainedModifyEntry OPERATION ::= chained{modifyEntry}
 
69
 
 
70
chainedModifyDN OPERATION ::= chained{modifyDN}
 
71
 
 
72
-- errors and parameters 
 
73
dsaReferral ERROR ::= {
 
74
  PARAMETER OPTIONALLY-PROTECTED
 
75
    {SET {reference      [0]  ContinuationReference,
 
76
          contextPrefix  [1]  DistinguishedName OPTIONAL,
 
77
          COMPONENTS OF CommonResults}}
 
78
  CODE                            id-errcode-dsaReferral
 
79
}
 
80
 
 
81
--  common arguments and results 
 
82
ChainingArguments ::= SET {
 
83
  originator           [0]  DistinguishedName OPTIONAL,
 
84
  targetObject         [1]  DistinguishedName OPTIONAL,
 
85
  operationProgress
 
86
    [2]  OperationProgress DEFAULT {nameResolutionPhase notStarted},
 
87
  traceInformation     [3]  TraceInformation,
 
88
  aliasDereferenced    [4]  BOOLEAN DEFAULT FALSE,
 
89
  aliasedRDNs          [5]  INTEGER OPTIONAL,
 
90
  -- only present in 1988 systems
 
91
  returnCrossRefs      [6]  BOOLEAN DEFAULT FALSE,
 
92
  referenceType        [7]  ReferenceType DEFAULT superior,
 
93
  info                 [8]  DomainInfo OPTIONAL,
 
94
  timeLimit            [9]  Time OPTIONAL,
 
95
  securityParameters   [10]  SecurityParameters DEFAULT {},
 
96
  entryOnly            [11]  BOOLEAN DEFAULT FALSE,
 
97
  uniqueIdentifier     [12]  UniqueIdentifier OPTIONAL,
 
98
  authenticationLevel  [13]  AuthenticationLevel OPTIONAL,
 
99
  exclusions           [14]  Exclusions OPTIONAL,
 
100
  excludeShadows       [15]  BOOLEAN DEFAULT FALSE,
 
101
  nameResolveOnMaster  [16]  BOOLEAN DEFAULT FALSE,
 
102
  operationIdentifier  [17]  INTEGER OPTIONAL,
 
103
  searchRuleId         [18]  SearchRuleId OPTIONAL,
 
104
  chainedRelaxation    [19]  MRMapping OPTIONAL
 
105
}
 
106
 
 
107
Time ::= CHOICE {utcTime          UTCTime,
 
108
                 generalizedTime  GeneralizedTime
 
109
}
 
110
 
 
111
ChainingResults ::= SET {
 
112
  info                [0]  DomainInfo OPTIONAL,
 
113
  crossReferences     [1]  SEQUENCE (SIZE (1..MAX)) OF CrossReference OPTIONAL,
 
114
  securityParameters  [2]  SecurityParameters DEFAULT {},
 
115
  alreadySearched     [3]  Exclusions OPTIONAL
 
116
}
 
117
 
 
118
CrossReference ::= SET {
 
119
  contextPrefix     [0]  DistinguishedName,
 
120
  accessPoint       [1]  AccessPointInformation,
 
121
  chainingRequired  [2]  BOOLEAN DEFAULT FALSE
 
122
}
 
123
 
 
124
ReferenceType ::= ENUMERATED {
 
125
  superior(1), subordinate(2), cross(3), nonSpecificSubordinate(4),
 
126
  supplier(5), master(6), immediateSuperior(7), self(8)}
 
127
 
 
128
TraceInformation ::= SEQUENCE OF TraceItem
 
129
 
 
130
TraceItem ::= SET {
 
131
  dsa                [0]  Name,
 
132
  targetObject       [1]  Name OPTIONAL,
 
133
  operationProgress  [2]  OperationProgress
 
134
}
 
135
 
 
136
OperationProgress ::= SET {
 
137
  nameResolutionPhase
 
138
    [0]  ENUMERATED {notStarted(1), proceeding(2), completed(3)},
 
139
  nextRDNToBeResolved  [1]  INTEGER OPTIONAL
 
140
}
 
141
 
 
142
DomainInfo ::= ABSTRACT-SYNTAX.&Type
 
143
 
 
144
ContinuationReference ::= SET {
 
145
  targetObject         [0]  Name,
 
146
  aliasedRDNs          [1]  INTEGER OPTIONAL, -- only present in 1988 systems
 
147
  operationProgress    [2]  OperationProgress,
 
148
  rdnsResolved         [3]  INTEGER OPTIONAL,
 
149
  referenceType        [4]  ReferenceType,
 
150
  accessPoints         [5]  SET OF AccessPointInformation,
 
151
  entryOnly            [6]  BOOLEAN DEFAULT FALSE,
 
152
  exclusions           [7]  Exclusions OPTIONAL,
 
153
  returnToDUA          [8]  BOOLEAN DEFAULT FALSE,
 
154
  nameResolveOnMaster  [9]  BOOLEAN DEFAULT FALSE
 
155
}
 
156
 
 
157
AccessPoint ::= SET {
 
158
  ae-title             [0]  Name,
 
159
  address              [1]  PresentationAddress,
 
160
  protocolInformation  [2]  SET OF ProtocolInformation OPTIONAL,
 
161
  chainingRequired     [3]  BOOLEAN DEFAULT FALSE
 
162
}
 
163
 
 
164
AccessPointInformation ::= SET {
 
165
  COMPONENTS OF MasterOrShadowAccessPoint,
 
166
  additionalPoints  [5]  MasterAndShadowAccessPoints OPTIONAL
 
167
}
 
168
 
 
169
MasterOrShadowAccessPoint ::= SET {
 
170
  COMPONENTS OF AccessPoint,
 
171
  category  [4]  ENUMERATED {master(0), shadow(1)} DEFAULT master
 
172
}
 
173
 
 
174
MasterAndShadowAccessPoints ::= SET OF MasterOrShadowAccessPoint
 
175
 
 
176
Exclusions ::= SET OF RDNSequence
 
177
 
 
178
END
 
179
 
 
180
-- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D
 
181