title: Checking digital signature programmatically from Delphi
body: <p>I need a function in Delphi to verify the digital signature of an external EXE or DLL.  In my particular application, I am going to occasionally invoke other processes, but for security purposes I want to make sure these executables were created by our organization before running them.</p>
  
  <p>I have seen <a href="http://msdn.microsoft.com/en-us/library/aa382384" rel="noreferrer">Microsoft's example in C</a>, however, I do not want to waste the time translating this to Delphi if somebody else already has.</p>
  
  <p>I would prefer a snippet or code example over a third-party library.  Thanks.</p>