Rajmohan wrote:
>
> I need a clarification in PER.
>
> What is the significance of OPTIONAL element in extension?
>
> eg: ASNSTRUCT ::= SEQUENCE
> {
> nonStandard INTEGER,
> ....
> extnA BOOLEAN,
> extnB INTEGER (0..65535) OPTIONAL
> }
>
> Here, how to encode the extension elements in extension and with the OPTIONAL
> bit.
This is described in the books:
[...] Each bit equals 1 if the corresponding extension is present in the
value (whether this extension is mandatory or marked OPTIONAL or DEFAULT), 0
otherwise.
--
Olivier DUBUISSON
france telecom R&D
_ DTL/MSV - 22307 Lannion Cedex - France
( ) tel: +33 2 96 05 38 50 - fax: +33 2 96 05 39 45
/.\/ --------------------------------------
\_/\ Site ASN.1 : http://asn1.elibel.tm.fr/