Return early if ASN1 string is invalid