added certificate::reset() method