I am receiving a pointer to memory which contains a file and I need to check if the file has a certificate and that it is valid. In the past I used winverifytrust for checki