A man has been found guilty of the attempted murder of a British Police officer.