aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/asn1_SUITE_data/CoverParser.asn1
blob: 75d40188ca58953229151a7fec3decf8259e57c0 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
CoverParser DEFINITIONS AUTOMATIC TAGS ::=
BEGIN

 Cho1 ::= CHOICE {
   i INTEGER,
   ... ! 42,
   [[ b BOOLEAN ]]
 }

 Cho2 ::= CHOICE {
   i INTEGER,
   ...,
   [[ b BOOLEAN,
      s IA5String ]],
   ...
 }

 Int1 ::= INTEGER (CONSTRAINED BY {INTEGER:1,INTEGER:2})

 Seq1 ::= SEQUENCE {
   ... ! INTEGER:1
 }

 Seq2 ::= SEQUENCE {
   ... ! INTEGER:1,
   i INTEGER
 }

 Seq3 ::= SEQUENCE {
   b BOOLEAN,
   ... ! INTEGER:1,
   i INTEGER
 }

 Seq4 ::= SEQUENCE {
   a INTEGER OPTIONAL,
   b OCTET STRING OPTIONAL
 } (WITH COMPONENTS {a ABSENT, b OPTIONAL} |
    WITH COMPONENTS {a PRESENT, b PRESENT})

 SeqOf1 ::= SEQUENCE OF INTEGER
 SeqOf2 ::= SeqOf1 (WITH COMPONENT (0..7))

 SegOf3 ::= SEQUENCE (SIZE (1..10)) OF id INTEGER

 Set1 ::= SET {
   ... ! INTEGER:1
 }

 Set2 ::= SET {
   ... ! INTEGER:1,
   a INTEGER
 }

 SetOf3 ::= SET (SIZE (1..10)) OF id INTEGER

END