* keep helper functions out of the DLL bindings APIs * unify the logic for linux and windows certificate scanning with regards to error handling