Lines Matching defs:tst_info
76 PKCS7 *token, TS_TST_INFO *tst_info);
79 static int TS_check_policy(ASN1_OBJECT *req_oid, TS_TST_INFO *tst_info);
80 static int TS_compute_imprint(BIO *data, TS_TST_INFO *tst_info,
85 TS_TST_INFO *tst_info);
86 static int TS_check_nonces(const ASN1_INTEGER *a, TS_TST_INFO *tst_info);
385 TS_TST_INFO *tst_info = TS_RESP_get_tst_info(response);
393 if (!int_TS_RESP_verify_token(ctx, token, tst_info))
407 TS_TST_INFO *tst_info = PKCS7_to_TS_TST_INFO(token);
409 if (tst_info) {
410 ret = int_TS_RESP_verify_token(ctx, token, tst_info);
411 TS_TST_INFO_free(tst_info);
429 PKCS7 *token, TS_TST_INFO *tst_info)
432 GENERAL_NAME *tsa_name = TS_TST_INFO_get_tsa(tst_info);
445 && TS_TST_INFO_get_version(tst_info) != 1) {
452 && !TS_check_policy(ctx->policy, tst_info))
458 tst_info))
463 && (!TS_compute_imprint(ctx->data, tst_info,
465 || !TS_check_imprints(md_alg, imprint, imprint_len, tst_info)))
470 && !TS_check_nonces(ctx->nonce, tst_info))
581 static int TS_check_policy(ASN1_OBJECT *req_oid, TS_TST_INFO *tst_info)
583 ASN1_OBJECT *resp_oid = TS_TST_INFO_get_policy_id(tst_info);
593 static int TS_compute_imprint(BIO *data, TS_TST_INFO *tst_info,
597 TS_MSG_IMPRINT *msg_imprint = TS_TST_INFO_get_msg_imprint(tst_info);
647 TS_TST_INFO *tst_info)
649 TS_MSG_IMPRINT *b = TS_TST_INFO_get_msg_imprint(tst_info);
676 static int TS_check_nonces(const ASN1_INTEGER *a, TS_TST_INFO *tst_info)
678 const ASN1_INTEGER *b = TS_TST_INFO_get_nonce(tst_info);