Lines Matching defs:section

97 static int reply_command(CONF *conf, char *section, char *engine, 
103 static TS_RESP *create_response(CONF *conf, const char *section, char *engine,
128 char *section = NULL;
178 else if (strcmp(*argv, "-section") == 0)
181 section = *++argv;
350 ret = !reply_command(conf, section, engine, queryfile,
376 "ts -reply [-config configfile] [-section tsa_section] "
673 static int reply_command(CONF *conf, char *section, char *engine,
705 response = create_response(conf, section, engine, queryfile,
800 static TS_RESP *create_response(CONF *conf, const char *section, char *engine,
812 /* Getting TSA configuration section. */
813 if (!(section = TS_CONF_get_tsa_section(conf, section)))
820 if (!TS_CONF_set_serial(conf, section, serial_cb, resp_ctx)) goto end;
823 if (!TS_CONF_set_crypto_device(conf, section, engine)) goto end;
827 if (!TS_CONF_set_signer_cert(conf, section, signer, resp_ctx)) goto end;
830 if (!TS_CONF_set_certs(conf, section, chain, resp_ctx)) goto end;
833 if (!TS_CONF_set_signer_key(conf, section, inkey, passin, resp_ctx))
837 if (!TS_CONF_set_def_policy(conf, section, policy, resp_ctx)) goto end;
840 if (!TS_CONF_set_policies(conf, section, resp_ctx)) goto end;
843 if (!TS_CONF_set_digests(conf, section, resp_ctx)) goto end;
846 if (!TS_CONF_set_accuracy(conf, section, resp_ctx)) goto end;
849 if (!TS_CONF_set_clock_precision_digits(conf, section, resp_ctx))
853 if (!TS_CONF_set_ordering(conf, section, resp_ctx)) goto end;
856 if (!TS_CONF_set_tsa_name(conf, section, resp_ctx)) goto end;
859 if (!TS_CONF_set_ess_cert_id_chain(conf, section, resp_ctx)) goto end;