Add API endpoint to verify and parse certificate