Searched refs:keyusage (Results 1 – 3 of 3) sorted by relevance
3768 PyObject *keyusage = NULL, *cert = NULL, *enc = NULL, *tup = NULL; in PySSL_enum_certificates() local3798 keyusage = parseKeyUsage(pCertCtx, CERT_FIND_PROP_ONLY_ENHKEY_USAGE_FLAG); in PySSL_enum_certificates()3799 if (keyusage == Py_True) { in PySSL_enum_certificates()3800 Py_DECREF(keyusage); in PySSL_enum_certificates()3801 keyusage = parseKeyUsage(pCertCtx, CERT_FIND_EXT_ONLY_ENHKEY_USAGE_FLAG); in PySSL_enum_certificates()3803 if (keyusage == NULL) { in PySSL_enum_certificates()3815 PyTuple_SET_ITEM(tup, 2, keyusage); in PySSL_enum_certificates()3816 keyusage = NULL; in PySSL_enum_certificates()3831 Py_XDECREF(keyusage); in PySSL_enum_certificates()
559 boolean[] keyusage = signCert.getKeyUsage(); in processCRLF()561 if (keyusage != null && (keyusage.length < 7 || !keyusage[CRL_SIGN])) in processCRLF()
253 # trust anchor has no keyusage certSign