Hi,
The root clause
comes into picture when extension marker is present in the ASN.1
specification. For e.g.
UnionOfCTypes ::= CHOICE
{
byte INTEGER(0..127),
word INTEGER(0..65535),
...
dword INTEGER(0..4294967295)
}
In the above e.g.
the elements "byte" and "word" are the root elements (or extensions root) and
"dword" is an extension element.
Once small
correction. This "rrot" is not specific to the PER as such and is pertinent to
the ASN.1 language syntax itself. I guess you have clear with the from the above
e.g.
Hope this addresses
your issue.
Regards
Ramaswamy R
HCL Technologies Ltd,Chennai
"Do or do not. There is no try." - Yoda
Ramaswamy R
HCL Technologies Ltd,Chennai
"Do or do not. There is no try." - Yoda
-----Original Message-----
From: surya santosh [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 15, 2004 10:37 AM
To: [EMAIL PROTECTED]
Subject: [ASN1] Regarding root in ASN.1 PER
From: surya santosh [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 15, 2004 10:37 AM
To: [EMAIL PROTECTED]
Subject: [ASN1] Regarding root in ASN.1 PER
Hi
What does root actually mean in PER.
I saw different ways of encoding if the values are present in the root and if they r not present in the root. What does this statement mean????
"For a CHOICE value, there is again a preamble. If the type is not extensible, or the value is in the root, we have an upper bound on this choice index."
Regards
Santosh
_______________________________________________ ASN1 mailing list [EMAIL PROTECTED] http://lists.asn1.org/mailman/listinfo/asn1
