encodeToAsn1PrimitiveOrNull