Hi people! I'm quite new to ASN.1 but as far as I know usually the indefinite encode form is used when the structure is too long... Is there any length from wich is recommended to use indefinite length form due to performance issues? How do you usually choose that in practice when you can specify that to your encoder?
Thanks in advance, Ricardo Barroso Ed Day wrote: >Hi Roberto, > >There is no way to specify within the syntax whether definite or indefinite >length should be used. The best you can do is add a comment to the spec as >a recommendation as to how you think it should be done and for what reasons. >But any fully compliant decoder should be able to decode it in either form. >It is up to the sender how they want to encode it. > >Regards, > >Ed Day >Objective Systems, Inc. >Tel: +1 (484) 875-3020 >Fax: +1 (484) 875-2913 >Toll-free: (877) 307-6855 (USA only) >mailto:[EMAIL PROTECTED] >http://www.obj-sys.com > > >----- Original Message ----- >From: "Pino Roberto" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Friday, September 13, 2002 6:36 AM >Subject: [ASN.1] Encoding lenghts... > > > > >>I want to specify that my question was not about a particular tool. >>My question was about ASN1 syntax and the existence of the capability to >>force from ASN1 source, in which way encode a structure. Nothing more than >>this. >>Thanks to everybody for yours suggestions. >>Regards, >>Roberto Pino >> >> > > > >
