Consider the integrable random variable $X$ on a probability space $(\Omega,\mathcal{F},\mathbb{P})$ and the sub sigma-algebra $\mathcal{G}\subset \mathcal{F}$.
I want to show that
$$ \text{$X$ is independent of $\mathcal{G}$} \Leftrightarrow \text{ $\mathbb{E} \left[ e^{i u X } \mid \mathcal{G} \right] = \mathbb{E}\left[ e^{i u X } \right]$ } $$
The necessary part seems to be trivial, since if $X$ is independent of $\mathcal{G}$ then so is $e^{i u X }$ as it is a continuous and bounded function of $X$, and the result follows.
For the sufficient part, I must show that the sigma algebras $\sigma(e^{i u X })$ and $\mathcal{G}$ are independent. The hypothesis and definition of conditional expectation yields
$$\mathbb{E}\left[ e^{i u X } \mathbb{1}_G \right] = \mathbb{P}\left[ G \right] \mathbb{E}\left[ e^{i u X } \ \right], ~\forall G \in \mathcal{G}$$
I am wondering what more needs to be shown to justify this part.