Share

The ASN.1 Compiler

Subscribe

Extension Addition Groups

  1. 2009-09-13 14:01:14 UTC

    I'm assuming asn1c doesn't support Extension Addition Groups as I get an error message with the following but perhaps someone could confirm this. Many thanks.

    FooBar {1 2 3 4 5 6} DEFINITIONS ::= BEGIN
      ExtAddGrpEg ::= SEQUENCE {
        a INTEGER (250..253),
        b BOOLEAN,
        c BOOLEAN,
        ...,
        [[
          g NUMERICSTRING (SIZE (3..3)),
          h BOOLEAN OPTIONAL
        ]],
        ...,
        i BMPSTRING OPTIONAL,
        j PrintableString OPTIONAL
      }
    END
    
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.