Compiling nested structures
Brought to you by:
colinwebber,
thawte_basn
The python tool that creates the Java classes doesn't seem to support nested structures like the following:
Foo ::= SEQUENCE {
foo INTEGER,
foobar SEQUENCE {
foobar1 REAL,
foobar2 MyType
}
}
The fault seems to be in the RE_CLASSNAME regular expression, which doesn't match sequences like the previous one.
Is it equivalent, in terms of BER coding, if I substitute the previous sequence with:
FooBar ::= SEQUENCE {
foobar1 REAL,
foobar2 MyType
}
Foo ::= SEQUENCE {
foo INTEGER,
foobar Foobar
}
Or would the BER encoding be incompatible with the decoding based on the first example?