Hi all,

I have some problem in encoding of BER values for a particular ASN part.

SEQUENCE
{
     legID [2] CHOICE
     {
          sendingSideID [0] IMPLICIT OCTET STRING (SIZE (1)),
          receivingSideID [1] IMPLICIT OCTET STRING (SIZE (1))
     } OPTIONAL,
     dPSpecificCriteria [30] CHOICE
     {
          numberOfDigits [0] IMPLICIT INTEGER (1..255),
          applicationTimer [1] IMPLICIT INTEGER (0..2047)
     } OPTIONAL
},


I guess first the Type and Length for the Sequence will be specified.Can anyone
tell
me how the TLV format for the CHOICE will be specified while encoding.
It will be of great help!!!!!!!!!

Thanking you in advance
Anuya




Reply via email to