Implement a basic certificate class.