Lines Matching refs:token
25 PKCS7 *token, TS_TST_INFO *tst_info);
88 int TS_RESP_verify_signature(PKCS7 *token, STACK_OF(X509) *certs, in TS_RESP_verify_signature() argument
102 if (!token) { in TS_RESP_verify_signature()
106 if (!PKCS7_type_is_signed(token)) { in TS_RESP_verify_signature()
110 sinfos = PKCS7_get_signer_info(token); in TS_RESP_verify_signature()
116 if (PKCS7_get_detached(token)) { in TS_RESP_verify_signature()
125 signers = PKCS7_get0_signers(token, certs, 0); in TS_RESP_verify_signature()
131 + sk_X509_num(token->d.sign->cert)); in TS_RESP_verify_signature()
134 || !X509_add_certs(untrusted, token->d.sign->cert, 0)) in TS_RESP_verify_signature()
140 p7bio = PKCS7_dataInit(token, NULL); in TS_RESP_verify_signature()
146 j = PKCS7_signatureVerify(p7bio, token, si, signer); in TS_RESP_verify_signature()
251 PKCS7 *token = response->token; in TS_RESP_verify_response() local
257 if (!int_ts_RESP_verify_token(ctx, token, tst_info)) in TS_RESP_verify_response()
269 int TS_RESP_verify_token(TS_VERIFY_CTX *ctx, PKCS7 *token) in TS_RESP_verify_token() argument
271 TS_TST_INFO *tst_info = PKCS7_to_TS_TST_INFO(token); in TS_RESP_verify_token()
274 ret = int_ts_RESP_verify_token(ctx, token, tst_info); in TS_RESP_verify_token()
293 PKCS7 *token, TS_TST_INFO *tst_info) in int_ts_RESP_verify_token() argument
310 && !TS_RESP_verify_signature(token, ctx->certs, ctx->store, &signer)) in int_ts_RESP_verify_token()