Lev Walkin | 9c70e74 | 2013-10-17 13:03:36 -0700 | [diff] [blame] | 1 | ModuleConditionalIntegerType { iso org(3) dod(6) internet(1) private(4) |
| 2 | enterprise(1) spelio(9363) software(1) asn1c(5) test(1) 90 } |
Lev Walkin | 082cadc | 2005-08-14 02:18:27 +0000 | [diff] [blame] | 3 | DEFINITIONS ::= |
| 4 | BEGIN |
| 5 | |
| 6 | CN-IntegerUnlimited ::= INTEGER |
| 7 | -- Practical constraints (CN-IntegerUnlimited): (MIN..MAX) |
Lev Walkin | 3ad1e32 | 2017-07-25 06:23:18 -0700 | [diff] [blame] | 8 | -- OER-visible constraints (CN-IntegerUnlimited): (MIN..MAX) |
Lev Walkin | 082cadc | 2005-08-14 02:18:27 +0000 | [diff] [blame] | 9 | -- PER-visible constraints (CN-IntegerUnlimited): (MIN..MAX) |
| 10 | |
| 11 | CN-IntegerMinMax ::= INTEGER (MIN..MAX) |
| 12 | -- Combined constraints: (MIN..MAX) |
| 13 | -- Practical constraints (CN-IntegerMinMax): (MIN..MAX) |
Lev Walkin | 3ad1e32 | 2017-07-25 06:23:18 -0700 | [diff] [blame] | 14 | -- OER-visible constraints (CN-IntegerMinMax): (MIN..MAX) |
Lev Walkin | 082cadc | 2005-08-14 02:18:27 +0000 | [diff] [blame] | 15 | -- PER-visible constraints (CN-IntegerMinMax): (MIN..MAX) |
| 16 | |
| 17 | CN-IntegerMinLow ::= INTEGER (MIN..1) |
| 18 | -- Combined constraints: (MIN..1) |
| 19 | -- Practical constraints (CN-IntegerMinLow): (MIN..1) |
Lev Walkin | 3ad1e32 | 2017-07-25 06:23:18 -0700 | [diff] [blame] | 20 | -- OER-visible constraints (CN-IntegerMinLow): (MIN..1) |
Lev Walkin | 082cadc | 2005-08-14 02:18:27 +0000 | [diff] [blame] | 21 | -- PER-visible constraints (CN-IntegerMinLow): (MIN..1) |
| 22 | |
Lev Walkin | c3f0b89 | 2005-08-14 02:40:04 +0000 | [diff] [blame] | 23 | NO-IntegerMinHigh ::= INTEGER (MIN..3000000000) |
| 24 | -- Combined constraints: (MIN..3000000000) |
| 25 | -- Practical constraints (NO-IntegerMinHigh): (MIN..3000000000) |
Lev Walkin | 3ad1e32 | 2017-07-25 06:23:18 -0700 | [diff] [blame] | 26 | -- OER-visible constraints (NO-IntegerMinHigh): (MIN..3000000000) |
Lev Walkin | c3f0b89 | 2005-08-14 02:40:04 +0000 | [diff] [blame] | 27 | -- PER-visible constraints (NO-IntegerMinHigh): (MIN..3000000000) |
Lev Walkin | 082cadc | 2005-08-14 02:18:27 +0000 | [diff] [blame] | 28 | |
Lev Walkin | c3f0b89 | 2005-08-14 02:40:04 +0000 | [diff] [blame] | 29 | NO-IntegerLowHigh ::= INTEGER (1..3000000000) |
| 30 | -- Combined constraints: (1..3000000000) |
| 31 | -- Practical constraints (NO-IntegerLowHigh): (1..3000000000) |
Lev Walkin | 3ad1e32 | 2017-07-25 06:23:18 -0700 | [diff] [blame] | 32 | -- OER-visible constraints (NO-IntegerLowHigh): (1..3000000000) |
Lev Walkin | c3f0b89 | 2005-08-14 02:40:04 +0000 | [diff] [blame] | 33 | -- PER-visible constraints (NO-IntegerLowHigh): (1..3000000000) |
Lev Walkin | 082cadc | 2005-08-14 02:18:27 +0000 | [diff] [blame] | 34 | |
| 35 | CN-IntegerLowMax ::= INTEGER (1..MAX) |
| 36 | -- Combined constraints: (1..MAX) |
| 37 | -- Practical constraints (CN-IntegerLowMax): (1..MAX) |
Lev Walkin | 3ad1e32 | 2017-07-25 06:23:18 -0700 | [diff] [blame] | 38 | -- OER-visible constraints (CN-IntegerLowMax): (1..MAX) |
Lev Walkin | 082cadc | 2005-08-14 02:18:27 +0000 | [diff] [blame] | 39 | -- PER-visible constraints (CN-IntegerLowMax): (1..MAX) |
| 40 | |
Lev Walkin | c3f0b89 | 2005-08-14 02:40:04 +0000 | [diff] [blame] | 41 | NO-IntegerHighMax ::= INTEGER (3000000000..MAX) |
| 42 | -- Combined constraints: (3000000000..MAX) |
| 43 | -- Practical constraints (NO-IntegerHighMax): (3000000000..MAX) |
Lev Walkin | 3ad1e32 | 2017-07-25 06:23:18 -0700 | [diff] [blame] | 44 | -- OER-visible constraints (NO-IntegerHighMax): (3000000000..MAX) |
Lev Walkin | c3f0b89 | 2005-08-14 02:40:04 +0000 | [diff] [blame] | 45 | -- PER-visible constraints (NO-IntegerHighMax): (3000000000..MAX) |
Lev Walkin | 082cadc | 2005-08-14 02:18:27 +0000 | [diff] [blame] | 46 | |
Lev Walkin | c3f0b89 | 2005-08-14 02:40:04 +0000 | [diff] [blame] | 47 | NO-IntegerLowestMax ::= INTEGER (-3000000000..MAX) |
| 48 | -- Combined constraints: (-3000000000..MAX) |
| 49 | -- Practical constraints (NO-IntegerLowestMax): (-3000000000..MAX) |
Lev Walkin | 3ad1e32 | 2017-07-25 06:23:18 -0700 | [diff] [blame] | 50 | -- OER-visible constraints (NO-IntegerLowestMax): (-3000000000..MAX) |
Lev Walkin | c3f0b89 | 2005-08-14 02:40:04 +0000 | [diff] [blame] | 51 | -- PER-visible constraints (NO-IntegerLowestMax): (-3000000000..MAX) |
Lev Walkin | 082cadc | 2005-08-14 02:18:27 +0000 | [diff] [blame] | 52 | |
Lev Walkin | c3f0b89 | 2005-08-14 02:40:04 +0000 | [diff] [blame] | 53 | NO-IntegerOutRange ::= INTEGER (3000000000..3000000001) |
| 54 | -- Combined constraints: (3000000000..3000000001) |
| 55 | -- Practical constraints (NO-IntegerOutRange): (3000000000..3000000001) |
Lev Walkin | 3ad1e32 | 2017-07-25 06:23:18 -0700 | [diff] [blame] | 56 | -- OER-visible constraints (NO-IntegerOutRange): (3000000000..3000000001) |
Lev Walkin | c3f0b89 | 2005-08-14 02:40:04 +0000 | [diff] [blame] | 57 | -- PER-visible constraints (NO-IntegerOutRange): (3000000000..3000000001) |
Lev Walkin | 082cadc | 2005-08-14 02:18:27 +0000 | [diff] [blame] | 58 | |
Lev Walkin | c3f0b89 | 2005-08-14 02:40:04 +0000 | [diff] [blame] | 59 | NO-IntegerOutValue ::= INTEGER (3000000000) |
| 60 | -- Combined constraints: (3000000000) |
| 61 | -- Practical constraints (NO-IntegerOutValue): (3000000000) |
Lev Walkin | 3ad1e32 | 2017-07-25 06:23:18 -0700 | [diff] [blame] | 62 | -- OER-visible constraints (NO-IntegerOutValue): (3000000000) |
Lev Walkin | c3f0b89 | 2005-08-14 02:40:04 +0000 | [diff] [blame] | 63 | -- PER-visible constraints (NO-IntegerOutValue): (3000000000) |
Lev Walkin | 082cadc | 2005-08-14 02:18:27 +0000 | [diff] [blame] | 64 | |
| 65 | OK-IntegerInRange1 ::= INTEGER (-100..100) |
| 66 | -- Combined constraints: (-100..100) |
| 67 | -- Practical constraints (OK-IntegerInRange1): (-100..100) |
Lev Walkin | 3ad1e32 | 2017-07-25 06:23:18 -0700 | [diff] [blame] | 68 | -- OER-visible constraints (OK-IntegerInRange1): (-100..100) |
Lev Walkin | 082cadc | 2005-08-14 02:18:27 +0000 | [diff] [blame] | 69 | -- PER-visible constraints (OK-IntegerInRange1): (-100..100) |
| 70 | |
| 71 | OK-IntegerInRange2 ::= INTEGER (-100 | 100) |
| 72 | -- Combined constraints: (-100 | 100) |
| 73 | -- Practical constraints (OK-IntegerInRange2): (-100 | 100) |
Lev Walkin | 3ad1e32 | 2017-07-25 06:23:18 -0700 | [diff] [blame] | 74 | -- OER-visible constraints (OK-IntegerInRange2): (-100 | 100) |
Lev Walkin | 082cadc | 2005-08-14 02:18:27 +0000 | [diff] [blame] | 75 | -- PER-visible constraints (OK-IntegerInRange2): (-100 | 100) |
| 76 | |
| 77 | OK-IntegerInRange3 ::= INTEGER (-2147483648..2147483647) |
| 78 | -- Combined constraints: (-2147483648..2147483647) |
| 79 | -- Practical constraints (OK-IntegerInRange3): (-2147483648..2147483647) |
Lev Walkin | 3ad1e32 | 2017-07-25 06:23:18 -0700 | [diff] [blame] | 80 | -- OER-visible constraints (OK-IntegerInRange3): (-2147483648..2147483647) |
Lev Walkin | 082cadc | 2005-08-14 02:18:27 +0000 | [diff] [blame] | 81 | -- PER-visible constraints (OK-IntegerInRange3): (-2147483648..2147483647) |
| 82 | |
| 83 | OK-IntegerInRange4 ::= INTEGER (-2147483648 | 2147483647) |
| 84 | -- Combined constraints: (-2147483648 | 2147483647) |
| 85 | -- Practical constraints (OK-IntegerInRange4): (-2147483648 | 2147483647) |
Lev Walkin | 3ad1e32 | 2017-07-25 06:23:18 -0700 | [diff] [blame] | 86 | -- OER-visible constraints (OK-IntegerInRange4): (-2147483648 | 2147483647) |
Lev Walkin | 082cadc | 2005-08-14 02:18:27 +0000 | [diff] [blame] | 87 | -- PER-visible constraints (OK-IntegerInRange4): (-2147483648 | 2147483647) |
| 88 | |
| 89 | OK-IntegerInRange5 ::= INTEGER (-2147483648 | 2147483647,...) |
| 90 | -- Combined constraints: (-2147483648 | 2147483647,...) |
| 91 | -- Practical constraints (OK-IntegerInRange5): (-2147483648 | 2147483647,...) |
Lev Walkin | 5861e8a | 2017-07-31 20:27:05 -0700 | [diff] [blame] | 92 | -- OER-visible constraints (OK-IntegerInRange5): (MIN..MAX) |
Lev Walkin | 082cadc | 2005-08-14 02:18:27 +0000 | [diff] [blame] | 93 | -- PER-visible constraints (OK-IntegerInRange5): (-2147483648 | 2147483647,...) |
| 94 | |
Lev Walkin | fee6f71 | 2005-08-27 03:13:51 +0000 | [diff] [blame] | 95 | NO-IntegerInRange6 ::= INTEGER (0..4294967295) |
| 96 | -- Combined constraints: (0..4294967295) |
| 97 | -- Practical constraints (NO-IntegerInRange6): (0..4294967295) |
Lev Walkin | 3ad1e32 | 2017-07-25 06:23:18 -0700 | [diff] [blame] | 98 | -- OER-visible constraints (NO-IntegerInRange6): (0..4294967295) |
Lev Walkin | fee6f71 | 2005-08-27 03:13:51 +0000 | [diff] [blame] | 99 | -- PER-visible constraints (NO-IntegerInRange6): (0..4294967295) |
| 100 | |
Lev Walkin | c3f0b89 | 2005-08-14 02:40:04 +0000 | [diff] [blame] | 101 | CN-IntegerEnumerated1 ::= INTEGER { |
| 102 | a(1) |
| 103 | -- Practical constraints (a): |
Lev Walkin | 3ad1e32 | 2017-07-25 06:23:18 -0700 | [diff] [blame] | 104 | -- OER-visible constraints (a): |
Lev Walkin | c3f0b89 | 2005-08-14 02:40:04 +0000 | [diff] [blame] | 105 | -- PER-visible constraints (a): |
| 106 | , |
| 107 | b(2) |
| 108 | -- Practical constraints (b): |
Lev Walkin | 3ad1e32 | 2017-07-25 06:23:18 -0700 | [diff] [blame] | 109 | -- OER-visible constraints (b): |
Lev Walkin | c3f0b89 | 2005-08-14 02:40:04 +0000 | [diff] [blame] | 110 | -- PER-visible constraints (b): |
| 111 | |
| 112 | } |
| 113 | -- Practical constraints (CN-IntegerEnumerated1): (MIN..MAX) |
Lev Walkin | 3ad1e32 | 2017-07-25 06:23:18 -0700 | [diff] [blame] | 114 | -- OER-visible constraints (CN-IntegerEnumerated1): (MIN..MAX) |
Lev Walkin | c3f0b89 | 2005-08-14 02:40:04 +0000 | [diff] [blame] | 115 | -- PER-visible constraints (CN-IntegerEnumerated1): (MIN..MAX) |
| 116 | |
| 117 | NO-IntegerEnumerated2 ::= INTEGER { |
| 118 | a(1) |
| 119 | -- Practical constraints (a): |
Lev Walkin | 3ad1e32 | 2017-07-25 06:23:18 -0700 | [diff] [blame] | 120 | -- OER-visible constraints (a): |
Lev Walkin | c3f0b89 | 2005-08-14 02:40:04 +0000 | [diff] [blame] | 121 | -- PER-visible constraints (a): |
| 122 | , |
| 123 | b(3000000000) |
| 124 | -- Practical constraints (b): |
Lev Walkin | 3ad1e32 | 2017-07-25 06:23:18 -0700 | [diff] [blame] | 125 | -- OER-visible constraints (b): |
Lev Walkin | c3f0b89 | 2005-08-14 02:40:04 +0000 | [diff] [blame] | 126 | -- PER-visible constraints (b): |
| 127 | |
| 128 | } |
| 129 | -- Practical constraints (NO-IntegerEnumerated2): (MIN..MAX) |
Lev Walkin | 3ad1e32 | 2017-07-25 06:23:18 -0700 | [diff] [blame] | 130 | -- OER-visible constraints (NO-IntegerEnumerated2): (MIN..MAX) |
Lev Walkin | c3f0b89 | 2005-08-14 02:40:04 +0000 | [diff] [blame] | 131 | -- PER-visible constraints (NO-IntegerEnumerated2): (MIN..MAX) |
| 132 | |
Lev Walkin | 082cadc | 2005-08-14 02:18:27 +0000 | [diff] [blame] | 133 | END |