Home
last modified time | relevance | path

Searched refs:tst_info (Results 1 – 8 of 8) sorted by relevance

/freebsd/crypto/openssl/crypto/ts/
H A Dts_rsp_verify.c25 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; in TS_RESP_verify_response() local
257 if (!int_ts_RESP_verify_token(ctx, token, tst_info)) in TS_RESP_verify_response()
271 TS_TST_INFO *tst_info = PKCS7_to_TS_TST_INFO(token); in TS_RESP_verify_token() local
273 if (tst_info) { in TS_RESP_verify_token()
274 ret = int_ts_RESP_verify_token(ctx, token, tst_info); in TS_RESP_verify_token()
[all …]
H A Dts_rsp_sign.c362 return ctx->tst_info; in TS_RESP_CTX_get_tst_info()
399 if ((ctx->tst_info = ts_RESP_create_tst_info(ctx, policy)) == NULL) in TS_RESP_create_response()
431 ctx->tst_info = NULL; in ts_RESP_CTX_init()
441 TS_TST_INFO_free(ctx->tst_info); in ts_RESP_CTX_cleanup()
442 ctx->tst_info = NULL; in ts_RESP_CTX_cleanup()
531 TS_TST_INFO *tst_info = NULL; in ts_RESP_create_tst_info() local
539 if ((tst_info = TS_TST_INFO_new()) == NULL) in ts_RESP_create_tst_info()
541 if (!TS_TST_INFO_set_version(tst_info, 1)) in ts_RESP_create_tst_info()
543 if (!TS_TST_INFO_set_policy_id(tst_info, policy)) in ts_RESP_create_tst_info()
545 if (!TS_TST_INFO_set_msg_imprint(tst_info, ctx->request->msg_imprint)) in ts_RESP_create_tst_info()
[all …]
H A Dts_asn1.c144 TS_TST_INFO_free(a->tst_info);
145 a->tst_info = PKCS7_to_TS_TST_INFO(a->token);
146 if (!a->tst_info) {
163 ts_resp->tst_info = NULL; in ts_resp_cb()
165 TS_TST_INFO_free(ts_resp->tst_info); in ts_resp_cb()
H A Dts_rsp_utils.c40 void TS_RESP_set_tst_info(TS_RESP *a, PKCS7 *p7, TS_TST_INFO *tst_info) in TS_RESP_set_tst_info() argument
44 TS_TST_INFO_free(a->tst_info); in TS_RESP_set_tst_info()
45 a->tst_info = tst_info; in TS_RESP_set_tst_info()
55 return a->tst_info; in TS_RESP_get_tst_info()
H A Dts_local.h28 TS_TST_INFO *tst_info; member
126 TS_TST_INFO *tst_info; member
H A Dts_rsp_print.c34 if (a->tst_info != NULL) in TS_RESP_print_bio()
35 TS_TST_INFO_print_bio(bio, a->tst_info); in TS_RESP_print_bio()
/freebsd/crypto/openssl/apps/
H A Dts.c625 TS_TST_INFO *tst_info = TS_RESP_get_tst_info(response); in reply_command()
626 if (!TS_TST_INFO_print_bio(out_bio, tst_info)) in reply_command()
663 TS_TST_INFO *tst_info = NULL; in read_PKCS7()
669 if ((tst_info = PKCS7_to_TS_TST_INFO(token)) == NULL) in read_PKCS7()
679 TS_RESP_set_tst_info(resp, token, tst_info); in read_PKCS7()
681 tst_info = NULL; /* Ownership is lost. */ in read_PKCS7()
686 TS_TST_INFO_free(tst_info); in read_PKCS7()
622 TS_TST_INFO *tst_info = TS_RESP_get_tst_info(response); reply_command() local
660 TS_TST_INFO *tst_info = NULL; read_PKCS7() local
/freebsd/crypto/openssl/include/openssl/
H A Dts.h172 void TS_RESP_set_tst_info(TS_RESP *a, PKCS7 *p7, TS_TST_INFO *tst_info);