Lines Matching refs:tst_info
25 PKCS7 *token, TS_TST_INFO *tst_info);
29 const TS_TST_INFO *tst_info);
30 static int ts_compute_imprint(BIO *data, TS_TST_INFO *tst_info,
35 TS_TST_INFO *tst_info);
36 static int ts_check_nonces(const ASN1_INTEGER *a, TS_TST_INFO *tst_info);
252 TS_TST_INFO *tst_info = response->tst_info;
257 if (!int_ts_RESP_verify_token(ctx, token, tst_info))
271 TS_TST_INFO *tst_info = PKCS7_to_TS_TST_INFO(token);
273 if (tst_info) {
274 ret = int_ts_RESP_verify_token(ctx, token, tst_info);
275 TS_TST_INFO_free(tst_info);
293 PKCS7 *token, TS_TST_INFO *tst_info)
296 GENERAL_NAME *tsa_name = tst_info->tsa;
313 && TS_TST_INFO_get_version(tst_info) != 1) {
318 && !ts_check_policy(ctx->policy, tst_info))
322 tst_info))
325 && (!ts_compute_imprint(ctx->data, tst_info,
327 || !ts_check_imprints(md_alg, imprint, imprint_len, tst_info)))
330 && !ts_check_nonces(ctx->nonce, tst_info))
406 const TS_TST_INFO *tst_info)
408 const ASN1_OBJECT *resp_oid = tst_info->policy_id;
418 static int ts_compute_imprint(BIO *data, TS_TST_INFO *tst_info,
422 TS_MSG_IMPRINT *msg_imprint = tst_info->msg_imprint;
490 TS_TST_INFO *tst_info)
492 TS_MSG_IMPRINT *b = tst_info->msg_imprint;
516 static int ts_check_nonces(const ASN1_INTEGER *a, TS_TST_INFO *tst_info)
518 const ASN1_INTEGER *b = tst_info->nonce;