please refer to ITU-T recommendation X.690,page number 6.The difference between definite length encoding and indefinite length encoding is clearly explained in this document and also available in ITU-T website at free of cost.
regards kb devaraj > -----Original Message----- > From: Pino Roberto [SMTP:[EMAIL PROTECTED]] > Sent: Wednesday, September 11, 2002 3:58 PM > To: '[EMAIL PROTECTED]' > Subject: [ASN.1] Abount definite and indefinite lenght encoding > > Hi, > I would like to know if it's possible with ASN.1, use different lenght > encodings for structure in the same file. > For example, is possible encoding a structure with indefinite lenght > encoding and another (may be a substructure of the first one) with > definite > lenght encoding? > And if it's possibile, how can the encoder recognize structures to be > encoded with definite lenght encoding from structures with indefinite > lenght > encoding? Is there any ASN.1 tag to use? > Thanks, bye, Roberto
