Lines Matching refs:ctx
24 static int int_ts_RESP_verify_token(TS_VERIFY_CTX *ctx,
249 int TS_RESP_verify_response(TS_VERIFY_CTX *ctx, TS_RESP *response)
257 if (!int_ts_RESP_verify_token(ctx, token, tst_info))
269 int TS_RESP_verify_token(TS_VERIFY_CTX *ctx, PKCS7 *token)
274 ret = int_ts_RESP_verify_token(ctx, token, tst_info);
292 static int int_ts_RESP_verify_token(TS_VERIFY_CTX *ctx,
301 int flags = ctx->flags;
310 && !TS_RESP_verify_signature(token, ctx->certs, ctx->store, &signer))
318 && !ts_check_policy(ctx->policy, tst_info))
321 && !ts_check_imprints(ctx->md_alg, ctx->imprint, ctx->imprint_len,
325 && (!ts_compute_imprint(ctx->data, tst_info,
330 && !ts_check_nonces(ctx->nonce, tst_info))
338 && !ts_check_signer_name(ctx->tsa_name, signer)) {