summaryrefslogtreecommitdiff
path: root/tests/coding-decoding2.asn
blob: ee167a151c41177ee7f90a47817af111a502ab8f (plain)
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
TEST {}
DEFINITIONS IMPLICIT TAGS ::=
BEGIN

Choice2 ::= CHOICE {
 oct1 OCTET STRING,
 int1 [3] INTEGER,
 oct2 OCTET STRING
}


Choice1 ::= CHOICE {
 int4 [0] INTEGER,
 choice2 Choice2,
 int5 [1] INTEGER
}

Choice0 ::= CHOICE {
 int6 [0] INTEGER,
 choice1 Choice1,
 int7 [1] INTEGER
}

Main ::= SEQUENCE {
  pad1 INTEGER,
  choice0 Choice0,
  pad2 INTEGER
}

END