add get_certificate_info method to CA