Lines Matching defs:tst_info
82 PKCS7 *token, TS_TST_INFO *tst_info);
85 static int TS_check_policy(ASN1_OBJECT *req_oid, TS_TST_INFO *tst_info);
86 static int TS_compute_imprint(BIO *data, TS_TST_INFO *tst_info,
91 TS_TST_INFO *tst_info);
92 static int TS_check_nonces(const ASN1_INTEGER *a, TS_TST_INFO *tst_info);
473 TS_TST_INFO *tst_info = TS_RESP_get_tst_info(response);
481 if (!int_TS_RESP_verify_token(ctx, token, tst_info))
498 TS_TST_INFO *tst_info = PKCS7_to_TS_TST_INFO(token);
501 if (tst_info) {
502 ret = int_TS_RESP_verify_token(ctx, token, tst_info);
503 TS_TST_INFO_free(tst_info);
523 TS_TST_INFO *tst_info)
526 GENERAL_NAME *tsa_name = TS_TST_INFO_get_tsa(tst_info);
539 TS_TST_INFO_get_version(tst_info) != 1) {
546 !TS_check_policy(ctx->policy, tst_info))
552 tst_info))
557 (!TS_compute_imprint(ctx->data, tst_info,
559 !TS_check_imprints(md_alg, imprint, imprint_len, tst_info)))
564 !TS_check_nonces(ctx->nonce, tst_info))
676 TS_check_policy(ASN1_OBJECT *req_oid, TS_TST_INFO *tst_info)
678 ASN1_OBJECT *resp_oid = TS_TST_INFO_get_policy_id(tst_info);
689 TS_compute_imprint(BIO *data, TS_TST_INFO *tst_info, X509_ALGOR **out_md_alg,
707 msg_imprint = TS_TST_INFO_get_msg_imprint(tst_info);
752 TS_TST_INFO *tst_info)
754 TS_MSG_IMPRINT *b = TS_TST_INFO_get_msg_imprint(tst_info);
783 TS_check_nonces(const ASN1_INTEGER *a, TS_TST_INFO *tst_info)
785 const ASN1_INTEGER *b = TS_TST_INFO_get_nonce(tst_info);