• Home
  • Raw
  • Download

Lines Matching refs:certs

17                             STACK_OF(X509) *certs, unsigned long flags);
18 static X509 *ocsp_find_signer_sk(STACK_OF(X509) *certs, OCSP_RESPID *id);
26 const X509_NAME *nm, STACK_OF(X509) *certs,
98 int OCSP_basic_verify(OCSP_BASICRESP *bs, STACK_OF(X509) *certs, in OCSP_basic_verify() argument
104 int ret = ocsp_find_signer(&signer, bs, certs, flags); in OCSP_basic_verify()
118 if ((untrusted = sk_X509_dup(bs->certs)) == NULL) in OCSP_basic_verify()
120 if (!X509_add_certs(untrusted, certs, X509_ADD_FLAG_DEFAULT)) in OCSP_basic_verify()
169 STACK_OF(X509) *certs, unsigned long flags) in ocsp_find_signer()
174 if ((signer = ocsp_find_signer_sk(certs, rid)) != NULL) { in ocsp_find_signer()
179 (signer = ocsp_find_signer_sk(bs->certs, rid))) { in ocsp_find_signer()
189 static X509 *ocsp_find_signer_sk(STACK_OF(X509) *certs, OCSP_RESPID *id) in ocsp_find_signer_sk() argument
198 return X509_find_by_subject(certs, id->value.byName); in ocsp_find_signer_sk()
207 for (i = 0; i < sk_X509_num(certs); i++) { in ocsp_find_signer_sk()
208 if ((x = sk_X509_value(certs, i)) != NULL) { in ocsp_find_signer_sk()
385 int OCSP_request_verify(OCSP_REQUEST *req, STACK_OF(X509) *certs, in OCSP_request_verify() argument
403 ret = ocsp_req_find_signer(&signer, req, nm, certs, flags); in OCSP_request_verify()
417 NULL : req->optionalSignature->certs, NULL) > 0; in OCSP_request_verify()
422 const X509_NAME *nm, STACK_OF(X509) *certs, in ocsp_req_find_signer()
428 signer = X509_find_by_subject(req->optionalSignature->certs, nm); in ocsp_req_find_signer()
435 if ((signer = X509_find_by_subject(certs, nm)) != NULL) { in ocsp_req_find_signer()