Home
last modified time | relevance | path

Searched refs:tsa_name (Results 1 – 5 of 5) sorted by relevance

/dragonfly/crypto/libressl/crypto/ts/
H A Dts_rsp_print.c206 GENERAL_NAME *tsa_name; in TS_TST_INFO_print_bio() local
262 tsa_name = TS_TST_INFO_get_tsa(a); in TS_TST_INFO_print_bio()
263 if (tsa_name == NULL) in TS_TST_INFO_print_bio()
267 if ((nval = i2v_GENERAL_NAME(NULL, tsa_name, NULL))) in TS_TST_INFO_print_bio()
H A Dts_rsp_verify.c93 static int TS_check_signer_name(GENERAL_NAME *tsa_name, X509 *signer);
523 GENERAL_NAME *tsa_name = TS_TST_INFO_get_tsa(tst_info); in int_TS_RESP_verify_token() local
566 tsa_name && !TS_check_signer_name(tsa_name, signer)) { in int_TS_RESP_verify_token()
573 !TS_check_signer_name(ctx->tsa_name, signer)) { in int_TS_RESP_verify_token()
802 TS_check_signer_name(GENERAL_NAME *tsa_name, X509 *signer) in TS_check_signer_name() argument
812 if (tsa_name->type == GEN_DIRNAME && in TS_check_signer_name()
813 X509_name_cmp(tsa_name->d.dirn, X509_get_subject_name(signer)) == 0) in TS_check_signer_name()
820 !(found = (TS_find_name(gen_names, tsa_name) >= 0))) { in TS_check_signer_name()
H A Dts_rsp_sign.c616 GENERAL_NAME *tsa_name = NULL; in TS_RESP_create_tst_info() local
661 if (!(tsa_name = GENERAL_NAME_new())) in TS_RESP_create_tst_info()
663 tsa_name->type = GEN_DIRNAME; in TS_RESP_create_tst_info()
664 tsa_name->d.dirn = in TS_RESP_create_tst_info()
666 if (!tsa_name->d.dirn) in TS_RESP_create_tst_info()
668 if (!TS_TST_INFO_set_tsa(tst_info, tsa_name)) in TS_RESP_create_tst_info()
683 GENERAL_NAME_free(tsa_name); in TS_RESP_create_tst_info()
H A Dts_local.h292 GENERAL_NAME *tsa_name; member
H A Dts_verify_ctx.c112 GENERAL_NAME_free(ctx->tsa_name); in TS_VERIFY_CTX_cleanup()