Sri Lanka vice-captain Mahela Jayawardene says he is considering legal action in response to commentary that implied he was guilty of match-fixing.