aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/asn1_SUITE_data/PartialDecSeq3.asn
diff options
context:
space:
mode:
authorKenneth Lundin <[email protected]>2010-02-19 14:01:57 +0000
committerErlang/OTP <[email protected]>2010-02-19 14:01:57 +0000
commit18bd1239bee04427340a44f57f993ea92c264e41 (patch)
treedbb3031dcd2e446eb457ff7ac5229949517d7557 /lib/asn1/test/asn1_SUITE_data/PartialDecSeq3.asn
parent729565dc3f8bcf8829508136498aef6a542840f4 (diff)
downloadotp-18bd1239bee04427340a44f57f993ea92c264e41.tar.gz
otp-18bd1239bee04427340a44f57f993ea92c264e41.tar.bz2
otp-18bd1239bee04427340a44f57f993ea92c264e41.zip
OTP-8463 Support for EXTENSIBILITY IMPLIED and SET/SEQ OF NamedType is
added.
Diffstat (limited to 'lib/asn1/test/asn1_SUITE_data/PartialDecSeq3.asn')
-rw-r--r--lib/asn1/test/asn1_SUITE_data/PartialDecSeq3.asn45
1 files changed, 45 insertions, 0 deletions
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