aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/asn1_SUITE_data/ChoOptional.asn1
blob: 18f45b645cef440f4721ad4709ed0fcc3ba2ad89 (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
28
29
30
31
32
33
34
35
ChoOptional DEFINITIONS IMPLICIT TAGS ::= 

BEGIN


Seq1 ::= SEQUENCE 
{
  bool  BOOLEAN,
  int   INTEGER OPTIONAL,
  cho   ChoOpt OPTIONAL
}

Seq2 ::= SEQUENCE 
{
  int   INTEGER OPTIONAL,
  cho   ChoOpt OPTIONAL,
  bool  BOOLEAN
}

Seq3 ::= SEQUENCE 
{
  cho   ChoOpt OPTIONAL,
  int   INTEGER OPTIONAL,
  bool  BOOLEAN
}


ChoOpt ::= CHOICE 
{
  vsCho  VisibleString,
  ocStrCho  OCTET STRING
}


END