Xuelei Fan wrote:

t to support indefinite-length, I think you can simply keep reading until get two zero bytes.

As I understand, "0x80 0x06 0x07 0x01 0x00 0x00" is not an indef-len BER.
You're right, it is not a valid indef-len BER. I will look twice of readBERInternal() tomorrow.


The process of parsing indef-len BER content looks fine for me.

Andrew

Reply via email to