Currently the following code fails:
from cryptography.hazmat import asn1
tlv_obj = asn1.decode_der(asn1.TLV, asn1.encode_der(1))
asn1.encode_der(tlv_obj)
This would be helpful for cases where an arbitrary asn1 part is parsed using the TLV specifier to serialize only that part of the structure back to DER.
Currently the following code fails:
This would be helpful for cases where an arbitrary asn1 part is parsed using the TLV specifier to serialize only that part of the structure back to DER.