Lines Matching refs:pCertCtx
3781 parseKeyUsage(PCCERT_CONTEXT pCertCtx, DWORD flags) in parseKeyUsage() argument
3787 if (!CertGetEnhancedKeyUsage(pCertCtx, flags, NULL, &size)) { in parseKeyUsage()
3801 if (!CertGetEnhancedKeyUsage(pCertCtx, flags, usage, &size)) { in parseKeyUsage()
3851 PCCERT_CONTEXT pCertCtx = NULL; in PySSL_enum_certificates() local
3871 while (pCertCtx = CertEnumCertificatesInStore(hStore, pCertCtx)) { in PySSL_enum_certificates()
3872 cert = PyBytes_FromStringAndSize((const char*)pCertCtx->pbCertEncoded, in PySSL_enum_certificates()
3873 pCertCtx->cbCertEncoded); in PySSL_enum_certificates()
3878 if ((enc = certEncodingType(pCertCtx->dwCertEncodingType)) == NULL) { in PySSL_enum_certificates()
3882 keyusage = parseKeyUsage(pCertCtx, CERT_FIND_PROP_ONLY_ENHKEY_USAGE_FLAG); in PySSL_enum_certificates()
3885 keyusage = parseKeyUsage(pCertCtx, CERT_FIND_EXT_ONLY_ENHKEY_USAGE_FLAG); in PySSL_enum_certificates()
3907 if (pCertCtx) { in PySSL_enum_certificates()
3909 CertFreeCertificateContext(pCertCtx); in PySSL_enum_certificates()