Lines Matching defs:signer
50 static int ocsp_responder_id_match(struct x509_certificate *signer,
55 const u8 *addr[1] = { signer->public_key };
56 size_t len[1] = { signer->public_key_len };
63 return x509_name_compare(&signer->subject, name) == 0;
365 struct x509_certificate *issuer, *signer;
626 signer = issuer;
628 for (signer = certs; signer; signer = signer->next) {
629 if (!ocsp_responder_id_match(signer, &name, key_hash) ||
632 !(signer->ext_key_usage &
634 x509_certificate_check_signature(issuer, signer) <
638 "OCSP: An extra certificate from the response matches ResponderID and is trusted as an OCSP signer");
641 if (!signer) {
643 "OCSP: Could not find OCSP signer certificate");
653 if (x509_check_signature(signer, &alg, sign_value, sign_value_len,