On Thu, 12 Sep 2002, Pino Roberto wrote: > I'm sorry for the misunderstanding...I used always the word "decoder" but > what I want to know is abount the encoder and about encoding function... > I understood that in the encoded file a structure is recognized as encoded > with indefinite lenght if the tag 80 is found... > But my problem was how to tell to the encoder that a structure has to be > encoded with indefinite lenght and that another structure must be encoded > with definite lenght within the same file. > > For example which is the ASN.1 definition for a structure like this: > > main_structure (to be encoded in indefinte way) > field1 octet_string[10] (to be encoded in definite way) > field2 any_substructure_type (to be encoded in definite way)
This a tool-specific matter and so is inappropriate for this list. Check with the maker of the encoder that you are using. ------------------------------------------------------------------------- Bancroft Scott Toll Free :1-888-OSS-ASN1 OSS Nokalva International:1-732-302-0750 [EMAIL PROTECTED] Tech Support :1-732-302-9669 x-1 1-732-302-9669 x-200 Fax :1-732-302-0023 http://www.oss.com
