1PrimStrings DEFINITIONS IMPLICIT TAGS ::=
2
3BEGIN
4
5  Bs1 ::= BIT STRING
6  Bs2 ::= BIT STRING {su(0), mo(1), tu(2), we(3), th(4), fr(5), sa(6) } (SIZE (7))
7  Bs3 ::= BIT STRING {su(0), mo(1), tu(2), we(3), th(4), fr(5), sa(6) } (SIZE (1..7))
8  Bs4 ::= BIT STRING {su(0), mo(1), tu(2), we(3), th(4), fr(5), sa(6) }
9  Bs5 ::= BIT STRING {su(0), mo(17), tu(2), we(3), th(4), fr(5), sa(6) } (SIZE (1..32))
10  Bs6 ::= BIT STRING {su(0), mo(17), tu(2), we(3), th(4), fr(5), sa(6)} (SIZE (16..32))
11  Bs7 ::= BIT STRING (SIZE (24))
12  BsPri ::= [PRIVATE 61] BIT STRING
13  BsExpPri ::= [PRIVATE 61] EXPLICIT BIT STRING
14  ODB-GeneralData ::= BIT STRING {
15    allOG-CallsBarred         (0),
16    internationalOGCallsBarred  (1),
17    internationalOGCallsNotToHPLMN-CountryBarred  (2),
18    interzonalOGCallsBarred   (6),
19    interzonalOGCallsNotToHPLMN-CountryBarred (7),
20    interzonalOGCallsAndInternationalOGCallsNotToHPLMN-CountryBarred (8),
21    premiumRateInformationOGCallsBarred  (3),
22    premiumRateEntertainementOGCallsBarred  (4),
23    ss-AccessBarred  (5),
24    allECT-Barred  (9),
25    chargeableECT-Barred  (10),
26    internationalECT-Barred  (11),
27    interzonalECT-Barred  (12),
28    doublyChargeableECT-Barred  (13),
29    multipleECT-Barred  (14)} (SIZE (15..32))
30    -- exception handling: reception of unknown bit assignments in the
31    -- ODB-GeneralData type shall be treated like unsupported ODB-GeneralData
32
33  TransportLayerAddress 	::= BIT STRING (SIZE (1..160, ...))
34
35  --TestS is to test OTP-4353. See also x691 15.3 and x680 21.7
36  TestS ::= BIT STRING {a(0),b(1)} (SIZE (3..8))
37
38  -- OTP-5932
39  BSMAX ::= BIT STRING (SIZE (5..MAX))
40
41  -- OTP-7602
42
43BS255 ::= BIT STRING (SIZE (255))
44
45BS256 ::= BIT STRING (SIZE (256))
46
47BS1024 ::= BIT STRING (SIZE (1024))
48
49  BsDef1 ::= SEQUENCE {
50     s BIT STRING DEFAULT '101111'B
51  }
52
53  BsDef2 ::= SEQUENCE {
54     s BIT STRING DEFAULT 'DEADBEEF'H
55  }
56
57  Os ::= OCTET STRING
58  OsCon ::= [60] OCTET STRING
59  OsPri ::= [PRIVATE 61] OCTET STRING
60  OsApp ::= [APPLICATION 62] OCTET STRING
61  OsExpCon ::= [60] EXPLICIT OCTET STRING
62  OsExpPri ::= [PRIVATE 61] EXPLICIT  OCTET STRING
63  OsExpApp ::= [APPLICATION 62] EXPLICIT OCTET STRING
64
65  OsFrag ::= OCTET STRING (SIZE (0..100000))
66  FixedOs65536 ::= OCTET STRING (SIZE (65536))
67  FixedOs65537 ::= OCTET STRING (SIZE (65537))
68
69  OsFragExt ::= OCTET STRING (SIZE (0..100000, ...))
70  FixedOs65536Ext ::= OCTET STRING (SIZE (65536, ...))
71  FixedOs65537Ext ::= OCTET STRING (SIZE (65537, ...))
72
73  OsFixedStrings ::= SEQUENCE {
74    b1 BOOLEAN,  -- Unalign
75    s0 OCTET STRING (SIZE (0)),
76    s1 OCTET STRING (SIZE (1)),
77    s2 OCTET STRING (SIZE (2)),
78    s3 OCTET STRING (SIZE (3)),
79    b2 BOOLEAN,  -- Unalign
80    s255 OCTET STRING (SIZE (255)),
81    s256 OCTET STRING (SIZE (256)),
82    s257 OCTET STRING (SIZE (257)),
83    i INTEGER (0..1024)
84  }
85
86  OsFixedStringsExt ::= SEQUENCE {
87    b1 BOOLEAN,  -- Unalign
88    s0 OCTET STRING (SIZE (0, ...)),
89    s1 OCTET STRING (SIZE (1, ...)),
90    s2 OCTET STRING (SIZE (2, ...)),
91    s3 OCTET STRING (SIZE (3, ...)),
92    b2 BOOLEAN,  -- Unalign
93    s255 OCTET STRING (SIZE (255, ...)),
94    s256 OCTET STRING (SIZE (256, ...)),
95    s257 OCTET STRING (SIZE (257, ...)),
96    i INTEGER (0..1024)
97  }
98
99  OsVarStringsExt ::= SEQUENCE {
100    b1 BOOLEAN,  -- Unalign
101    s0 OCTET STRING (SIZE (0, ...)),
102    s1 OCTET STRING (SIZE (0..1, ...)),
103    s2 OCTET STRING (SIZE (1..2, ...)),
104    s3 OCTET STRING (SIZE (2..3, ...)),
105    b2 BOOLEAN,  -- Unalign
106    s255 OCTET STRING (SIZE (254..255, ...)),
107    s256 OCTET STRING (SIZE (255..256, ...)),
108    s257 OCTET STRING (SIZE (256..257, ...)),
109    i INTEGER (0..1024)
110  }
111
112  OsAlignment ::= SEQUENCE {
113    b1 BOOLEAN,
114    s1 Os,
115    b2 BOOLEAN,
116    s2 OsFrag,
117    b3 BOOLEAN,
118    s3 FixedOs65536,
119    i INTEGER (0..63)
120  }
121
122  IA5FixedStrings ::= SEQUENCE {
123    b1 BOOLEAN,  -- Unalign
124    s0 IA5String (SIZE (0)),
125    s1 IA5String (SIZE (1)),
126    s2 IA5String (SIZE (2)),
127    s3 IA5String (SIZE (3)),
128    b2 BOOLEAN,  -- Unalign
129    s4 IA5String (SIZE (4)),
130    b3 BOOLEAN,  -- Unalign
131    s255 IA5String (SIZE (255)),
132    s256 IA5String (SIZE (256)),
133    s257 IA5String (SIZE (257)),
134    i INTEGER (0..1024)
135  }
136
137  IA5FixedStringsExt ::= SEQUENCE {
138    b1 BOOLEAN,  -- Unalign
139    s0 IA5String (SIZE (0, ...)),
140    s1 IA5String (SIZE (1, ...)),
141    s2 IA5String (SIZE (2, ...)),
142    s3 IA5String (SIZE (3, ...)),
143    b2 BOOLEAN,  -- Unalign
144    s4 IA5String (SIZE (4, ...)),
145    b3 BOOLEAN,  -- Unalign
146    s255 IA5String (SIZE (255, ...)),
147    s256 IA5String (SIZE (256, ...)),
148    s257 IA5String (SIZE (257, ...)),
149    i INTEGER (0..1024)
150  }
151
152  IA5VarStringsExt ::= SEQUENCE {
153    b1 BOOLEAN,  -- Unalign
154    s0 IA5String (SIZE (0, ...)),
155    s1 IA5String (SIZE (0..1, ...)),
156    s2 IA5String (SIZE (1..2, ...)),
157    s3 IA5String (SIZE (2..3, ...)),
158    b2 BOOLEAN,  -- Unalign
159    s4 IA5String (SIZE (3..4, ...)),
160    b3 BOOLEAN,  -- Unalign
161    s255 IA5String (SIZE (254..255, ...)),
162    s256 IA5String (SIZE (255..256, ...)),
163    s257 IA5String (SIZE (256..257, ...)),
164    i INTEGER (0..1024)
165  }
166
167
168  Ns ::= NumericString
169  NsCon ::= [70] NumericString
170  NsExpCon ::= [71] EXPLICIT NumericString
171
172  Ps ::= PrintableString
173  Ps11 ::= PrintableString (FROM ("0123456789*"))
174
175  Ts ::= TeletexString
176
177  Vxs ::= VideotexString
178
179  Vis ::= VisibleString
180  Vis8 ::= VisibleString (FROM ("01234567"))
181
182  IA5 ::= IA5String
183  IA5Visible ::= IA5String (FROM (" ".."~"))
184
185  Grs ::= GraphicString
186
187  ODesc ::= ObjectDescriptor
188
189  ODescSeq ::= SEQUENCE {
190		o ObjectDescriptor OPTIONAL,
191		i INTEGER
192  }
193
194  Ges ::= GeneralString
195
196  Us ::= UniversalString
197  UsCon ::= [70] UniversalString
198  UsExpCon ::= [71] EXPLICIT UniversalString
199
200  BMP ::= BMPString
201
202  Gt ::= GeneralizedTime
203
204  UTC ::= UTCTime
205
206  UTF ::= UTF8String
207
208
209END
210