1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
|
Tst { 2 6 6 24 7 1 } DEFINITIONS IMPLICIT TAGS ::=
BEGIN
--EXPORTS SomeSet , Id0 , Aset,Id1 ,A,B,C,
-- Uhh ,Foo ,Cho,Person,Hobbe,Robbe,X,Y;
IMPORTS Fooo FROM Bobby;
Robbe ::= SET {
ttt TT }
Koo ::= SET {
c CHOICE {
a INTEGER,
b BOOLEAN },
s SET OF Id0 }
Hobbe ::= [APPLICATION 1] SET {
aaa [0] SET OF INTEGER,
bbb [1] UU
}
UU ::= PP
PP ::= CHOICE {
cc [1] CHOICE {
a [0] INTEGER,
b [1] BOOLEAN,
c [2] BIT STRING },
ii [0] Id0
}
TT ::= SS
SS ::= SET {
b BOOLEAN DEFAULT TRUE
}
Aset ::= [PRIVATE 2] SET OF Uhh
SomeSet ::= [PRIVATE 3] IMPLICIT SET {
aaaa [2] SET{
ggg [0] INTEGER},
kkkk [1] SET OF Id2,
booby [4] OCTET STRING,
puck [3] INTEGER {red(0),blue(1),yellow(-2)},
baby [5] IMPLICIT Id1,
bool [6] BOOLEAN }
Id0 ::= INTEGER (4 .. 99)
Id1 ::= Id0
Id2 ::= [PRIVATE 4] EXPLICIT Id1
Uhh ::= SET {
a [1] IMPLICIT Id1}
Soon ::= [PRIVATE 5] Moon
Moon ::= [PRIVATE 6] IMPLICIT Person
Person ::= [PRIVATE 7] IMPLICIT SEQUENCE {
szzzs SET OF SET {
aaa [0] INTEGER,
bbb [1] Id0},
cho Cho,
name OCTET STRING ,
location INTEGER,
asss Aset,
oops [2] IMPLICIT SET {
q [0] INTEGER,
p [1] Uhh},
on INTEGER,
mybits [3] IMPLICIT BIT STRING,
foo Foo,
age INTEGER,
hobbe [5] SEQUENCE {
a [4] CHOICE {
a INTEGER,
b BOOLEAN },
b [5] Id0}}
Foo ::= [PRIVATE 8] IMPLICIT SEQUENCE {
goofy [3] INTEGER OPTIONAL,
somestring [10] IMPLICIT OCTET STRING DEFAULT '77BB'H,
hoohoo [11] IMPLICIT SEQUENCE {
bar [1] Id1 OPTIONAL,
foo INTEGER,
zombie [9] CHOICE {
a [1] IMPLICIT INTEGER,
b [2] IMPLICIT BOOLEAN }
},
moon [4] IMPLICIT INTEGER }
Cho ::= [PRIVATE 9] EXPLICIT CHOICE {
somestring [2] IMPLICIT OCTET STRING,
goofy [9] INTEGER,
moon [4] IMPLICIT INTEGER }
A ::= [APPLICATION 2] SET {
ppp IA5String ,
a [0] INTEGER {aaa(6),bbb(77)} DEFAULT 998,
b [1] Id1 OPTIONAL,
c [2] OCTET STRING (SIZE(8)),
dd [3] BIT STRING DEFAULT '11001'B }
B ::= [APPLICATION 3] SET {
ww [1] SET {
a A OPTIONAL,
goofy [3] INTEGER OPTIONAL,
somestring [10] IMPLICIT OCTET STRING DEFAULT '77BB'H }
}
C::= [APPLICATION 4] SEQUENCE OF X
Y ::= OBJECT IDENTIFIER
X ::= SET {
a NULL,
b GeneralString,
c UTCTime,
d VideotexString,
g GeneralizedTime,
h GraphicString,
i VisibleString,
j IA5String,
k PrintableString,
l OCTET STRING,
e TeletexString,
m ANY,
n ObjectDescriptor,
o OBJECT IDENTIFIER,
f NumericString }
END
|