Lines Matching refs:pcc
254 PCCERT_CONTEXT pcc = NULL; in lws_plat_vhost_tls_client_ctx_init() local
286 pcc = CertEnumCertificatesInStore(hStore, pcc); in lws_plat_vhost_tls_client_ctx_init()
287 if (!pcc) in lws_plat_vhost_tls_client_ctx_init()
290 if (!CertGetNameStringA(pcc, CERT_NAME_SIMPLE_DISPLAY_TYPE, in lws_plat_vhost_tls_client_ctx_init()
296 ecert = (const unsigned char*)pcc->pbCertEncoded; in lws_plat_vhost_tls_client_ctx_init()
301 if (CompareFileTime(&pcc->pCertInfo->NotBefore, &ft) > 0 || in lws_plat_vhost_tls_client_ctx_init()
302 CompareFileTime(&ft, &pcc->pCertInfo->NotAfter) > 0) in lws_plat_vhost_tls_client_ctx_init()
306 if (CertGetIntendedKeyUsage(pcc->dwCertEncodingType, in lws_plat_vhost_tls_client_ctx_init()
307 pcc->pCertInfo, in lws_plat_vhost_tls_client_ctx_init()
325 if (!CertGetEnhancedKeyUsage(pcc, 0, NULL, &req_size)) in lws_plat_vhost_tls_client_ctx_init()
340 if (!CertGetEnhancedKeyUsage(pcc, 0, ceu, &req_size)) in lws_plat_vhost_tls_client_ctx_init()
379 x509 = d2i_X509(NULL, &ecert, pcc->cbCertEncoded); in lws_plat_vhost_tls_client_ctx_init()
398 CertFreeCertificateContext(pcc); in lws_plat_vhost_tls_client_ctx_init()