Lines Matching refs:pContext
3013 PCCERT_CONTEXT pContext = NULL; in import_windows_cert_store() local
3031 pContext = CertEnumCertificatesInStore(hStore, pContext); in import_windows_cert_store()
3032 if(!pContext) in import_windows_cert_store()
3038 if(!CertGetNameStringA(pContext, CERT_NAME_SIMPLE_DISPLAY_TYPE, 0, in import_windows_cert_store()
3045 encoded_cert = (const unsigned char *)pContext->pbCertEncoded; in import_windows_cert_store()
3050 if(CompareFileTime(&pContext->pCertInfo->NotBefore, &now) > 0 || in import_windows_cert_store()
3051 CompareFileTime(&now, &pContext->pCertInfo->NotAfter) > 0) in import_windows_cert_store()
3055 if(CertGetIntendedKeyUsage(pContext->dwCertEncodingType, in import_windows_cert_store()
3056 pContext->pCertInfo, in import_windows_cert_store()
3072 if(CertGetEnhancedKeyUsage(pContext, 0, NULL, &req_size)) { in import_windows_cert_store()
3086 if(CertGetEnhancedKeyUsage(pContext, 0, enhkey_usage, &req_size)) { in import_windows_cert_store()
3116 x509 = d2i_X509(NULL, &encoded_cert, (long)pContext->cbCertEncoded); in import_windows_cert_store()
3133 CertFreeCertificateContext(pContext); in import_windows_cert_store()