X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=tests%2Ftests-asn1c-compiler%2F149-with-components-SE.asn1.-E;fp=tests%2Ftests-asn1c-compiler%2F149-with-components-SE.asn1.-E;h=e20e6cdc52ff42339f58e87b59e0fd9018585f9e;hb=70ee6fc793ec8e828067a3569849b6c216054497;hp=0000000000000000000000000000000000000000;hpb=59f84608ec15c016958a6e0e0ddd813f376c0925;p=com%2Fasn1c.git diff --git a/tests/tests-asn1c-compiler/149-with-components-SE.asn1.-E b/tests/tests-asn1c-compiler/149-with-components-SE.asn1.-E new file mode 100644 index 0000000..e20e6cd --- /dev/null +++ b/tests/tests-asn1c-compiler/149-with-components-SE.asn1.-E @@ -0,0 +1,12 @@ +ModuleComplexWithComponents { iso org(3) dod(6) internet(1) private(4) + enterprise(1) spelio(9363) software(1) asn1c(5) test(1) 149 } +DEFINITIONS ::= +BEGIN + +Certificate ::= ExplicitCertificate (WITH COMPONENTS { ..., issuer (WITH COMPONENTS { sha256AndDigest }), toBeSigned (WITH COMPONENTS { ..., id (WITH COMPONENTS { name ("foo" | "bar") }), crlSeries ( ScmsSpclComponentCrlSeries), validityPeriod (WITH COMPONENTS { ..., duration ( CrlgCertExpiration) }), region (WITH COMPONENTS { identifiedRegion ( SequenceOfIdentifiedRegion (SIZE(3)) (CONSTRAINED BY { + IdentifiedRegion ( WITH COMPONENTS { countryOnly(Canada) }), + IdentifiedRegion ( WITH COMPONENTS { countryOnly(Mexico) }), + IdentifiedRegion ( WITH COMPONENTS { countryOnly(USA) }) + })) }), canRequestRollover (NULL), encryptionKey ABSENT, verifyKeyIndicator (WITH COMPONENTS { verificationKey (WITH COMPONENTS { ecdsaNistP256 (WITH COMPONENTS { compressed-y-0, compressed-y-1 }) }) }) }) }) + +END