The asn.1 encoder expects bytes-like objects, we cannot simply pass hex-strings to it without conversion Change-Id: I83ad047e043dc6b3462b188ce6dd0b2cc0e52e87