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

« back to all changes in this revision

Viewing changes to lib/asn1/test/asn1_SUITE_data/x420/IPMSFileTransferBodyPartType.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 IPMSFileTransferBodyPartType (X.420:06/1999)
 
2
IPMSFileTransferBodyPartType {joint-iso-itu-t mhs(6) ipms(1) modules(0)
 
3
  file-transfer-body-part-type(9)} DEFINITIONS IMPLICIT TAGS ::=
 
4
BEGIN
 
5
 
 
6
-- Prologue
 
7
-- Exports everything.
 
8
IMPORTS
 
9
  -- FTAM Attribute Types
 
10
  Attribute-Extensions, Concurrency-Access, Date-and-Time-Attribute,
 
11
    Legal-Qualification-Attribute, Object-Availability-Attribute,
 
12
    Object-Size-Attribute, Pathname, Permitted-Actions-Attribute,
 
13
    Private-Use-Attribute
 
14
    --==
 
15
    FROM ISO8571-FTAM {iso standard 8571 application-context(1) iso-ftam(1)}
 
16
  -- ACSE definitions of AP-title and AE-qualifier
 
17
  AE-qualifier, AP-title
 
18
    --==
 
19
    FROM ACSE-1 {joint-iso-itu-t association-control(2) modules(0) apdus(0)
 
20
      version1(1)}
 
21
  -- IPMS Information Objects
 
22
  EXTENDED-BODY-PART-TYPE, ExtensionsField
 
23
    --==
 
24
    FROM IPMSInformationObjects {joint-iso-itu-t mhs(6) ipms(1) modules(0)
 
25
      information-objects(2) version-1999(1)}
 
26
  -- IPMS Object Identifiers
 
27
  id-ep-file-transfer, id-et-file-transfer
 
28
    --==
 
29
    FROM IPMSObjectIdentifiers {joint-iso-itu-t mhs(6) ipms(1) modules(0)
 
30
      object-identifiers(0) version-1999(1)}
 
31
  -- MTS Abstract Service
 
32
  ORName
 
33
    --==
 
34
    FROM MTSAbstractService {joint-iso-itu-t mhs(6) mts(3) modules(0)
 
35
      mts-abstract-service(1) version-1999(1)};
 
36
 
 
37
-- File Transfer body part
 
38
file-transfer-body-part EXTENDED-BODY-PART-TYPE ::= {
 
39
  PARAMETERS  {FileTransferParameters
 
40
               IDENTIFIED BY  id-ep-file-transfer},
 
41
  DATA        {FileTransferData
 
42
               IDENTIFIED BY  id-et-file-transfer}
 
43
}
 
44
 
 
45
FileTransferParameters ::= SEQUENCE {
 
46
  related-stored-file  [0]  RelatedStoredFile OPTIONAL,
 
47
  contents-type
 
48
    [1]  ContentsTypeParameter
 
49
      DEFAULT
 
50
        document-type:
 
51
          {document-type-name
 
52
           {iso standard 8571 document-type(5) unstructured-binary(3)}},
 
53
  environment          [2]  EnvironmentParameter OPTIONAL,
 
54
  compression          [3]  CompressionParameter OPTIONAL,
 
55
  file-attributes      [4]  FileAttributes OPTIONAL,
 
56
  extensions           [5]  ExtensionsField OPTIONAL
 
57
}
 
58
 
 
59
FileTransferData ::= SEQUENCE OF EXTERNAL
 
60
 
 
61
-- This conveys a sequence of data values representing file contents;
 
62
-- The rules for generating this sequence are implied by the value of the contents-type parameter.
 
63
RelatedStoredFile ::=
 
64
  SET OF
 
65
    SEQUENCE {file-identifier  FileIdentifier,
 
66
              relationship
 
67
                Relationship DEFAULT explicit-relationship:unspecified
 
68
    }
 
69
 
 
70
FileIdentifier ::= CHOICE {
 
71
  pathname-and-version  [0]  PathnameandVersion,
 
72
  cross-reference       [1]  CrossReference
 
73
}
 
74
 
 
75
PathnameandVersion ::= SEQUENCE {
 
76
  pathname      [0]  Pathname-Attribute,
 
77
  file-version  [1]  GraphicString OPTIONAL
 
78
}
 
79
 
 
80
CrossReference ::= SEQUENCE {
 
81
  application-cross-reference  [0]  OCTET STRING,
 
82
  message-reference            [1]  MessageReference OPTIONAL,
 
83
  body-part-reference          [2]  INTEGER OPTIONAL
 
84
}
 
85
 
 
86
MessageReference ::= SET {
 
87
  user                      [0]  ORName OPTIONAL,
 
88
  -- Defined in 8.5.5 of ITU-T Rec. X.411 | ISO/IEC 10021-4
 
89
  user-relative-identifier  [1]  PrintableString
 
90
}
 
91
 
 
92
Relationship ::= CHOICE {
 
93
  explicit-relationship     [0]  ExplicitRelationship,
 
94
  descriptive-relationship  [1]  GraphicString
 
95
}
 
96
 
 
97
ExplicitRelationship ::= INTEGER {
 
98
  unspecified(0), new-file(1), replacement(2), extension(3)}
 
99
 
 
100
ContentsTypeParameter ::= Contents-Type-Attribute
 
101
 
 
102
Contents-Type-Attribute ::= CHOICE {
 
103
  document-type
 
104
    [0]  SEQUENCE {document-type-name  Document-Type-Name,
 
105
                   parameter           [0]  DOCUMENT-PARAMETER.&Type OPTIONAL
 
106
  },
 
107
  -- The actual types to be used for values of the parameter field
 
108
  -- are defined in the named document type.
 
109
  constraint-set-and-abstract-syntax
 
110
    [1]  SEQUENCE {constraint-set-name   Constraint-Set-Name,
 
111
                   abstract-syntax-name  Abstract-Syntax-Name}
 
112
}
 
113
 
 
114
Document-Type-Name ::= OBJECT IDENTIFIER
 
115
 
 
116
DOCUMENT-PARAMETER ::= CLASS {&Type  
 
117
}
 
118
 
 
119
Constraint-Set-Name ::= OBJECT IDENTIFIER
 
120
 
 
121
Abstract-Syntax-Name ::= OBJECT IDENTIFIER
 
122
 
 
123
EnvironmentParameter ::= SEQUENCE {
 
124
  application-reference  [0]  GeneralIdentifier OPTIONAL,
 
125
  machine                [1]  GeneralIdentifier OPTIONAL,
 
126
  operating-system       [2]  OBJECT IDENTIFIER OPTIONAL,
 
127
  user-visible-string    [3]  SEQUENCE OF GraphicString OPTIONAL
 
128
}
 
129
 
 
130
GeneralIdentifier ::= CHOICE {
 
131
  registered-identifier   [0]  OBJECT IDENTIFIER,
 
132
  descriptive-identifier  [1]  SEQUENCE OF GraphicString
 
133
}
 
134
 
 
135
CompressionParameter ::= SEQUENCE {
 
136
  compression-algorithm-id
 
137
    [0]  COMPRESSION-ALGORITHM.&id({CompressionAlgorithmTable}),
 
138
  compression-algorithm-param
 
139
    [1]  COMPRESSION-ALGORITHM.&Type
 
140
           ({CompressionAlgorithmTable}{@compression-algorithm-id})
 
141
}
 
142
 
 
143
COMPRESSION-ALGORITHM ::= TYPE-IDENTIFIER
 
144
 
 
145
CompressionAlgorithmTable COMPRESSION-ALGORITHM ::=
 
146
  {...}
 
147
 
 
148
FileAttributes ::= SEQUENCE {
 
149
  pathname                                      Pathname-Attribute OPTIONAL,
 
150
  permitted-actions
 
151
    [1]  Permitted-Actions-Attribute OPTIONAL,
 
152
  storage-account                               [3]  Account-Attribute OPTIONAL,
 
153
  date-and-time-of-creation
 
154
    [4]  Date-and-Time-Attribute OPTIONAL,
 
155
  date-and-time-of-last-modification
 
156
    [5]  Date-and-Time-Attribute OPTIONAL,
 
157
  date-and-time-of-last-read-access
 
158
    [6]  Date-and-Time-Attribute OPTIONAL,
 
159
  date-and-time-of-last-attribute-modification
 
160
    [7]  Date-and-Time-Attribute OPTIONAL,
 
161
  identity-of-creator
 
162
    [8]  User-Identity-Attribute OPTIONAL,
 
163
  identity-of-last-modifier
 
164
    [9]  User-Identity-Attribute OPTIONAL,
 
165
  identity-of-last-reader
 
166
    [10]  User-Identity-Attribute OPTIONAL,
 
167
  identity-of-last-attribute-modifier
 
168
    [11]  User-Identity-Attribute OPTIONAL,
 
169
  object-availability
 
170
    [12]  Object-Availability-Attribute OPTIONAL,
 
171
  object-size
 
172
    [13]  Object-Size-Attribute OPTIONAL,
 
173
  future-object-size
 
174
    [14]  Object-Size-Attribute OPTIONAL,
 
175
  access-control
 
176
    [15]  Access-Control-Attribute OPTIONAL,
 
177
  legal-qualifications
 
178
    [16]  Legal-Qualification-Attribute OPTIONAL,
 
179
  private-use
 
180
    [17]  Private-Use-Attribute OPTIONAL,
 
181
  attribute-extensions
 
182
    [22]  Attribute-Extensions OPTIONAL
 
183
}
 
184
 
 
185
Pathname-Attribute ::= CHOICE {
 
186
  incomplete-pathname  [0]  Pathname,
 
187
  complete-pathname    [23]  Pathname
 
188
}
 
189
 
 
190
Account-Attribute ::= CHOICE {
 
191
  no-value-available  [0]  NULL,
 
192
  -- Indicates partial support of this attribute
 
193
  actual-values       Account
 
194
}
 
195
 
 
196
Account ::= GraphicString
 
197
 
 
198
User-Identity-Attribute ::= CHOICE {
 
199
  no-value-available  [0]  NULL,
 
200
  -- Indicates partial support of this attribute.
 
201
  actual-values       User-Identity
 
202
}
 
203
 
 
204
User-Identity ::= GraphicString
 
205
 
 
206
Access-Control-Attribute ::= CHOICE {
 
207
  no-value-available  [0]  NULL,
 
208
  -- Indicates partial support of this attribute.
 
209
  actual-values       [1]  SET OF Access-Control-Element
 
210
}
 
211
 
 
212
--  The semantics of this attribute are described in ISO 8571-2
 
213
Access-Control-Element ::= SEQUENCE {
 
214
  action-list         [0]  Access-Request,
 
215
  concurrency-access  [1]  Concurrency-Access OPTIONAL,
 
216
  identity            [2]  User-Identity OPTIONAL,
 
217
  passwords           [3]  Access-Passwords OPTIONAL,
 
218
  location            [4]  Application-Entity-Title OPTIONAL
 
219
}
 
220
 
 
221
Access-Request ::= BIT STRING {
 
222
  read(0), insert(1), replace(2), extend(3), erase(4), read-attribute(5),
 
223
  change-attribute(6), delete-object(7)}
 
224
 
 
225
Access-Passwords ::= SEQUENCE {
 
226
  read-password              [0]  Password,
 
227
  insert-password            [1]  Password,
 
228
  replace-password           [2]  Password,
 
229
  extend-password            [3]  Password,
 
230
  erase-password             [4]  Password,
 
231
  read-attribute-password    [5]  Password,
 
232
  change-attribute-password  [6]  Password,
 
233
  delete-password            [7]  Password,
 
234
  pass-passwords             [8]  Pass-Passwords,
 
235
  link-password              [9]  Password
 
236
}
 
237
 
 
238
Password ::= CHOICE {
 
239
  graphic-string  GraphicString,
 
240
  octet-string    OCTET STRING
 
241
}
 
242
 
 
243
Pass-Passwords ::= SEQUENCE OF Password
 
244
 
 
245
Application-Entity-Title ::= SEQUENCE {
 
246
  ap-title      AP-title,
 
247
  ae-qualifier  AE-qualifier
 
248
}
 
249
 
 
250
END -- of IPMSFileTransferBodyPartType
 
251
 
 
252
-- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D
 
253