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

« back to all changes in this revision

Viewing changes to lib/asn1/test/asn1_SUITE_data/Default.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
Default DEFINITIONS AUTOMATIC TAGS ::=
 
2
 
 
3
BEGIN
 
4
 
 
5
SeqInts ::= SEQUENCE {
 
6
  a   INTEGER DEFAULT 1,
 
7
  b   INTEGER DEFAULT -1,
 
8
  c   INTEGER {one(1),two(2),three(3)} DEFAULT three,
 
9
  d   INTEGER DEFAULT one
 
10
}
 
11
 
 
12
SetInts ::= SET {
 
13
  a INTEGER DEFAULT 1,
 
14
  b INTEGER DEFAULT -1,
 
15
  c INTEGER {one(1),two(2),three(3)} DEFAULT three,
 
16
  d INTEGER DEFAULT one
 
17
}
 
18
 
 
19
 
 
20
SeqBS ::= SEQUENCE {
 
21
  a BIT STRING DEFAULT '1010110'B,
 
22
  b BIT STRING DEFAULT 'A8A'H,
 
23
  c BIT STRING {first(0),second(1),third(2)} DEFAULT {second},
 
24
  d BIT STRING DEFAULT onelist
 
25
}
 
26
 
 
27
SetBS ::= SET {
 
28
  a BIT STRING DEFAULT '1010110'B,
 
29
  b BIT STRING DEFAULT 'A8A'H,
 
30
  c BIT STRING {first(0),second(1),third(2)} DEFAULT {second},
 
31
  d BIT STRING DEFAULT onelist
 
32
}
 
33
 
 
34
onelist BIT STRING ::= '1001'B
 
35
 
 
36
SeqOS ::= SEQUENCE {
 
37
  a OCTET STRING DEFAULT '1010110'B,
 
38
  b OCTET STRING DEFAULT 'A8A'H,
 
39
  c NULL DEFAULT NULL
 
40
}
 
41
 
 
42
SetOS ::= SET {
 
43
  a OCTET STRING DEFAULT '1010110'B,
 
44
  b OCTET STRING DEFAULT 'A8A'H,
 
45
  c NULL DEFAULT NULL
 
46
}
 
47
 
 
48
E ::= ENUMERATED {b1,b2,b3}
 
49
 
 
50
SeqOI ::= SEQUENCE {
 
51
  a OBJECT IDENTIFIER  DEFAULT {1 2 14 15},
 
52
  b OBJECT IDENTIFIER  DEFAULT {iso member-body f(250) 3 4},
 
53
  c OBJECT IDENTIFIER  DEFAULT {ftam 2 f(250) 4}--,
 
54
}
 
55
 
 
56
SetOI ::= SET {
 
57
  a OBJECT IDENTIFIER  DEFAULT {1 2 14 15},
 
58
  b OBJECT IDENTIFIER  DEFAULT {iso member-body f(250) 3 4},
 
59
  c OBJECT IDENTIFIER  DEFAULT {ftam 2 f(250) 4}--,
 
60
}
 
61
 
 
62
SeqEnum ::= SEQUENCE {
 
63
  a ENUMERATED {b1,b2,b3,b4,b5} DEFAULT b4,
 
64
  b F DEFAULT b2
 
65
}
 
66
 
 
67
SetEnum ::= SET {
 
68
  a ENUMERATED {b1,b2,b3,b4,b5} DEFAULT b4,
 
69
  b F DEFAULT b2
 
70
}
 
71
 
 
72
ftam OBJECT IDENTIFIER ::= {iso standard 8571}
 
73
 
 
74
F ::= E
 
75
 
 
76
SeqIntBool ::= SEQUENCE {
 
77
  a SEQUENCE{
 
78
    aa INTEGER,
 
79
    ab INTEGER} DEFAULT {aa 12, ab 13},
 
80
  b S2 DEFAULT {a 14, b TRUE},
 
81
  c S2 DEFAULT s
 
82
}
 
83
 
 
84
SetIntBool ::= SET {
 
85
  a SET{
 
86
    aa INTEGER,
 
87
    ab INTEGER} DEFAULT {aa 12, ab 13},
 
88
  b S2 DEFAULT {a 14, b TRUE},
 
89
  c S2 DEFAULT s
 
90
}
 
91
 
 
92
SeqStrings ::= SEQUENCE {
 
93
  a  NumericString DEFAULT "123456789",
 
94
  b1  IA5String DEFAULT "abcdef",
 
95
  b2  IA5String DEFAULT {0,13},
 
96
  b3  IA5String DEFAULT {"First line",cr,"Second line"},
 
97
  c  PrintableString DEFAULT "Printable string",
 
98
  d  UniversalString DEFAULT {0,0,1,14}
 
99
}
 
100
 
 
101
SetStrings ::= SET {
 
102
  a  NumericString DEFAULT "123456789",
 
103
  b1  IA5String DEFAULT "abcdef",
 
104
  b2  IA5String DEFAULT {0,13},
 
105
  b3  IA5String DEFAULT {"First line",cr,"Second line"},
 
106
  c  PrintableString DEFAULT "Printable string",
 
107
  d  UniversalString DEFAULT {0,0,1,14}
 
108
}
 
109
 
 
110
S1 ::= SEQUENCE {
 
111
  a  SEQUENCE {aa  INTEGER, ab S2} DEFAULT {aa 1, ab {a two, b TRUE}},
 
112
  b  S4 DEFAULT s4
 
113
}
 
114
 
 
115
S2 ::= SEQUENCE {
 
116
  a INTEGER DEFAULT one,
 
117
  b BOOLEAN OPTIONAL
 
118
}
 
119
 
 
120
S3 ::= SEQUENCE {
 
121
  a SEQUENCE OF INTEGER DEFAULT {11,12,13},
 
122
  b SEQUENCE OF C DEFAULT {a:11,b:TRUE,c:13},
 
123
  c SO DEFAULT so,
 
124
  d SEQUENCE OF S2 DEFAULT {{a 20,b TRUE},{a 30, b FALSE}}
 
125
}
 
126
 
 
127
S3set ::= SET {
 
128
  a  SET OF CHOICE {a BOOLEAN,b INTEGER,c S2} DEFAULT {c:{a 3,b TRUE},b:17,a:FALSE},
 
129
  b SO DEFAULT so
 
130
}
 
131
 
 
132
S4 ::= SEQUENCE {
 
133
  a S2 DEFAULT {},
 
134
  b SEQUENCE {ba BOOLEAN,bb INTEGER} DEFAULT {ba TRUE,bb 0}
 
135
}
 
136
 
 
137
s4 S4 ::= {a {a 2,b TRUE}, b  {ba TRUE, bb 5}}
 
138
 
 
139
C ::= CHOICE{
 
140
  a  INTEGER,
 
141
  b  BOOLEAN,
 
142
  c  INTEGER
 
143
}
 
144
 
 
145
SO ::= SEQUENCE OF INTEGER
 
146
 
 
147
so SEQUENCE OF INTEGER ::= {1,2,3,4}
 
148
 
 
149
s S2 ::= {a 15,b FALSE}
 
150
 
 
151
one INTEGER ::= 1
 
152
two INTEGER ::= 2
 
153
three INTEGER ::= 3
 
154
four INTEGER ::= 4
 
155
 
 
156
cr IA5String ::= {0,13}
 
157
 
 
158
END