Inner container definitions are not supported
ASN.1 supports the definition of containers (SEQUENCE, SET or CHOICE) in containers, either with inner or separate definitions for each container.
Environment
The following example shows an inner definition:
Sample ::= SEQUENCE -- outer container
{
inner SEQUENCE -- inner container
{
c INTEGER,
d INTEGER
}
}
The following example shows a separate definition for both containers:
Sample ::= SEQUENCE -- outer container
{
inner Inner
}
Inner ::= SEQUENCE -- inner container
{
c INTEGER,
d INTEGER
}
Diagnosing the problem
ASN1Parse supports only separate definitions. Inner definitions are not supported.
Resolving the problem
If your ASN.1 structure definition has inner definitions, revise the ASN.1 structure definition by specifying and using separate definitions as shown above.