Home
last modified time | relevance | path

Searched refs:keyusage (Results 1 – 6 of 6) sorted by relevance

/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/pkix/jcajce/
DRFC3280CertPathUtilities.java509 boolean[] keyusage = signCert.getKeyUsage(); in processCRLF()
511 if (keyusage != null && (keyusage.length < 7 || !keyusage[CRL_SIGN])) in processCRLF()
/external/python/cpython2/Modules/
D_ssl.c3852 PyObject *keyusage = NULL, *cert = NULL, *enc = NULL, *tup = NULL; in PySSL_enum_certificates() local
3882 keyusage = parseKeyUsage(pCertCtx, CERT_FIND_PROP_ONLY_ENHKEY_USAGE_FLAG); in PySSL_enum_certificates()
3883 if (keyusage == Py_True) { in PySSL_enum_certificates()
3884 Py_DECREF(keyusage); in PySSL_enum_certificates()
3885 keyusage = parseKeyUsage(pCertCtx, CERT_FIND_EXT_ONLY_ENHKEY_USAGE_FLAG); in PySSL_enum_certificates()
3887 if (keyusage == NULL) { in PySSL_enum_certificates()
3899 PyTuple_SET_ITEM(tup, 2, keyusage); in PySSL_enum_certificates()
3900 keyusage = NULL; in PySSL_enum_certificates()
3915 Py_XDECREF(keyusage); in PySSL_enum_certificates()
/external/python/cpython3/Modules/
D_ssl.c5423 PyObject *keyusage = NULL, *cert = NULL, *enc = NULL, *tup = NULL; in _ssl_enum_certificates_impl() local
5449 keyusage = parseKeyUsage(pCertCtx, CERT_FIND_PROP_ONLY_ENHKEY_USAGE_FLAG); in _ssl_enum_certificates_impl()
5450 if (keyusage == Py_True) { in _ssl_enum_certificates_impl()
5451 Py_DECREF(keyusage); in _ssl_enum_certificates_impl()
5452 keyusage = parseKeyUsage(pCertCtx, CERT_FIND_EXT_ONLY_ENHKEY_USAGE_FLAG); in _ssl_enum_certificates_impl()
5454 if (keyusage == NULL) { in _ssl_enum_certificates_impl()
5466 PyTuple_SET_ITEM(tup, 2, keyusage); in _ssl_enum_certificates_impl()
5467 keyusage = NULL; in _ssl_enum_certificates_impl()
5482 Py_XDECREF(keyusage); in _ssl_enum_certificates_impl()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DRFC3280CertPathUtilities.java558 boolean[] keyusage = signCert.getKeyUsage(); in processCRLF()
560 if (keyusage != null && (keyusage.length < 7 || !keyusage[CRL_SIGN])) in processCRLF()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jce/provider/
DRFC3280CertPathUtilities.java559 boolean[] keyusage = signCert.getKeyUsage(); in processCRLF()
561 if (keyusage != null && (keyusage.length < 7 || !keyusage[CRL_SIGN])) in processCRLF()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/
DCertPathReviewerMessages.properties253 # trust anchor has no keyusage certSign