Hello rahul,

the encoding of octet length is clearly mentioned in
the asn specification.

I shall send u the text part regarding this tomorrow.

regards,
 kalyani


--- [EMAIL PROTECTED] wrote:
> 
> 
> 
> Hi Salai,
> 
> Please find my comments below.
> 
> Regards,
> Rahul
> Hughes Software System
> 
> 
> >Hi all,
> >
> >I have a doubt regarding Length octets in BER.
> >My question is, How to specify length octets, if
> it's value is greater than
> >'255'.
> >Because we cannot specify it in a single octet.
> >
> >For Example,
> >I want to specify a Length value as '302'.
> >Can i specify it in two octets, in this case value
> will be  01 2E.
> >
> [Rahul] The Encoded String will be
> [Rahul] T = some value
> [Rahul] L = 84 01 2E
> [Rahul] V = some value
> [Rahul] This is actually Long Definite Form of
> encoding Lengths
> [Rahul] which is used to encoded value octets
> between [0 - (256^126 -1)]
> [Rahul] Beyond this Long Indefinite form is used.
> >
> >T = some value
> >L =  01 2E
> >V = some value
> >
> >while interpreting, the boundry between L and V is
> not very clear.
> >My mistaken, there is a chance to  read only '01'
> as length and 2E as value.
> >
> >how to avoid this ?
> >
> >It would be really helpful for me if somebady tells
> the answer.
> >
> >Thanks in advance.
> >
> >-Salai.g
> >www.icope.com
> >
> 
> 
> 
> 
> 
> 
> 
> 
> "DISCLAIMER: This message is proprietary to Hughes
> Software Systems Limited
> (HSS) and is intended solely for the use of the
> individual  to whom it is
> addressed. It may contain  privileged or
> confidential information  and should
> not be circulated or used for any purpose other than
> for what it is intended. If
> you have received this message in error, please
> notify the originator
> immediately. If you are not the intended recipient,
> you are notified that you
> are strictly prohibited from using, copying,
> altering, or disclosing the
> contents of this message. HSS accepts no
> responsibility for loss or damage
> arising from the use of the information transmitted
> by this email including
> damage from virus."
> 
> 
> 
> 
> 


__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com

Reply via email to