From 18bd1239bee04427340a44f57f993ea92c264e41 Mon Sep 17 00:00:00 2001 From: Kenneth Lundin Date: Fri, 19 Feb 2010 14:01:57 +0000 Subject: OTP-8463 Support for EXTENSIBILITY IMPLIED and SET/SEQ OF NamedType is added. --- lib/asn1/test/asn1_SUITE_data/PartialDecSeq3.asn | 45 ++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 lib/asn1/test/asn1_SUITE_data/PartialDecSeq3.asn (limited to 'lib/asn1/test/asn1_SUITE_data/PartialDecSeq3.asn') diff --git a/lib/asn1/test/asn1_SUITE_data/PartialDecSeq3.asn b/lib/asn1/test/asn1_SUITE_data/PartialDecSeq3.asn new file mode 100644 index 0000000000..3b530733ef --- /dev/null +++ b/lib/asn1/test/asn1_SUITE_data/PartialDecSeq3.asn @@ -0,0 +1,45 @@ +PartialDecSeq3 DEFINITIONS AUTOMATIC TAGS ::= + +BEGIN + +S1 ::= SEQUENCE { + a INTEGER, + b S2 OPTIONAL, + c C1, + d SO1 +} + +S2 ::= SEQUENCE { + a BOOLEAN, + b INTEGER, + c SEQUENCE OF S3, + ... +} + +C1 ::= CHOICE { + a SEQUENCE OF S3, + b SEQUENCE {a INTEGER, b BOOLEAN, c S4} +} + +S3 ::= SEQUENCE { + first INTEGER, + second PrintableString, + third OCTET STRING (SIZE(2..100)), + fourth BIT STRING {one(0),two(1),three(2),four(3),five(4),six(5)}(SIZE(1..6)), + ... +} + +S4 ::= SET { + name Name, + title VisibleString +} + +Name ::= SEQUENCE { + givenName VisibleString, + initial VisibleString, + familyName VisibleString +} + +SO1 ::= SEQUENCE (SIZE(2..6)) OF Name + +END -- cgit v1.2.3