Lines Matching refs:ex_xkusage
389 (((x)->ex_flags & EXFLAG_XKUSAGE) != 0 && ((x)->ex_xkusage & (usage)) == 0)
493 x->ex_xkusage = 0; in ossl_x509v3_cache_extensions()
499 x->ex_xkusage |= XKU_SSL_SERVER; in ossl_x509v3_cache_extensions()
502 x->ex_xkusage |= XKU_SSL_CLIENT; in ossl_x509v3_cache_extensions()
505 x->ex_xkusage |= XKU_SMIME; in ossl_x509v3_cache_extensions()
508 x->ex_xkusage |= XKU_CODE_SIGN; in ossl_x509v3_cache_extensions()
512 x->ex_xkusage |= XKU_SGC; in ossl_x509v3_cache_extensions()
515 x->ex_xkusage |= XKU_OCSP_SIGN; in ossl_x509v3_cache_extensions()
518 x->ex_xkusage |= XKU_TIMESTAMP; in ossl_x509v3_cache_extensions()
521 x->ex_xkusage |= XKU_DVCS; in ossl_x509v3_cache_extensions()
524 x->ex_xkusage |= XKU_ANYEKU; in ossl_x509v3_cache_extensions()
869 if ((x->ex_flags & EXFLAG_XKUSAGE) == 0 || x->ex_xkusage != XKU_TIMESTAMP) in check_purpose_timestamp_sign()
925 if ((x->ex_xkusage & XKU_CODE_SIGN) == 0) in check_purpose_code_sign()
927 if ((x->ex_xkusage & (XKU_ANYEKU | XKU_SSL_SERVER)) != 0) in check_purpose_code_sign()
1060 return (x->ex_flags & EXFLAG_XKUSAGE) != 0 ? x->ex_xkusage : UINT32_MAX; in X509_get_extended_key_usage()