Dear all,

I'm trying to implement an simple asn1  parser to parse a big p7m file. Now 
I encounter a problem that I don't know how to solve. Hope to get some help 
from you guys. :)
I use FileSource to load the source and then get the tag and call 
CryptoPP::BERLengthDecode to parse the tag.

I would like to find a way to use CryptoPP properly so that it doesn't need 
to load everything into the memory before it can parse the file. I tried to 
use FileSource without PumpAll, but my understanding is even if I pump some 
bytes each time I will still end up with loading everything into to the 
mem. Correct me if I'm wrong.
So I wonder what is the right way to do it. Can I tell cryptoPP to jump 
over the big data segment without loading it? Can I use StringSource with 
dynamic content and control the "cursor" inside CryptoPP?

Any advice/hint is appreciated. If you have some code segment I can refer 
to that would be great.

Best Regards
Jing

-- 
-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [email protected].
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to