blob: 7ebee1d06d85ab80fc8a61167438a5033467f96f [file] [log] [blame]
Lev Walkin9c70e742013-10-17 13:03:36 -07001ModuleConditionalIntegerType { iso org(3) dod(6) internet(1) private(4)
2 enterprise(1) spelio(9363) software(1) asn1c(5) test(1) 90 }
Lev Walkin082cadc2005-08-14 02:18:27 +00003DEFINITIONS ::=
4BEGIN
5
6CN-IntegerUnlimited ::= INTEGER
7-- Practical constraints (CN-IntegerUnlimited): (MIN..MAX)
Lev Walkin3ad1e322017-07-25 06:23:18 -07008-- OER-visible constraints (CN-IntegerUnlimited): (MIN..MAX)
Lev Walkin082cadc2005-08-14 02:18:27 +00009-- PER-visible constraints (CN-IntegerUnlimited): (MIN..MAX)
10
11CN-IntegerMinMax ::= INTEGER (MIN..MAX)
12-- Combined constraints: (MIN..MAX)
13-- Practical constraints (CN-IntegerMinMax): (MIN..MAX)
Lev Walkin3ad1e322017-07-25 06:23:18 -070014-- OER-visible constraints (CN-IntegerMinMax): (MIN..MAX)
Lev Walkin082cadc2005-08-14 02:18:27 +000015-- PER-visible constraints (CN-IntegerMinMax): (MIN..MAX)
16
17CN-IntegerMinLow ::= INTEGER (MIN..1)
18-- Combined constraints: (MIN..1)
19-- Practical constraints (CN-IntegerMinLow): (MIN..1)
Lev Walkin3ad1e322017-07-25 06:23:18 -070020-- OER-visible constraints (CN-IntegerMinLow): (MIN..1)
Lev Walkin082cadc2005-08-14 02:18:27 +000021-- PER-visible constraints (CN-IntegerMinLow): (MIN..1)
22
Lev Walkinc3f0b892005-08-14 02:40:04 +000023NO-IntegerMinHigh ::= INTEGER (MIN..3000000000)
24-- Combined constraints: (MIN..3000000000)
25-- Practical constraints (NO-IntegerMinHigh): (MIN..3000000000)
Lev Walkin3ad1e322017-07-25 06:23:18 -070026-- OER-visible constraints (NO-IntegerMinHigh): (MIN..3000000000)
Lev Walkinc3f0b892005-08-14 02:40:04 +000027-- PER-visible constraints (NO-IntegerMinHigh): (MIN..3000000000)
Lev Walkin082cadc2005-08-14 02:18:27 +000028
Lev Walkinc3f0b892005-08-14 02:40:04 +000029NO-IntegerLowHigh ::= INTEGER (1..3000000000)
30-- Combined constraints: (1..3000000000)
31-- Practical constraints (NO-IntegerLowHigh): (1..3000000000)
Lev Walkin3ad1e322017-07-25 06:23:18 -070032-- OER-visible constraints (NO-IntegerLowHigh): (1..3000000000)
Lev Walkinc3f0b892005-08-14 02:40:04 +000033-- PER-visible constraints (NO-IntegerLowHigh): (1..3000000000)
Lev Walkin082cadc2005-08-14 02:18:27 +000034
35CN-IntegerLowMax ::= INTEGER (1..MAX)
36-- Combined constraints: (1..MAX)
37-- Practical constraints (CN-IntegerLowMax): (1..MAX)
Lev Walkin3ad1e322017-07-25 06:23:18 -070038-- OER-visible constraints (CN-IntegerLowMax): (1..MAX)
Lev Walkin082cadc2005-08-14 02:18:27 +000039-- PER-visible constraints (CN-IntegerLowMax): (1..MAX)
40
Lev Walkinc3f0b892005-08-14 02:40:04 +000041NO-IntegerHighMax ::= INTEGER (3000000000..MAX)
42-- Combined constraints: (3000000000..MAX)
43-- Practical constraints (NO-IntegerHighMax): (3000000000..MAX)
Lev Walkin3ad1e322017-07-25 06:23:18 -070044-- OER-visible constraints (NO-IntegerHighMax): (3000000000..MAX)
Lev Walkinc3f0b892005-08-14 02:40:04 +000045-- PER-visible constraints (NO-IntegerHighMax): (3000000000..MAX)
Lev Walkin082cadc2005-08-14 02:18:27 +000046
Lev Walkinc3f0b892005-08-14 02:40:04 +000047NO-IntegerLowestMax ::= INTEGER (-3000000000..MAX)
48-- Combined constraints: (-3000000000..MAX)
49-- Practical constraints (NO-IntegerLowestMax): (-3000000000..MAX)
Lev Walkin3ad1e322017-07-25 06:23:18 -070050-- OER-visible constraints (NO-IntegerLowestMax): (-3000000000..MAX)
Lev Walkinc3f0b892005-08-14 02:40:04 +000051-- PER-visible constraints (NO-IntegerLowestMax): (-3000000000..MAX)
Lev Walkin082cadc2005-08-14 02:18:27 +000052
Lev Walkinc3f0b892005-08-14 02:40:04 +000053NO-IntegerOutRange ::= INTEGER (3000000000..3000000001)
54-- Combined constraints: (3000000000..3000000001)
55-- Practical constraints (NO-IntegerOutRange): (3000000000..3000000001)
Lev Walkin3ad1e322017-07-25 06:23:18 -070056-- OER-visible constraints (NO-IntegerOutRange): (3000000000..3000000001)
Lev Walkinc3f0b892005-08-14 02:40:04 +000057-- PER-visible constraints (NO-IntegerOutRange): (3000000000..3000000001)
Lev Walkin082cadc2005-08-14 02:18:27 +000058
Lev Walkinc3f0b892005-08-14 02:40:04 +000059NO-IntegerOutValue ::= INTEGER (3000000000)
60-- Combined constraints: (3000000000)
61-- Practical constraints (NO-IntegerOutValue): (3000000000)
Lev Walkin3ad1e322017-07-25 06:23:18 -070062-- OER-visible constraints (NO-IntegerOutValue): (3000000000)
Lev Walkinc3f0b892005-08-14 02:40:04 +000063-- PER-visible constraints (NO-IntegerOutValue): (3000000000)
Lev Walkin082cadc2005-08-14 02:18:27 +000064
65OK-IntegerInRange1 ::= INTEGER (-100..100)
66-- Combined constraints: (-100..100)
67-- Practical constraints (OK-IntegerInRange1): (-100..100)
Lev Walkin3ad1e322017-07-25 06:23:18 -070068-- OER-visible constraints (OK-IntegerInRange1): (-100..100)
Lev Walkin082cadc2005-08-14 02:18:27 +000069-- PER-visible constraints (OK-IntegerInRange1): (-100..100)
70
71OK-IntegerInRange2 ::= INTEGER (-100 | 100)
72-- Combined constraints: (-100 | 100)
73-- Practical constraints (OK-IntegerInRange2): (-100 | 100)
Lev Walkin3ad1e322017-07-25 06:23:18 -070074-- OER-visible constraints (OK-IntegerInRange2): (-100 | 100)
Lev Walkin082cadc2005-08-14 02:18:27 +000075-- PER-visible constraints (OK-IntegerInRange2): (-100 | 100)
76
77OK-IntegerInRange3 ::= INTEGER (-2147483648..2147483647)
78-- Combined constraints: (-2147483648..2147483647)
79-- Practical constraints (OK-IntegerInRange3): (-2147483648..2147483647)
Lev Walkin3ad1e322017-07-25 06:23:18 -070080-- OER-visible constraints (OK-IntegerInRange3): (-2147483648..2147483647)
Lev Walkin082cadc2005-08-14 02:18:27 +000081-- PER-visible constraints (OK-IntegerInRange3): (-2147483648..2147483647)
82
83OK-IntegerInRange4 ::= INTEGER (-2147483648 | 2147483647)
84-- Combined constraints: (-2147483648 | 2147483647)
85-- Practical constraints (OK-IntegerInRange4): (-2147483648 | 2147483647)
Lev Walkin3ad1e322017-07-25 06:23:18 -070086-- OER-visible constraints (OK-IntegerInRange4): (-2147483648 | 2147483647)
Lev Walkin082cadc2005-08-14 02:18:27 +000087-- PER-visible constraints (OK-IntegerInRange4): (-2147483648 | 2147483647)
88
89OK-IntegerInRange5 ::= INTEGER (-2147483648 | 2147483647,...)
90-- Combined constraints: (-2147483648 | 2147483647,...)
91-- Practical constraints (OK-IntegerInRange5): (-2147483648 | 2147483647,...)
Lev Walkin5861e8a2017-07-31 20:27:05 -070092-- OER-visible constraints (OK-IntegerInRange5): (MIN..MAX)
Lev Walkin082cadc2005-08-14 02:18:27 +000093-- PER-visible constraints (OK-IntegerInRange5): (-2147483648 | 2147483647,...)
94
Lev Walkinfee6f712005-08-27 03:13:51 +000095NO-IntegerInRange6 ::= INTEGER (0..4294967295)
96-- Combined constraints: (0..4294967295)
97-- Practical constraints (NO-IntegerInRange6): (0..4294967295)
Lev Walkin3ad1e322017-07-25 06:23:18 -070098-- OER-visible constraints (NO-IntegerInRange6): (0..4294967295)
Lev Walkinfee6f712005-08-27 03:13:51 +000099-- PER-visible constraints (NO-IntegerInRange6): (0..4294967295)
100
Lev Walkinc3f0b892005-08-14 02:40:04 +0000101CN-IntegerEnumerated1 ::= INTEGER {
102 a(1)
103-- Practical constraints (a):
Lev Walkin3ad1e322017-07-25 06:23:18 -0700104-- OER-visible constraints (a):
Lev Walkinc3f0b892005-08-14 02:40:04 +0000105-- PER-visible constraints (a):
106,
107 b(2)
108-- Practical constraints (b):
Lev Walkin3ad1e322017-07-25 06:23:18 -0700109-- OER-visible constraints (b):
Lev Walkinc3f0b892005-08-14 02:40:04 +0000110-- PER-visible constraints (b):
111
112}
113-- Practical constraints (CN-IntegerEnumerated1): (MIN..MAX)
Lev Walkin3ad1e322017-07-25 06:23:18 -0700114-- OER-visible constraints (CN-IntegerEnumerated1): (MIN..MAX)
Lev Walkinc3f0b892005-08-14 02:40:04 +0000115-- PER-visible constraints (CN-IntegerEnumerated1): (MIN..MAX)
116
117NO-IntegerEnumerated2 ::= INTEGER {
118 a(1)
119-- Practical constraints (a):
Lev Walkin3ad1e322017-07-25 06:23:18 -0700120-- OER-visible constraints (a):
Lev Walkinc3f0b892005-08-14 02:40:04 +0000121-- PER-visible constraints (a):
122,
123 b(3000000000)
124-- Practical constraints (b):
Lev Walkin3ad1e322017-07-25 06:23:18 -0700125-- OER-visible constraints (b):
Lev Walkinc3f0b892005-08-14 02:40:04 +0000126-- PER-visible constraints (b):
127
128}
129-- Practical constraints (NO-IntegerEnumerated2): (MIN..MAX)
Lev Walkin3ad1e322017-07-25 06:23:18 -0700130-- OER-visible constraints (NO-IntegerEnumerated2): (MIN..MAX)
Lev Walkinc3f0b892005-08-14 02:40:04 +0000131-- PER-visible constraints (NO-IntegerEnumerated2): (MIN..MAX)
132
Lev Walkin082cadc2005-08-14 02:18:27 +0000133END