mirror of https://gerrit.osmocom.org/asn1c
57 lines
2.2 KiB
Plaintext
57 lines
2.2 KiB
Plaintext
ModuleTestConstraint1 { iso org(3) dod(6) internet(1) private(4) enterprise(1)
|
||
spelio(9363) software(1) asn1c(5) test(1) 16 1 }
|
||
DEFINITIONS ::=
|
||
BEGIN
|
||
|
||
Type0 ::= IA5String (((SIZE(1..10))(FROM("a".."z" | "#"))))
|
||
-- Combined constraints: (((SIZE(1..10))(FROM("a".."z" | "#"))))
|
||
-- Practical constraints (Type0): (MIN..MAX) (SIZE(1..10)) (FROM("#" | "a".."z"))
|
||
-- PER-visible constraints (Type0): (MIN..MAX) (SIZE(1..10)) (FROM("#" | "a".."z"))
|
||
|
||
Type6 ::= IA5String ((SIZE(1..10))(FROM("a".."z" | "#")))
|
||
-- Combined constraints: ((SIZE(1..10))(FROM("a".."z" | "#")))
|
||
-- Practical constraints (Type6): (MIN..MAX) (SIZE(1..10)) (FROM("#" | "a".."z"))
|
||
-- PER-visible constraints (Type6): (MIN..MAX) (SIZE(1..10)) (FROM("#" | "a".."z"))
|
||
|
||
END
|
||
|
||
ModuleTestConstraint2 { iso org(3) dod(6) internet(1) private(4) enterprise(1)
|
||
spelio(9363) software(1) asn1c(5) test(1) 16 2 }
|
||
DEFINITIONS ::=
|
||
BEGIN
|
||
|
||
Type1 ::= IA5String (SIZE(1..10,...))(FROM("a".."z" | "#",...))
|
||
-- Combined constraints: (SIZE(1..10,...))(FROM("a".."z" | "#",...))
|
||
-- Practical constraints (Type1): (MIN..MAX) (SIZE(1..10,...)) (FROM("#" | "a".."z",...))
|
||
-- PER-visible constraints (Type1): (MIN..MAX) (SIZE(1..10,...)) (FROM(" |