Let $X$ be a random variable on the probability space $(\Omega, \mathcal{F}, P)$ and $\mathcal{A} \subset \mathcal{B} \subset \mathcal{F}$ be a $\sigma$-subalgebras.
I want to prove that if $$ \mathrm{E}[e^{u X}|\mathcal{A}] = \mathrm{E}[e^{u X}|\mathcal{B}] $$ holds for any $u \in \mathbb{C}$ then $P(X\in \Gamma|\mathcal{A}) = P(X\in \Gamma|\mathcal{B})$ for any borel $\Gamma$. Any hints?
I would do something like that: First, your assumptions imply that $\mathbb{E}[e^{uX}] < \infty ~\forall u \in \mathbb{R}$. let $\forall u \in \mathbb{R}:~f_a(u) := \mathbb{E}[e^{u X} | \mathcal{A}]$ and $f_b(u) := \mathbb{E}[e^{u X} | \mathcal{B}]$. Using your assumption, one can see that up to a countable number of modifications the function $f_a$ is $\mathcal{C}^{\infty}(\mathbb{R})$ and that: $$ \mathbb{P}(dw) ~a.s.~~f_a^{(n)}(u)= \mathbb{E}(X^n e^{u X} | \mathcal{A})$$
The same apply to $f_b$. From $f_a = f_b$ is follows that $f_a^{(n)}(0) = f_b^{(n)}(0)$. Thus, $\mathbb{P}(dw) \text{ a.s. },~\mathbb{E}[X^n | \mathcal{A}] = \mathbb{E}[X^n | \mathcal{B}]$ where the event of probabilty zero can be choosen independently of $n$.
It thus follows that, if $f$ is a polynomial on $\mathbb{R}$, $\mathbb{P}(dw) \text{ a.s. },~\mathbb{E}[f(X) | \mathcal{A}] = \mathbb{E}[f(X) | \mathcal{B}]$. The result can be extended to any continuous function $f$ with a compact support. It is then not hard to conclude, as the indicator function of any closed set can be arbitrary approximated by a continuous function.