|
From: | Dmitriy Anisimkov |
Subject: | Re: streaming decoding |
Date: | Wed, 24 Aug 2011 12:05:20 +0700 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110616 SUSE/3.1.11 Thunderbird/3.1.11 |
On 08/12/2011 07:45 PM, Simon Josefsson wrote:
The asn1Decoding tool can only decode one instance of the ASN.1 data. You can indeed write your own tool to decode multiple instances of the same struct from a stream, either using just the APIs directly or modifying the asn1Decoding tool to do what you want.
How could I know the length of one instance ? By the decoding each record elements, or maybe there is some simple method ?
[Prev in Thread] | Current Thread | [Next in Thread] |