Lines Matching defs:section

181 TS_CONF_get_tsa_section(CONF *conf, const char *section)
183 if (!section) {
184 section = NCONF_get_string(conf, BASE_SECTION, ENV_DEFAULT_TSA);
185 if (!section)
188 return section;
193 TS_CONF_set_serial(CONF *conf, const char *section, TS_serial_cb cb,
197 char *serial = NCONF_get_string(conf, section, ENV_SERIAL);
200 TS_CONF_lookup_fail(section, ENV_SERIAL);
213 TS_CONF_set_signer_cert(CONF *conf, const char *section, const char *cert,
220 cert = NCONF_get_string(conf, section, ENV_SIGNER_CERT);
222 TS_CONF_lookup_fail(section, ENV_SIGNER_CERT);
239 TS_CONF_set_certs(CONF *conf, const char *section, const char *certs,
246 certs = NCONF_get_string(conf, section, ENV_CERTS);
264 TS_CONF_set_signer_key(CONF *conf, const char *section, const char *key,
271 key = NCONF_get_string(conf, section, ENV_SIGNER_KEY);
273 TS_CONF_lookup_fail(section, ENV_SIGNER_KEY);
290 TS_CONF_set_def_policy(CONF *conf, const char *section, const char *policy,
297 policy = NCONF_get_string(conf, section, ENV_DEFAULT_POLICY);
299 TS_CONF_lookup_fail(section, ENV_DEFAULT_POLICY);
303 TS_CONF_invalid(section, ENV_DEFAULT_POLICY);
318 TS_CONF_set_policies(CONF *conf, const char *section, TS_RESP_CTX *ctx)
323 char *policies = NCONF_get_string(conf, section, ENV_OTHER_POLICIES);
327 TS_CONF_invalid(section, ENV_OTHER_POLICIES);
335 TS_CONF_invalid(section, ENV_OTHER_POLICIES);
352 TS_CONF_set_digests(CONF *conf, const char *section, TS_RESP_CTX *ctx)
357 char *digests = NCONF_get_string(conf, section, ENV_DIGESTS);
360 TS_CONF_lookup_fail(section, ENV_DIGESTS);
364 TS_CONF_invalid(section, ENV_DIGESTS);
368 TS_CONF_invalid(section, ENV_DIGESTS);
376 TS_CONF_invalid(section, ENV_DIGESTS);
392 TS_CONF_set_accuracy(CONF *conf, const char *section, TS_RESP_CTX *ctx)
398 char *accuracy = NCONF_get_string(conf, section, ENV_ACCURACY);
402 TS_CONF_invalid(section, ENV_ACCURACY);
412 TS_CONF_invalid(section,
421 TS_CONF_invalid(section,
430 TS_CONF_invalid(section,
436 TS_CONF_invalid(section, ENV_ACCURACY);
452 TS_CONF_set_clock_precision_digits(CONF *conf, const char *section,
459 if (!NCONF_get_number_e(conf, section, ENV_CLOCK_PRECISION_DIGITS,
464 TS_CONF_invalid(section, ENV_CLOCK_PRECISION_DIGITS);
479 TS_CONF_add_flag(CONF *conf, const char *section, const char *field, int flag,
483 const char *value = NCONF_get_string(conf, section, field);
489 TS_CONF_invalid(section, field);
498 TS_CONF_set_ordering(CONF *conf, const char *section, TS_RESP_CTX *ctx)
500 return TS_CONF_add_flag(conf, section, ENV_ORDERING, TS_ORDERING, ctx);
505 TS_CONF_set_tsa_name(CONF *conf, const char *section, TS_RESP_CTX *ctx)
507 return TS_CONF_add_flag(conf, section, ENV_TSA_NAME, TS_TSA_NAME, ctx);
512 TS_CONF_set_ess_cert_id_chain(CONF *conf, const char *section, TS_RESP_CTX *ctx)
514 return TS_CONF_add_flag(conf, section, ENV_ESS_CERT_ID_CHAIN,