aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/asn1_SUITE_data/SetOptional.asn1
blob: 5d2f2526b30ec3b40e40e78fb2181be15514f0d3 (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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
SetOptional DEFINITIONS IMPLICIT TAGS ::= 

BEGIN

SetOpt1 ::= SET 
{
  bool1  BOOLEAN OPTIONAL,
  int1  INTEGER,
  set1  SetIn OPTIONAL
}

SetOpt1Imp ::= SEQUENCE 
{
  bool1 [1] BOOLEAN OPTIONAL,
  int1  INTEGER,
  set1  [2] SetIn OPTIONAL
}

SetOpt1Exp ::= SEQUENCE 
{
  bool1 [1] EXPLICIT BOOLEAN OPTIONAL,
  int1  INTEGER,
  set1  [2] EXPLICIT SetIn OPTIONAL
}

SetOpt2 ::= SET 
{
  set2  SetIn OPTIONAL,
  bool2  BOOLEAN,
  int2  INTEGER
}

SetOpt2Imp ::= SEQUENCE 
{
  set2  [1] SetIn OPTIONAL,
  bool2 [2] BOOLEAN,
  int2  INTEGER
}

SetOpt2Exp ::= SEQUENCE 
{
  set2  [1] EXPLICIT SetIn OPTIONAL,
  bool2 [2] EXPLICIT BOOLEAN,
  int2  INTEGER
}

SetOpt3 ::= SET 
{
  bool3  BOOLEAN OPTIONAL,
  set3  SetIn OPTIONAL,
  int3  INTEGER OPTIONAL
}

SetOpt3Imp ::= SEQUENCE 
{
  bool3 [1] BOOLEAN OPTIONAL,
  set3  [2] SetIn OPTIONAL,
  int3  INTEGER OPTIONAL
}

SetOpt3Exp ::= SEQUENCE 
{
  bool3 [1] EXPLICIT BOOLEAN OPTIONAL,
  set3  [2] EXPLICIT SetIn OPTIONAL,
  int3  INTEGER OPTIONAL
}



SetIn ::= SET 
{
  boolIn  BOOLEAN,
  intIn  INTEGER
}


END