Australia opener Chris Rogers believes his century in the second Test against South Africa has prolonged his international career.