No longer uses separate arrays for certs and their aliases. Now both are
contained in a single struct called CertWithAlias. An array of these
are passed around instead of two separate arrays, one for certs and one
for their aliases.
GetCerts now returns an array of alias strings along with certs,
the array contains empty strings if not jceks. DisplayCerts
now takes in an alias string along with the cert and only prints
it if non empty.
-If a field in a cert is blank, prints N/A
-Large arrays are now newline separated in the output, instead of all on one line
-Displays cert alternate ip addresses and email addresses as well
methods to return a string of the correct color, rather than printing
it and returning an empty string. Changed names of color display methods
to certStart and certEnd.
displayCert now prints out the start or expiry date in different colors
depending on how close the deadline is. Also all methods have comments
explaining arguments/return value and basic overview.
I still need to changed the p12 support to display all the certificates present. pkcs12.decode only
returns one cert even if more present. Going to use pkcs12.topem to convert to pem which I know
how to get all the certs from.