aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/asn1_SUITE_data/Cho.py
blob: c390eed2baf1d32ef3e4ec256c0e91843b2b302a (plain) (blame)
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
Cho DEFINITIONS IMPLICIT TAGS ::= 

BEGIN

ChoCon ::=  CHOICE 
{
  nested Cho2,	
  bool0 [0] BOOLEAN,
  bool1 [1] BOOLEAN,
  int2  [2] INTEGER
}

ChoExp ::=  CHOICE 
{
  int10  [APPLICATION 10] EXPLICIT INTEGER {first(1),last(31)},
  bool11 [APPLICATION 11] EXPLICIT BOOLEAN,
  enum12 [APPLICATION 12] EXPLICIT ENUMERATED {one(1),two(2),three(3)}
}

Cho2 ::= CHOICE
{
  i INTEGER,
  b BOOLEAN
}


END