aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/asn1_SUITE_data/SeqOfChoExt.asn1
blob: 51077754fd449285fa36fdd00e555e43b2b09940 (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
SeqOfChoExt DEFINITIONS AUTOMATIC TAGS EXTENSIBILITY IMPLIED ::=
BEGIN

Seq2 ::= SEQUENCE {
	octstr [PRIVATE 6] OCTET STRING OPTIONAL
}

SeqOfCho ::= SEQUENCE OF CHOICE {
	nullable	NULL,
	seq2 Seq2
}

Seq1 ::= SEQUENCE {
	int INTEGER,
	soc SeqOfCho
}

seq1 Seq1 ::= {
  int  10,
  soc {
    seq2 : {
      octstr '01020A'H
    }
  }
}

END