(PE-4617) Added functions to retrieve parsed extensions from
certificates
(PE-4617) Added tests