Validate DLL file

Hi,

How do I make sure I am loading the file I think I am loading into my application? I currently do a certificate check but to do so I need to have a SHA512 of the certificate used to sign the file. Is there any repository with all certificate’s hashes that I can use to tell my application it’s ok to load the nvapi.dll that contains it’s certificate hash in the known hashes repository? Or is there any other way to make sure I am only loading official files from Nvidia?

Thanks in advance.