Lines Matching refs:signer
20 X509 *signer, STACK_OF(X509) **chain);
37 static int ts_check_signer_name(GENERAL_NAME *tsa_name, X509 *signer);
95 X509 *signer; in TS_RESP_verify_signature() local
128 signer = sk_X509_value(signers, 0); in TS_RESP_verify_signature()
136 if (!ts_verify_cert(store, untrusted, signer, &chain)) in TS_RESP_verify_signature()
146 j = PKCS7_signatureVerify(p7bio, token, si, signer); in TS_RESP_verify_signature()
153 *signer_out = signer; in TS_RESP_verify_signature()
154 X509_up_ref(signer); in TS_RESP_verify_signature()
172 X509 *signer, STACK_OF(X509) **chain) in ts_verify_cert() argument
184 if (!X509_STORE_CTX_init(cert_ctx, store, signer, untrusted)) in ts_verify_cert()
295 X509 *signer = NULL; in int_ts_RESP_verify_token() local
310 && !TS_RESP_verify_signature(token, ctx->certs, ctx->store, &signer)) in int_ts_RESP_verify_token()
333 && tsa_name && !ts_check_signer_name(tsa_name, signer)) { in int_ts_RESP_verify_token()
338 && !ts_check_signer_name(ctx->tsa_name, signer)) { in int_ts_RESP_verify_token()
345 X509_free(signer); in int_ts_RESP_verify_token()
536 static int ts_check_signer_name(GENERAL_NAME *tsa_name, X509 *signer) in ts_check_signer_name() argument
543 && X509_name_cmp(tsa_name->d.dirn, X509_get_subject_name(signer)) == 0) in ts_check_signer_name()
545 gen_names = X509_get_ext_d2i(signer, NID_subject_alt_name, NULL, &idx); in ts_check_signer_name()
555 gen_names = X509_get_ext_d2i(signer, NID_subject_alt_name, NULL, &idx); in ts_check_signer_name()