After voters cast their ballots, their votes are certified by state officials before the electoral college gathers.