Lines Matching refs:conf
123 const char *TS_CONF_get_tsa_section(CONF *conf, const char *section) in TS_CONF_get_tsa_section() argument
126 section = NCONF_get_string(conf, BASE_SECTION, ENV_DEFAULT_TSA); in TS_CONF_get_tsa_section()
133 int TS_CONF_set_serial(CONF *conf, const char *section, TS_serial_cb cb, in TS_CONF_set_serial() argument
137 char *serial = NCONF_get_string(conf, section, ENV_SERIAL); in TS_CONF_set_serial()
151 int TS_CONF_set_crypto_device(CONF *conf, const char *section, in TS_CONF_set_crypto_device() argument
157 device = NCONF_get_string(conf, section, ENV_CRYPTO_DEVICE); in TS_CONF_set_crypto_device()
194 int TS_CONF_set_signer_cert(CONF *conf, const char *section, in TS_CONF_set_signer_cert() argument
201 cert = NCONF_get_string(conf, section, ENV_SIGNER_CERT); in TS_CONF_set_signer_cert()
218 int TS_CONF_set_certs(CONF *conf, const char *section, const char *certs, in TS_CONF_set_certs() argument
226 if ((certs = NCONF_get_string(conf, section, ENV_CERTS)) == NULL) in TS_CONF_set_certs()
240 int TS_CONF_set_signer_key(CONF *conf, const char *section, in TS_CONF_set_signer_key() argument
247 key = NCONF_get_string(conf, section, ENV_SIGNER_KEY); in TS_CONF_set_signer_key()
263 int TS_CONF_set_signer_digest(CONF *conf, const char *section, in TS_CONF_set_signer_digest() argument
269 md = NCONF_get_string(conf, section, ENV_SIGNER_DIGEST); in TS_CONF_set_signer_digest()
287 int TS_CONF_set_def_policy(CONF *conf, const char *section, in TS_CONF_set_def_policy() argument
294 policy = NCONF_get_string(conf, section, ENV_DEFAULT_POLICY); in TS_CONF_set_def_policy()
312 int TS_CONF_set_policies(CONF *conf, const char *section, TS_RESP_CTX *ctx) in TS_CONF_set_policies() argument
317 char *policies = NCONF_get_string(conf, section, ENV_OTHER_POLICIES); in TS_CONF_set_policies()
344 int TS_CONF_set_digests(CONF *conf, const char *section, TS_RESP_CTX *ctx) in TS_CONF_set_digests() argument
349 char *digests = NCONF_get_string(conf, section, ENV_DIGESTS); in TS_CONF_set_digests()
382 int TS_CONF_set_accuracy(CONF *conf, const char *section, TS_RESP_CTX *ctx) in TS_CONF_set_accuracy() argument
388 char *accuracy = NCONF_get_string(conf, section, ENV_ACCURACY); in TS_CONF_set_accuracy()
419 int TS_CONF_set_clock_precision_digits(const CONF *conf, const char *section, in TS_CONF_set_clock_precision_digits() argument
428 digits = _CONF_get_number(conf, section, ENV_CLOCK_PRECISION_DIGITS); in TS_CONF_set_clock_precision_digits()
442 static int ts_CONF_add_flag(CONF *conf, const char *section, in ts_CONF_add_flag() argument
445 const char *value = NCONF_get_string(conf, section, field); in ts_CONF_add_flag()
459 int TS_CONF_set_ordering(CONF *conf, const char *section, TS_RESP_CTX *ctx) in TS_CONF_set_ordering() argument
461 return ts_CONF_add_flag(conf, section, ENV_ORDERING, TS_ORDERING, ctx); in TS_CONF_set_ordering()
464 int TS_CONF_set_tsa_name(CONF *conf, const char *section, TS_RESP_CTX *ctx) in TS_CONF_set_tsa_name() argument
466 return ts_CONF_add_flag(conf, section, ENV_TSA_NAME, TS_TSA_NAME, ctx); in TS_CONF_set_tsa_name()
469 int TS_CONF_set_ess_cert_id_chain(CONF *conf, const char *section, in TS_CONF_set_ess_cert_id_chain() argument
472 return ts_CONF_add_flag(conf, section, ENV_ESS_CERT_ID_CHAIN, in TS_CONF_set_ess_cert_id_chain()
476 int TS_CONF_set_ess_cert_id_digest(CONF *conf, const char *section, in TS_CONF_set_ess_cert_id_digest() argument
481 const char *md = NCONF_get_string(conf, section, ENV_ESS_CERT_ID_ALG); in TS_CONF_set_ess_cert_id_digest()