Lines Matching refs:issuer
953 int X509_check_issued(X509 *issuer, X509 *subject) in X509_check_issued() argument
957 if ((ret = ossl_x509_likely_issued(issuer, subject)) != X509_V_OK) in X509_check_issued()
959 return ossl_x509_signing_allowed(issuer, subject); in X509_check_issued()
963 int ossl_x509_likely_issued(X509 *issuer, X509 *subject) in ossl_x509_likely_issued() argument
967 if (X509_NAME_cmp(X509_get_subject_name(issuer), in ossl_x509_likely_issued()
972 if (!ossl_x509v3_cache_extensions(issuer) in ossl_x509_likely_issued()
976 ret = X509_check_akid(issuer, subject->akid); in ossl_x509_likely_issued()
981 return check_sig_alg_match(X509_get0_pubkey(issuer), subject); in ossl_x509_likely_issued()
991 int ossl_x509_signing_allowed(const X509 *issuer, const X509 *subject) in ossl_x509_signing_allowed() argument
994 if (ku_reject(issuer, KU_DIGITAL_SIGNATURE)) in ossl_x509_signing_allowed()
996 } else if (ku_reject(issuer, KU_KEY_CERT_SIGN)) { in ossl_x509_signing_allowed()
1002 int X509_check_akid(const X509 *issuer, const AUTHORITY_KEYID *akid) in X509_check_akid() argument
1008 if (akid->keyid && issuer->skid && in X509_check_akid()
1009 ASN1_OCTET_STRING_cmp(akid->keyid, issuer->skid)) in X509_check_akid()
1013 ASN1_INTEGER_cmp(X509_get0_serialNumber(issuer), akid->serial)) in X509_check_akid()
1016 if (akid->issuer) { in X509_check_akid()
1022 GENERAL_NAMES *gens = akid->issuer; in X509_check_akid()
1034 if (nm != NULL && X509_NAME_cmp(nm, X509_get_issuer_name(issuer)) != 0) in X509_check_akid()
1084 return (x->akid != NULL ? x->akid->issuer : NULL); in X509_get0_authority_issuer()