Searched refs:pCertCtx (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Modules/ |
D | _ssl.c | 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() [all …]
|
/external/python/cpython3/Modules/ |
D | _ssl.c | 5576 parseKeyUsage(PCCERT_CONTEXT pCertCtx, DWORD flags) in parseKeyUsage() argument 5582 if (!CertGetEnhancedKeyUsage(pCertCtx, flags, NULL, &size)) { in parseKeyUsage() 5596 if (!CertGetEnhancedKeyUsage(pCertCtx, flags, usage, &size)) { in parseKeyUsage() 5697 PCCERT_CONTEXT pCertCtx = NULL; in _ssl_enum_certificates_impl() local 5711 while (pCertCtx = CertEnumCertificatesInStore(hCollectionStore, pCertCtx)) { in _ssl_enum_certificates_impl() 5712 cert = PyBytes_FromStringAndSize((const char*)pCertCtx->pbCertEncoded, in _ssl_enum_certificates_impl() 5713 pCertCtx->cbCertEncoded); in _ssl_enum_certificates_impl() 5718 if ((enc = certEncodingType(pCertCtx->dwCertEncodingType)) == NULL) { in _ssl_enum_certificates_impl() 5722 keyusage = parseKeyUsage(pCertCtx, CERT_FIND_PROP_ONLY_ENHKEY_USAGE_FLAG); in _ssl_enum_certificates_impl() 5725 keyusage = parseKeyUsage(pCertCtx, CERT_FIND_EXT_ONLY_ENHKEY_USAGE_FLAG); in _ssl_enum_certificates_impl() [all …]
|