Question related to Lazarus or Delphi. Is there a way to programmatically access trusted Root Certificate Authorities certificates in Windows. I know there is GUI based tool in Windows called ‘mmc.exe’, but I need to access certificate files (like .crt or .cer or .pem etc.) using Object Pascal syntax. Can anyone help me with that?
Question related to Lazarus or Delphi. Is there a way to programmatically access trusted
Share
As alternatives, there’s CAPICOM which you can simply import as ActiveX type library, but there’s also the plain old Windows Cryptography API.
As an example, here’s a very old test project of mine (I haven’t tried it recently). You’re going to need the
WinCryptorJwaWinCryptunit with the relevant API translations which should be available on JEDI: