Lines Matching full:certs
63 static int ocsp_find_signer(X509 **psigner, OCSP_BASICRESP *bs, STACK_OF(X509) *certs,
65 static X509 *ocsp_find_signer_sk(STACK_OF(X509) *certs, OCSP_RESPID *id);
70 static int ocsp_req_find_signer(X509 **psigner, OCSP_REQUEST *req, X509_NAME *nm, STACK_OF(X509) *certs,
75 int OCSP_basic_verify(OCSP_BASICRESP *bs, STACK_OF(X509) *certs,
82 ret = ocsp_find_signer(&signer, bs, certs, st, flags);
108 init_res = X509_STORE_CTX_init(&ctx, st, signer, bs->certs);
162 static int ocsp_find_signer(X509 **psigner, OCSP_BASICRESP *bs, STACK_OF(X509) *certs,
167 if ((signer = ocsp_find_signer_sk(certs, rid)))
173 (signer = ocsp_find_signer_sk(bs->certs, rid)))
185 static X509 *ocsp_find_signer_sk(STACK_OF(X509) *certs, OCSP_RESPID *id)
193 return X509_find_by_subject(certs, id->value.byName);
201 for (i = 0; i < sk_X509_num(certs); i++)
203 x = sk_X509_value(certs, i);
359 int OCSP_request_verify(OCSP_REQUEST *req, STACK_OF(X509) *certs, X509_STORE *store, unsigned long flags)
378 ret = ocsp_req_find_signer(&signer, req, nm, certs, store, flags);
405 req->optionalSignature->certs);
428 static int ocsp_req_find_signer(X509 **psigner, OCSP_REQUEST *req, X509_NAME *nm, STACK_OF(X509) *certs,
434 signer = X509_find_by_subject(req->optionalSignature->certs, nm);
439 signer = X509_find_by_subject(certs, nm);