ApiValidator (10.0.17763.0) Fails for function ImageGetCertificateData

  • Thread starter Thread starter P.VamseeKrishna
  • Start date Start date
P

P.VamseeKrishna

Guest
Hi,


In my driver development I am trying to build a UWP driver. In my code I was using "ImageGetCertificateData" function to validate the certificate signature. But this function is failing at ApiValidation phase.

"D:\Vamsee\TestDriver.sln" (Clean;Build target) (1) ->
"D:\Vamsee\TestDriver.vcxproj.metaproj" (default target) (3:3) ->
"D:\Vamsee\TestDriver.vcxproj" (default target) (5:3) ->
(ApiValidator target) ->
ApiValidation : error : TestDriver.dll has unsupported API call to "imagehlp.dll!ImageGetCertificateData" [C:\TestDriver\TestDriver.vcxproj]
ApiValidation : error : TestDriver.dll has unsupported API call to "imagehlp.dll!ImageGetCertificateHeader" [C:\TestDriver\TestDriver.vcxproj]
c:\nice_tools\EWDK\Program Files\Windows Kits\10\build\WindowsDriver.common.targets(1783,5): error MSB3721: The command ""c:\Program Files\Windows Kits\10\bin\10.0.17763.0\x64\ApiValidator.exe" -DriverPackagePath:x64\x64
\Release\\OutDirUwp\TestDriver.dll -SupportedApiXmlFiles:"c:\Program Files\Windows Kits\10\build
\universalDDIs\x64\UniversalDDIs.xml" -ModuleWhiteListXmlFiles:"c:\Program Files\Windows Kits\10\build\
universalDDIs\x64\ModuleWhiteList.xml" -ApiExtractorExePath:"c:\Program Files\Windows Kits\10\bin\10.0.
17763.0\x64"" exited with code -1. [D:\Vamsee\TestDriver.vcxproj]

Could you please let me know the similar UWP API for validating the certificate.

Thanks in advance,

Vamsee

Continue reading...
 
Back
Top