Any person who is guilty of a crime.(a) being a public officer employed in an administrative capacity for the detection, prosecution, detention, or punishment of offenders, corruptly solicits, receives, or obtains, or agrees to receive or obtain, any property or benefit of any kind for himself or any other person, on account of anything done or omitted, or to be done or omitted, by him, contrary to his duty as such officer; or(b) corruptly gives, confers, or procures, or promises or offers to give, confer, procure, or attempt to procure, to, upon, or for any such officer as aforesaid, or any other person, any property or benefit of any kind on account of anything done or omitted, or to be done or omitted, by such officer as aforesaid Charge:(a) Corruption as an officer of justice.(b) Bribing [ or offering a bribe to] an officer of justice.