aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/asn1_SUITE_data/PartialDecSeq.asn
blob: 17844f12b9ca23ab544008c424dab6a31748c7a1 (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
PartialDecSeq DEFINITIONS AUTOMATIC TAGS ::=

BEGIN

A ::= SEQUENCE {
  a  INTEGER DEFAULT 15,
  b  [0] B DEFAULT {a  12, b  TRUE}
}

C ::= [11] EXPLICIT D
B ::= [12] C
D ::= SEQUENCE {
  a  INTEGER,
  b  BOOLEAN
}

F ::= CHOICE {
  fa INTEGER,
  fb E --161
}

E ::= SEQUENCE {
  a INTEGER,  -- matched
  b SEQUENCE OF D, -- matched value of component a of first D in E_b
  c BOOLEAN OPTIONAL,
  d CHOICE {
    da SEQUENCE OF A,
    db INTEGER,
    dc [3] SET {dca INTEGER,dcb BOOLEAN, dcc SEQUENCE{dcca INTEGER,dccb INTEGER}}
  }
}


END