Initial version of asn1c
[com/asn1c.git] / tests / tests-asn1c-compiler / 19-param-OK.asn1.-EF
diff --git a/tests/tests-asn1c-compiler/19-param-OK.asn1.-EF b/tests/tests-asn1c-compiler/19-param-OK.asn1.-EF
new file mode 100644 (file)
index 0000000..e1af483
--- /dev/null
@@ -0,0 +1,22 @@
+ModuleTestParam { iso org(3) dod(6) internet(1) private(4) enterprise(1)
+       spelio(9363) software(1) asn1c(5) test(1) 19 }
+DEFINITIONS ::=
+BEGIN
+
+SIGNED{ToBeSigned} ::= SEQUENCE {
+    toBeSigned  ToBeSigned,
+    algorithm   OBJECT IDENTIFIER,
+    signature   BIT STRING (SIZE(0..256))
+}
+
+Certificate ::= SIGNED{ SEQUENCE {
+        version         INTEGER,    
+        signature       OBJECT IDENTIFIER,    
+        issuer  Name
+    }}
+
+Name ::= SEQUENCE OF RelativeDistinguishedName
+
+RelativeDistinguishedName ::= SET SIZE(1..MAX) OF IA5String (FROM("A".."Z" | "a".."z" | "0-9" | ",-."))
+
+END