Lines Matching refs:akid
553 x->akid = X509_get_ext_d2i(x, NID_authority_key_identifier, &i, NULL); in ossl_x509v3_cache_extensions()
554 if (x->akid == NULL && i != -1) in ossl_x509v3_cache_extensions()
560 if (X509_check_akid(x, x->akid) == X509_V_OK /* SKID matches AKID */ in ossl_x509v3_cache_extensions()
976 ret = X509_check_akid(issuer, subject->akid); in ossl_x509_likely_issued()
1002 int X509_check_akid(const X509 *issuer, const AUTHORITY_KEYID *akid) in X509_check_akid() argument
1004 if (akid == NULL) in X509_check_akid()
1008 if (akid->keyid && issuer->skid && in X509_check_akid()
1009 ASN1_OCTET_STRING_cmp(akid->keyid, issuer->skid)) in X509_check_akid()
1012 if (akid->serial && 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()
1076 return (x->akid != NULL ? x->akid->keyid : NULL); in X509_get0_authority_key_id()
1084 return (x->akid != NULL ? x->akid->issuer : NULL); in X509_get0_authority_issuer()
1092 return (x->akid != NULL ? x->akid->serial : NULL); in X509_get0_authority_serial()