A police officer who was injured by gunfire during a shootout in Danville was identified several days after the incident.