Hi,

I have a question about how the bit streams for ASN.1 features like
CHOICE and OPTIONAL would look like.

For the following structures, what would the bit streams look like?
SomeStruct ::= SEQUENCE
{
 a1 BOOLEAN,
 b1 CHOICE
 {
   bfield BOOLEAN,
   cfield INTEGER
 }
}

MyStruct ::= SEQUENCE
{
     aField  INTEGER,
     someStruct SomeStruct OPTIONAL
}

Specifically in the case of CHOICE, if PER is used, how does the
receiving end know which field is sent ?

Thanks.




Confidentiality Notice

The information contained in this electronic message and any attachments to this 
message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged 
information. If
you are not the intended recipient, please notify the sender at Wipro or [EMAIL 
PROTECTED] immediately
and destroy all copies of this message and any attachments.
_______________________________________________
ASN1 mailing list
[EMAIL PROTECTED]
http://lists.asn1.org/mailman/listinfo/asn1

Reply via email to