Olivier Dubuisson wrote:
Can someone answer to this? I am attending ITU-T TSAG and have no time.

-------- Original Message --------
Subject:     Re: Information regarding CONTAINING
Date:     Fri, 7 Jul 2006 01:51:18 -0700 (PDT)
From:     G Sethuraman <[EMAIL PROTECTED]>
Reply-To:     G Sethuraman <[EMAIL PROTECTED]>
To:     DUBUISSON Olivier RD-TCH <[EMAIL PROTECTED]>



Hi Olivier,

As per your direction, I have subscribed to asn1 mailing list but I am
yet to get a cofirmation of my membership and hence not able to post the
question to asn1 mailing list. Since I needed this information urgently,
I am resending the question that I had sent you earlier. Can you throw
some light on this ?

I have a ASN1 file which has a CONTAINING keyword, but unfortunately the
ASN1 compiler does not support this keyword. My question is, is it
possible to bypass this keyword with a workaround so that I can use my
existing ASN1 compiler ?


My sample ASN1 file looks like this..

SEQUENCE {

a INTEGER
b BIT_STRING (CONTAINING K) OPTIONAL

}

You may safely remove "(CONTAINING K)" from the specification, as shown:

SEQUENCE {
        a INTEGER
        b BIT STRING OPTIONAL
}

(by the way, it is BIT STRING, not BIT_STRING).

You will have to parse the contents of "b" as appropriately (BER/PER)
encoded K, but it comes later, and is purely up to you, if you ever
need it (read: you don't have to parse it unless you know what it is).

K ::= SEQUENCE {
                c    INTEGER         OPTIONAL,
                d    SEQUENCE {}          OPTIONAL
               }

Can you also point me to some useful resources in this regard ?
>
-----------------------
[EMAIL PROTECTED]
-----------------------

Thanks for your time

Regards
Sethuraman G

----- Original Message ----
From: Olivier Dubuisson <[EMAIL PROTECTED]>
To: G Sethuraman <[EMAIL PROTECTED]>
Sent: Wednesday, July 5, 2006 9:40:20 PM
Subject: Re: Information regarding CONTAINING

G Sethuraman wrote:
 > Hi,
 >
 >  I have just started working on ASN1  and would like to get some
 > clarification regarding the CONTAINING keyword in ASN1.

Please send your question to [email protected]

_______________________________________________
ASN1 mailing list
[email protected]
http://lists.asn1.org/mailman/listinfo/asn1

Reply via email to