Section 511(b) in The Code of Criminal Procedure, 1989 (1933 A. D.)
(b)in case of a conviction, either by a certificate signed by the officer-in-charge of the jail in which the punishment or any part thereof was inflicted, or by production of the warrant of commitment under which the punishment was suffered ;