Searched refs:pCertCtx (Results 1 - 8 of 8) sorted by relevance

/vbox/src/VBox/Runtime/common/crypto/
H A Dstore.cpp146 PCRTCRCERTCTX pCertCtx = NULL; local
151 pCertCtx = pThis->pProvider->pfnCertSearchNext(pThis->pvProvider, &Search);
152 if (!pCertCtx)
155 if ( pCertCtx->pCert
156 && RTCrX509Certificate_MatchIssuerAndSerialNumber(pCertCtx->pCert, pIssuer, pSerialNo))
158 RTCrCertCtxRelease(pCertCtx);
165 return pCertCtx;
315 PCRTCRCERTCTX pCertCtx = pThis->pProvider->pfnCertSearchNext(pThis->pvProvider, &Search); local
316 if (!pCertCtx)
319 if (pCertCtx
368 PCRTCRCERTCTX pCertCtx = pThis->pProvider->pfnCertSearchNext(pThis->pvProvider, &Search); local
413 RTCrCertCtxRetain(PCRTCRCERTCTX pCertCtx) argument
[all...]
H A Dstore-internal.h47 * @param pCertCtx The internal certificate context.
49 DECLCALLBACKMEMBER(void, pfnDtor)(struct RTCRCERTCTXINT *pCertCtx);
88 * @param pCertCtx The internal certificate context.
93 DECLCALLBACKMEMBER(int, pfnCertCtxQueryPrivateKey)(void *pvProvider, PRTCRCERTCTXINT pCertCtx,
H A Dstore-inmem.cpp95 static DECLCALLBACK(void) rtCrStoreInMemCertEntry_Dtor(PRTCRCERTCTXINT pCertCtx) argument
97 PRTCRSTOREINMEMCERT pEntry = (PRTCRSTOREINMEMCERT)pCertCtx;
227 static DECLCALLBACK(int) rtCrStoreInMem_CertCtxQueryPrivateKey(void *pvProvider, PRTCRCERTCTXINT pCertCtx, argument
257 PRTCRCERTCTXINT pCertCtx = &pThis->papCerts[i]->Core; local
258 ASMAtomicIncU32(&pCertCtx->cRefs);
259 return &pCertCtx->Public;
H A Dx509-certpaths.cpp84 PCRTCRCERTCTX pCertCtx; member in struct:RTCRX509CERTPATHNODE
582 if (pNode->pCertCtx)
584 RTCrCertCtxRelease(pNode->pCertCtx);
585 pNode->pCertCtx = NULL;
593 PCRTCRX509CERTIFICATE pCert, PCRTCRCERTCTX pCertCtx, uint8_t uSrc)
620 Assert(pCertCtx);
625 if (pCertCtx)
626 AssertReturnVoidStmt(RTCrCertCtxRetain(pCertCtx) != UINT32_MAX,
628 "Bad pCertCtx=%p", pCertCtx));
[all...]
/vbox/src/VBox/Additions/WINNT/tools/
H A DVBoxCertUtil.cpp127 PCCERT_CONTEXT pCertCtx = CertCreateCertificateContext(X509_ASN_ENCODING | PKCS_7_ASN_ENCODING,
130 if (pCertCtx)
145 pCertCtx->pbCertEncoded,
146 pCertCtx->cbCertEncoded,
159 if (CertAddCertificateContextToStore(hDstStore, pCertCtx, CERT_STORE_ADD_NEW, NULL))
172 CertFreeCertificateContext(pCertCtx);
437 PCCERT_CONTEXT pCertCtx = NULL; local
438 while ((pCertCtx = CertEnumCertificatesInStore(hStore, pCertCtx)) != NULL)
441 RTPrintf(" pCertCtx
[all...]
/vbox/include/iprt/crypto/
H A Dstore.h124 RTDECL(uint32_t) RTCrCertCtxRetain(PCRTCRCERTCTX pCertCtx); variable
125 RTDECL(uint32_t) RTCrCertCtxRelease(PCRTCRCERTCTX pCertCtx); variable
/vbox/src/VBox/Runtime/tools/
H A DRTSignTool.cpp337 NULL, NULL /*pCertCtx*/, &rcVerify);
349 PCRTCRCERTCTX pCertCtx; local
350 while ((pCertCtx = RTCrStoreCertSearchNext(pState->hKernelRootStore, &Search)) != NULL)
353 if (pCertCtx->pCert)
354 pPubKeyInfo = &pCertCtx->pCert->TbsCertificate.SubjectPublicKeyInfo;
355 else if (pCertCtx->pTaInfo)
356 pPubKeyInfo = &pCertCtx->pTaInfo->PubKey;
361 RTCrCertCtxRelease(pCertCtx);
/vbox/src/VBox/HostDrivers/Support/win/
H A DSUPHardenedVerifyImage-win.cpp966 NULL, NULL /*pCertCtx*/, &rcVerify);
981 PCRTCRCERTCTX pCertCtx; local
982 while ((pCertCtx = RTCrStoreCertSearchNext(g_hNtKernelRootStore, &Search)) != NULL)
985 if (pCertCtx->pCert)
986 pCertPubKeyInfo = &pCertCtx->pCert->TbsCertificate.SubjectPublicKeyInfo;
987 else if (pCertCtx->pTaInfo)
988 pCertPubKeyInfo = &pCertCtx->pTaInfo->PubKey;
994 RTCrCertCtxRelease(pCertCtx);

Completed in 101 milliseconds