aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/asn1_SUITE_data/Extension-Addition-Group.asn
diff options
context:
space:
mode:
authorNiclas Eklund <[email protected]>2010-10-19 16:06:53 +0200
committerNiclas Eklund <[email protected]>2010-10-19 16:06:53 +0200
commitf420f36b3d9b8360250cc0c0d7e9a0c9e2341e45 (patch)
tree615dcf1679299ac354ef9bb8f511268c89e3775c /lib/asn1/test/asn1_SUITE_data/Extension-Addition-Group.asn
parent64df27c91db991550bdd6c97862eb26c1c9e37bf (diff)
parent0f727bd7b72b009eac169c2e9ef925d3c2ffa409 (diff)
downloadotp-f420f36b3d9b8360250cc0c0d7e9a0c9e2341e45.tar.gz
otp-f420f36b3d9b8360250cc0c0d7e9a0c9e2341e45.tar.bz2
otp-f420f36b3d9b8360250cc0c0d7e9a0c9e2341e45.zip
Merge branch 'maint-r13' of super:otp into nick/orber/corbaloc_http/OTP-8900
Diffstat (limited to 'lib/asn1/test/asn1_SUITE_data/Extension-Addition-Group.asn')
-rw-r--r--lib/asn1/test/asn1_SUITE_data/Extension-Addition-Group.asn18
1 files changed, 17 insertions, 1 deletions
diff --git a/lib/asn1/test/asn1_SUITE_data/Extension-Addition-Group.asn b/lib/asn1/test/asn1_SUITE_data/Extension-Addition-Group.asn
index b985c970ac..fc244c30a2 100644
--- a/lib/asn1/test/asn1_SUITE_data/Extension-Addition-Group.asn
+++ b/lib/asn1/test/asn1_SUITE_data/Extension-Addition-Group.asn
@@ -48,6 +48,7 @@ Ax ::= SEQUENCE {
}
-- valAx Ax ::= { a 253, b TRUE, c e: TRUE, g "123", h TRUE }
+
Ax2 ::= SEQUENCE {
a INTEGER (250..253),
b BOOLEAN,
@@ -55,7 +56,6 @@ Ax2 ::= SEQUENCE {
ug NumericString
}
-END
-- The value { a 253, b TRUE, c e: TRUE, g "123", h TRUE }
-- is encoded in PER as
@@ -64,3 +64,19 @@ END
-- is encoded in Unaligned PER as
-- 9E000600 040A4690
+
+Ax3 ::= SEQUENCE {
+ a INTEGER (250..253),
+ b BOOLEAN,
+ s SEQUENCE {
+ sa INTEGER,
+ sb BOOLEAN,
+ ...,
+ [[
+ sextaddgroup INTEGER OPTIONAL
+ ]]
+ }
+}
+
+-- { a 253, b TRUE, s {sa 17, sb TRUE, sextaddgroup 11}}
+END