I\'m new to Java, so I would like to use the standard solution for, I think, the standard task. The length of tags and values are not known.
The javaemvreader project contains some code to parse BER-TLV.