Lines Matching refs:pCertCtx
146 PCRTCRCERTCTX pCertCtx = NULL;
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);
316 if (!pCertCtx)
319 if (pCertCtx->fFlags & RTCRCERTCTX_F_ENC_X509_DER)
322 const unsigned char *pabEncoded = (const unsigned char *)pCertCtx->pabEncoded;
323 if (d2i_X509(&pOsslCert, &pabEncoded, pCertCtx->cbEncoded) == pOsslCert)
331 RTCrCertCtxRelease(pCertCtx);
368 PCRTCRCERTCTX pCertCtx = pThis->pProvider->pfnCertSearchNext(pThis->pvProvider, &Search);
369 if (!pCertCtx)
372 if (pCertCtx->fFlags & RTCRCERTCTX_F_ENC_X509_DER)
375 const unsigned char *pabEncoded = (const unsigned char *)pCertCtx->pabEncoded;
376 if (d2i_X509(&pOsslCert, &pabEncoded, pCertCtx->cbEncoded) == pOsslCert)
386 RTCrCertCtxRelease(pCertCtx);
413 RTDECL(uint32_t) RTCrCertCtxRetain(PCRTCRCERTCTX pCertCtx)
415 AssertPtrReturn(pCertCtx, UINT32_MAX);
416 PRTCRCERTCTXINT pThis = RT_FROM_MEMBER(pCertCtx, RTCRCERTCTXINT, Public);
424 RTDECL(uint32_t) RTCrCertCtxRelease(PCRTCRCERTCTX pCertCtx)
426 if (!pCertCtx)
429 AssertPtrReturn(pCertCtx, UINT32_MAX);
430 PRTCRCERTCTXINT pThis = RT_FROM_MEMBER(pCertCtx, RTCRCERTCTXINT, Public);