Any person who—
(a) corruptly asks for, receives, or obtains, or agrees or attempts to receive or obtain, any property or benefit of any kind for himself, herself or any other person on account of anything already done or omitted to be done, or to be afterwards done or omitted to be done, by the person or any other person, with regard to the appointment or contemplated appointment of any person to any office or employment in the public service, or with regard to any application by any person for employment in the public service; or
(b) corruptly gives, confers, or procures, or promises or offers to give or confer, or to procure or attempt to procure, to, upon, or for, any person any property or benefit of any kind on account of any such act or omission;is guilty of a misdemeanour, and is liable to imprisonment for 3 years, and to be fined at the discretion of the court.