  Using a phenomenological approach to field quantization, an expression for
the Keldysh function of photons between two planar interfaces (Casimir
geometry) is found for any stationary quantum state of the two bodies. The case
of one interface sliding against the other is considered in detail.
