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

« back to all changes in this revision

Viewing changes to lib/asn1/test/asn1_SUITE_data/x420/DOR-definition.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 DOR-definition (ISO|IEC 10031-2:1991)
 
2
DOR-definition {joint-iso-itu-t dor(4) reference-definition(0)} DEFINITIONS ::=
 
3
BEGIN
 
4
 
 
5
EXPORTS
 
6
  AE-Identifier, Altered-value, DOR, dor-abstract-syntax, dor-syntax-asn1,
 
7
    dorx, Extend-QoS, Local-reference, Locational-identifier, Produce-QoS,
 
8
    QoS-level, Quality-of-Service, Requested-QoS-level,
 
9
    Single-use-of-reference, Token;
 
10
 
 
11
IMPORTS
 
12
  DistinguishedName
 
13
    FROM InformationFramework {joint-iso-itu-t ds(5) module(1)
 
14
      informationFramework(1) 3}
 
15
  PresentationAddress
 
16
    FROM SelectedAttributeTypes {joint-iso-itu-t ds(5) module(1)
 
17
      selectedAttributeTypes(5) 3};
 
18
 
 
19
-- Defined Object Identifiers
 
20
dorx OBJECT IDENTIFIER ::=
 
21
  {joint-iso-itu-t dor(11)}
 
22
 
 
23
-- Object identifier for abstract syntax of DOR
 
24
dor-abstract-syntax OBJECT IDENTIFIER ::=
 
25
  {dorx reference-abstract-syntax(1)}
 
26
 
 
27
-- Object identifier for abstract syntax of DOR with basic ASN.1 encodings in
 
28
-- EXTERNAL
 
29
dor-syntax-asn1 OBJECT IDENTIFIER ::=
 
30
  {dorx reference-syntax(2) asn1(0)}
 
31
 
 
32
-- Definition of DOR type
 
33
DOR ::= SEQUENCE {
 
34
  ae-identifier       [0]  AE-Identifier OPTIONAL,
 
35
  --  mandatory in case of produce-operations and consume-operations
 
36
  local-reference     [1]  Local-reference,
 
37
  data-object-type    OBJECT IDENTIFIER,
 
38
  -- identifying the abstract syntax and  the transfer syntax of the
 
39
  -- referenced data value
 
40
  quality-of-service  [2]  Quality-of-Service DEFAULT {},
 
41
  token               [3]  Token OPTIONAL
 
42
}
 
43
 
 
44
AE-Identifier ::= SEQUENCE { -- at least one component shall be present
 
45
  locational-identifier        [0]  Locational-identifier OPTIONAL,
 
46
  direct-logical-identifier    [1]  DistinguishedName OPTIONAL,
 
47
  indirect-logical-identifier  [2]  DistinguishedName OPTIONAL
 
48
}
 
49
 
 
50
Locational-identifier ::= SEQUENCE {
 
51
  presentation-address  [0]  PresentationAddress,
 
52
  ae-title              [1]  AE-title OPTIONAL,
 
53
  -- as defined in ISO 8650:1988/Cor.1:1990 
 
54
  application-contexts  SET OF OBJECT IDENTIFIER
 
55
}
 
56
 
 
57
Local-reference ::= SEQUENCE {
 
58
  application         [0]  OCTET STRING OPTIONAL,
 
59
  specific-reference  [1]  OCTET STRING
 
60
}
 
61
 
 
62
Quality-of-Service ::= SEQUENCE {
 
63
  qoS-level           [0]  QoS-level DEFAULT level-1:NULL,
 
64
  usage-of-reference  Single-use-of-reference DEFAULT TRUE
 
65
}
 
66
 
 
67
QoS-level ::= CHOICE {
 
68
  level-1  [1] IMPLICIT NULL,
 
69
  level-2  [2] IMPLICIT GeneralizedTime,
 
70
  -- specifying the produce time 
 
71
  level-3
 
72
    [3] IMPLICIT SEQUENCE {produce-time   GeneralizedTime,
 
73
                           fidelity-time  GeneralizedTime}
 
74
}
 
75
 
 
76
Single-use-of-reference ::= BOOLEAN
 
77
 
 
78
Token ::= CHOICE {
 
79
  simpletoken    OCTET STRING,
 
80
  -- used to validate an access which use this DOR
 
81
  externaltoken  EXTERNAL -- for future proxy mechanism
 
82
}
 
83
 
 
84
-- Data types for produce-operations
 
85
Produce-QoS ::= SEQUENCE {
 
86
  qoS-level           [0]  Requested-QoS-level DEFAULT level-1:NULL,
 
87
  usage-of-reference  Single-use-of-reference DEFAULT TRUE
 
88
}
 
89
 
 
90
Requested-QoS-level ::= CHOICE {
 
91
  level-1  [1] IMPLICIT NULL,
 
92
  level-2  [2] IMPLICIT NULL,
 
93
  level-3  [3] IMPLICIT GeneralizedTime
 
94
  -- specifying the requested fidelity-time
 
95
}
 
96
 
 
97
-- Data types for extending a specific QoS
 
98
Extend-QoS ::= SEQUENCE {
 
99
  qoS-level           [0]  Requested-QoS-level OPTIONAL,
 
100
  -- if omitted, no change required
 
101
  usage-of-reference  Single-use-of-reference OPTIONAL
 
102
  -- if omitted, no change required
 
103
}
 
104
 
 
105
-- Data types for requesting / indicating value alteration in produce-operation
 
106
-- or access-operation
 
107
Altered-value ::= ENUMERATED {
 
108
  value-not-altered(1), value-altered(2), undefined(3)}
 
109
 
 
110
-- dw: definition of AE-title, as defined in ISO 8650:1988/Cor.1:1990 
 
111
-- dw: defined in-line here so we don't need to import it, original comments
 
112
-- dw: are as they appear in the 8650:1988 Annex E
 
113
AP-title ::= TYPE-IDENTIFIER.&Type
 
114
 
 
115
-- The exact definition and values used for AP-title
 
116
-- should be chosen taking into account the ongoing 
 
117
-- work in areas of naming, the Directory, and the 
 
118
-- Registration Authority procedures for AE titles,
 
119
-- AE titles, and AE qualifiers
 
120
AE-qualifier ::= TYPE-IDENTIFIER.&Type
 
121
 
 
122
-- The exact definition and values used for AE-qualifier
 
123
-- should be chosen taking into account the ongoing 
 
124
-- work in areas of naming, the Directory, and the 
 
125
-- Registration Authority procedures for AE titles,
 
126
-- AE titles, and AE qualifiers
 
127
AE-title ::= SEQUENCE {ap  AP-title,
 
128
                       ae  AE-qualifier
 
129
}
 
130
 
 
131
END -- of DOR-definition
 
132
 
 
133
-- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D
 
134