I would like to be able to open a file and grab a list of all the certificates for that file, and list off all key information for each certificate.
Currently, I have the listing of key information done correctly for the first certificate listed from CryptQueryObject()
, but I cannot find any way of getting a list of all the certificates.
Here is what I would like to use, but I cannot use .NET and I would not like to be restricted to Windows 8/Server 2012 which the solution from here would do.