collect statistics about found certificates
don't call openssl, do processing internally
do not try to build trust chain if we know it won't be successful
reuse once read certificates where possible
add collection of LoS for the cert paths found
application for finding the correct certificate chain

process the result files and output if the cert chain inside is
complete or not (that means it requires further processing)
make the parsing more robust, report errors
use pre-parsed data outputted by the C application