Given a certificate (PKC#7 format) how can you determine the root certificate file name
I'm writing code in C++ and to validate a certificate I need to verify it's
chain back to the root certificate.
The method that validates the certificate also needs the root certificate
file name. How can
I determine the root certificate file name for a given certificate? I know
the directory where root certificates
are stored but I need to determine which root certificate is associated with
a given certificate.
Any help would be much appreciated.