Lines Matching refs:signer

30 static int ocsp_verify_signer(X509 *signer, int response,  in ocsp_verify_signer()  argument
42 if (!X509_STORE_CTX_init(ctx, st, signer, untrusted)) { in ocsp_verify_signer()
51 && X509_get_ext_by_NID(signer, NID_id_pkix_OCSP_noCheck, -1) >= 0) in ocsp_verify_signer()
77 X509 *signer, unsigned long flags) in ocsp_verify() argument
83 if ((skey = X509_get0_pubkey(signer)) == NULL) { in ocsp_verify()
88 ret = OCSP_REQUEST_verify(req, skey, signer->libctx, signer->propq); in ocsp_verify()
90 ret = OCSP_BASICRESP_verify(bs, skey, signer->libctx, signer->propq); in ocsp_verify()
101 X509 *signer, *x; in OCSP_basic_verify() local
104 int ret = ocsp_find_signer(&signer, bs, certs, flags); in OCSP_basic_verify()
113 if ((ret = ocsp_verify(NULL, bs, signer, flags)) <= 0) in OCSP_basic_verify()
123 ret = ocsp_verify_signer(signer, 1, st, flags, untrusted, &chain); in OCSP_basic_verify()
162 int OCSP_resp_get0_signer(OCSP_BASICRESP *bs, X509 **signer, in OCSP_resp_get0_signer() argument
165 return ocsp_find_signer(signer, bs, extra_certs, 0) > 0; in OCSP_resp_get0_signer()
171 X509 *signer; in ocsp_find_signer() local
174 if ((signer = ocsp_find_signer_sk(certs, rid)) != NULL) { in ocsp_find_signer()
175 *psigner = signer; in ocsp_find_signer()
179 (signer = ocsp_find_signer_sk(bs->certs, rid))) { in ocsp_find_signer()
180 *psigner = signer; in ocsp_find_signer()
225 X509 *signer, *sca; in ocsp_check_issuer() local
241 signer = sk_X509_value(chain, 0); in ocsp_check_issuer()
250 if (ocsp_check_delegated(signer)) in ocsp_check_issuer()
257 return ocsp_match_issuerid(signer, caid, sresp); in ocsp_check_issuer()
388 X509 *signer; in OCSP_request_verify() local
403 ret = ocsp_req_find_signer(&signer, req, nm, certs, flags); in OCSP_request_verify()
411 if ((ret = ocsp_verify(req, NULL, signer, flags)) <= 0) in OCSP_request_verify()
415 return ocsp_verify_signer(signer, 0, store, flags, in OCSP_request_verify()
425 X509 *signer; in ocsp_req_find_signer() local
428 signer = X509_find_by_subject(req->optionalSignature->certs, nm); in ocsp_req_find_signer()
429 if (signer != NULL) { in ocsp_req_find_signer()
430 *psigner = signer; in ocsp_req_find_signer()
435 if ((signer = X509_find_by_subject(certs, nm)) != NULL) { in ocsp_req_find_signer()
436 *psigner = signer; in ocsp_req_find_signer()