Off-shell electromagnetism in manifestly covariant relativistic quantum mechanics