Lines Matching defs:issuer
91 /* Issuer name matches certificate */
99 /* CRL issuer is certificate issuer */
103 /* CRL issuer is on certificate path */
107 /* CRL issuer matches CRL AKID */
116 static int check_issued(X509_STORE_CTX *ctx, X509 *x, X509 *issuer);
249 /* If asked see if we can find issuer in trusted store first */
454 /* Given a STACK_OF(X509) find the issuer of cert (if any)
460 X509 *issuer;
463 issuer = sk_X509_value(sk, i);
464 if (ctx->check_issued(ctx, x, issuer))
465 return issuer;
470 /* Given a possible certificate and issuer check them */
472 static int check_issued(X509_STORE_CTX *ctx, X509 *x, X509 *issuer)
475 ret = X509_check_issued(issuer, x);
478 /* If we haven't asked for issuer errors don't set ctx */
484 ctx->current_issuer = issuer;
490 static int get_issuer_sk(X509 **issuer, X509_STORE_CTX *ctx, X509 *x)
492 *issuer = find_issuer(ctx, ctx->other_ctx, x);
493 if (*issuer)
495 X509_up_ref(*issuer);
792 * allow standard (no issuer cert) etc errors to be indicated.
1062 /* Issuer names must match */
1110 * If the issuer is not the certificate issuer this is returned in *pissuer.
1143 /* If issuer name doesn't match certificate need indirect CRL */
1159 /* Check authority key ID and locate certificate issuer */
1162 /* If we can't locate certificate issuer at this point forget it */
1225 /* Otherwise the CRL issuer is not on the path. Look for it in the
1242 /* Check the path of a CRL issuer certificate. This creates a new
1266 /* Verify CRL issuer */
1437 X509 *issuer = NULL;
1445 &issuer, &crl_score, &reasons, ctx->crls);
1458 get_crl_sk(ctx, &crl, &dcrl, &issuer, &crl_score, &reasons, skcrl);
1467 ctx->current_issuer = issuer;
1481 X509 *issuer = NULL;
1486 /* if we have an alternative CRL issuer cert use that */
1488 issuer = ctx->current_issuer;
1490 /* Else find CRL issuer: if not last certificate then issuer
1494 issuer = sk_X509_value(ctx->chain, cnum + 1);
1497 issuer = sk_X509_value(ctx->chain, chnum);
1499 if(!ctx->check_issued(ctx, issuer, issuer))
1507 if(issuer)
1515 if ((issuer->ex_flags & EXFLAG_KUSAGE) &&
1516 !(issuer->ex_kusage & KU_CRL_SIGN))
1557 /* Attempt to get issuer certificate public key */
1558 ikey = X509_get_pubkey(issuer);
1955 /* Issuer names must match */
1990 /* Set issuer name */