Derek Hanekom's resignation has been confirmed by the office of the African National Congress (ANC) Chief Whip.