Searched defs:hCertPaths (Results 1 - 5 of 5) sorted by relevance

/vbox/src/VBox/Runtime/common/crypto/
H A Dpkcs7-verify.cpp148 RTDECL(int) RTCrPkcs7VerifyCertCallbackDefault(PCRTCRX509CERTIFICATE pCert, RTCRX509CERTPATHS hCertPaths, uint32_t fFlags, argument
168 RTDECL(int) RTCrPkcs7VerifyCertCallbackCodeSigning(PCRTCRX509CERTIFICATE pCert, RTCRX509CERTPATHS hCertPaths, uint32_t fFlags, argument
420 RTCRX509CERTPATHS hCertPaths; local
421 rc = RTCrX509CertPathsCreate(&hCertPaths, pSignerCert);
424 rc = RTCrX509CertPathsSetValidTimeSpec(hCertPaths, pValidationTime);
426 rc = RTCrX509CertPathsSetTrustedStore(hCertPaths, hTrustedCerts);
428 rc = RTCrX509CertPathsSetUntrustedStore(hCertPaths, hAdditionalCerts);
430 rc = RTCrX509CertPathsSetUntrustedSet(hCertPaths, &pSignedData->Certificates);
433 rc = RTCrX509CertPathsBuild(hCertPaths, pErrInfo);
435 rc = RTCrX509CertPathsValidateAll(hCertPaths, NUL
[all...]
H A Dx509-certpaths.cpp332 RTDECL(uint32_t) RTCrX509CertPathsRetain(RTCRX509CERTPATHS hCertPaths) argument
334 PRTCRX509CERTPATHSINT pThis = hCertPaths;
343 RTDECL(uint32_t) RTCrX509CertPathsRelease(RTCRX509CERTPATHS hCertPaths) argument
346 if (hCertPaths != NIL_RTCRX509CERTPATHS)
348 PRTCRX509CERTPATHSINT pThis = hCertPaths;
394 RTDECL(int) RTCrX509CertPathsSetTrustedStore(RTCRX509CERTPATHS hCertPaths, RTCRSTORE hTrustedStore)
396 PRTCRX509CERTPATHSINT pThis = hCertPaths;
415 RTDECL(int) RTCrX509CertPathsSetUntrustedStore(RTCRX509CERTPATHS hCertPaths, RTCRSTORE hUntrustedStore)
417 PRTCRX509CERTPATHSINT pThis = hCertPaths;
436 RTDECL(int) RTCrX509CertPathsSetUntrustedArray(RTCRX509CERTPATHS hCertPaths, PCRTCRX509CERTIFICAT
[all...]
/vbox/src/VBox/Runtime/tools/
H A DRTSignTool.cpp280 static DECLCALLBACK(int) VerifyExecCertVerifyCallback(PCRTCRX509CERTIFICATE pCert, RTCRX509CERTPATHS hCertPaths, uint32_t fFlags, argument
284 uint32_t cPaths = hCertPaths != NIL_RTCRX509CERTPATHS ? RTCrX509CertPathsGetPathCount(hCertPaths) : 0;
294 RTCrX509CertPathsDumpOne(hCertPaths, iPath, pState->cVerbose, RTStrmDumpPrintfV, g_pStdOut);
304 if ( hCertPaths == NIL_RTCRX509CERTPATHS
311 if (hCertPaths == NIL_RTCRX509CERTPATHS)
317 int rc = RTCrPkcs7VerifyCertCallbackCodeSigning(pCert, hCertPaths, fFlags, NULL, pErrInfo);
326 if (pState->fKernel && hCertPaths != NIL_RTCRX509CERTPATHS)
336 rc = RTCrX509CertPathsQueryPathInfo(hCertPaths, iPath, &fTrusted, NULL /*pcNodes*/, &pSubject, &pPublicKeyInfo,
/vbox/src/VBox/HostDrivers/Support/win/
H A DSUPHardenedVerifyImage-win.cpp925 static DECLCALLBACK(int) supHardNtViCertVerifyCallback(PCRTCRX509CERTIFICATE pCert, RTCRX509CERTPATHS hCertPaths, argument
936 if (hCertPaths == NIL_RTCRX509CERTPATHS)
946 int rc = RTCrPkcs7VerifyCertCallbackCodeSigning(pCert, hCertPaths, fFlags, NULL, pErrInfo);
956 uint32_t cPaths = RTCrX509CertPathsGetPathCount(hCertPaths);
965 rc = RTCrX509CertPathsQueryPathInfo(hCertPaths, iPath, &fTrusted, NULL /*pcNodes*/, &pSubject, &pPublicKeyInfo,
/vbox/include/iprt/crypto/
H A Dx509.h1032 RTDECL(uint32_t) RTCrX509CertPathsRetain(RTCRX509CERTPATHS hCertPaths); variable
1033 RTDECL(uint32_t) RTCrX509CertPathsRelease(RTCRX509CERTPATHS hCertPaths); variable
1034 RTDECL(int) RTCrX509CertPathsSetTrustedStore(RTCRX509CERTPATHS hCertPaths, RTCRSTORE hTrustedStore);
1035 RTDECL(int) RTCrX509CertPathsSetUntrustedStore(RTCRX509CERTPATHS hCertPaths, RTCRSTORE hUntrustedStore);
1036 RTDECL(int) RTCrX509CertPathsSetUntrustedArray(RTCRX509CERTPATHS hCertPaths, PCRTCRX509CERTIFICATE paCerts, uint32_t cCerts);
1037 RTDECL(int) RTCrX509CertPathsSetUntrustedSet(RTCRX509CERTPATHS hCertPaths, struct RTCRPKCS7SETOFCERTS const *pSetOfCerts);
1038 RTDECL(int) RTCrX509CertPathsSetValidTime(RTCRX509CERTPATHS hCertPaths, PCRTTIME pTime);
1039 RTDECL(int) RTCrX509CertPathsSetValidTimeSpec(RTCRX509CERTPATHS hCertPaths, PCRTTIMESPEC pTimeSpec);
1043 RTDECL(int) RTCrX509CertPathsBuild(RTCRX509CERTPATHS hCertPaths, PRTERRINFO pErrInfo);
1044 RTDECL(int) RTCrX509CertPathsDumpOne(RTCRX509CERTPATHS hCertPaths, uint32_
1052 RTDECL(uint32_t) RTCrX509CertPathsGetPathCount(RTCRX509CERTPATHS hCertPaths); variable
[all...]

Completed in 670 milliseconds