Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to validate a signed DLL has been signed by me?

Tags:

code-signing

I have created a self generated certificate to sign a DLL. When I load this DLL into my C++ application I am able to validate if the code signing certificate is valid or not by using the WinVerifyTrust api.

But I am not able to find a way to detect that the DLL has been signed by one of my certificates. Even by using the CryptQueryObject api I do not find any useful information.

Does anyone have a idea on how to do this? Or is it event possible?

Thank you

like image 606
Arkonis Avatar asked Nov 14 '22 16:11

Arkonis


1 Answers

CryptVerifyCertificateSignature isn't what you want?

like image 100
Bill Zeller Avatar answered Jan 14 '23 18:01

Bill Zeller