asn1c/tests/137-oer-string-OK.asn1

28 lines
677 B
Groff

-- OK: Everything is fine
-- iso.org.dod.internet.private.enterprise (1.3.6.1.4.1)
-- .spelio.software.asn1c.test (9363.1.5.1)
-- .137
ModuleOERString
{ iso org(3) dod(6) internet (1) private(4) enterprise(1)
spelio(9363) software(1) asn1c(5) test(1) 137 }
DEFINITIONS IMPLICIT TAGS ::=
BEGIN
T ::= SEQUENCE {
unconstrained SEQUENCE {
ia5 IA5String,
utf8 UTF8String,
universal UniversalString
},
constrained SEQUENCE {
ia5 IA5String (SIZE(2..2)),
utf8 UTF8String (SIZE(2)),
universal UniversalString (SIZE(2 | 2))
}
}
END