A tag needs to be properly assigned to a type to be used in the BER/DER encoding. We have a support for the tag in the parser crate when it can be parsed. Similar support for the tags needs to be added in the Asn1resolver structure as well.
See also: #75