Lines Matching refs:akid
550 x->akid = X509_get_ext_d2i(x, NID_authority_key_identifier, &i, NULL);
551 if (x->akid == NULL && i != -1)
557 if (X509_check_akid(x, x->akid) == X509_V_OK /* SKID matches AKID */
898 * 2. If akid(subject) exists, it matches the respective issuer fields.
923 /* set issuer->skid and subject->akid */
928 ret = X509_check_akid(issuer, subject->akid);
953 int X509_check_akid(const X509 *issuer, const AUTHORITY_KEYID *akid)
955 if (akid == NULL)
959 if (akid->keyid && issuer->skid &&
960 ASN1_OCTET_STRING_cmp(akid->keyid, issuer->skid))
963 if (akid->serial &&
964 ASN1_INTEGER_cmp(X509_get0_serialNumber(issuer), akid->serial))
967 if (akid->issuer) {
977 gens = akid->issuer;
1031 return (x->akid != NULL ? x->akid->keyid : NULL);
1039 return (x->akid != NULL ? x->akid->issuer : NULL);
1047 return (x->akid != NULL ? x->akid->serial : NULL);