Fully relativistic Green’s functions method