Implemented access to certificate fields by poking structure. Functions version, startDate and endDate now work