Hi ,
I heard that in ASN.1 version 3.1 some cheages are made .which are different from previous.
Can you please send what are all the changes that are made?
Thanks & Regards,
Venkat
[EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
Send ASN1 mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.asn1.org/mailman/listinfo/asn1
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]
You can reach the person managing the list at
[EMAIL PROTECTED]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of ASN1 digest..."
Today's Topics:
1. BER encoding of a CHOICE type that has data members with
DEFAULT value (Eduard Lascu)
----------------------------------------------------------------------
Message: 1
Date: Thu, 12 May 2005 11:14:57 -0400
From: "Eduard Lascu" <[EMAIL PROTECTED]>
Subject: [ASN1] BER encoding of a CHOICE type that has data members
with DEFAULT value
To:
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"
Hello ASN.1 experts,
I have a CHOICE type that is defined like this:
time-SecondFractions CHOICE {
deci-seconds INTEGER (0..9),
centi-seconds INTEGER (0..99),
milliseconds INTEGER (0..999) ) DEFAULT(0)
I have a problem interpreting what the BER standard says about encoding such
a field. On one hand, members having the Default value are not to be
encoded. In a SEQUENCE, the class of the members is context specific and the
tag numbers are used too determine which member is present and which is
absent.
On the other hand, BER says that the encoding of a choice value shall be the
same as the encoding of the value of the chosen type. If the inner members
are not OPTIONAL and cannot have a DEFAULT VALUE everything is fine. But if
they are OPTIONAL or if they can have a DEFAULT VALUE (such as my case,
above described) I am confused.
If my chosen type has exactly the default value, how do I encode the Choice?
Any help would be highly appreciated.
Best regards,
Eddie
------------------------------
_______________________________________________
ASN1 mailing list
[email protected]
http://lists.asn1.org/mailman/listinfo/asn1
End of ASN1 Digest, Vol 10, Issue 4
***********************************
Yahoo! India Matrimony: Find your life partner online.
_______________________________________________ ASN1 mailing list [email protected] http://lists.asn1.org/mailman/listinfo/asn1
