[PATCH 3/7] cert: Add l_cert and l_certchain accessor functions