Lines Matching refs:policy
130 #define ENV_POLICY "policy"
162 " -policy arg - The CA 'policy' to support\n",
201 const EVP_MD *dgst, STACK_OF(CONF_VALUE) *policy,
209 const EVP_MD *dgst, STACK_OF(CONF_VALUE) *policy,
218 STACK_OF(CONF_VALUE) *policy, CA_DB *db,
227 const EVP_MD *dgst, STACK_OF(CONF_VALUE) *policy,
271 char *policy = NULL;
388 } else if (strcmp(*argv, "-policy") == 0) {
391 policy = *(++argv);
978 if ((policy == NULL) && ((policy = NCONF_get_string(conf,
986 BIO_printf(bio_err, "policy is %s\n", policy);
1069 if ((attribs = NCONF_get_section(conf, policy)) == NULL) {
1070 BIO_printf(bio_err, "unable to find 'section' for %s\n", policy);
1462 const EVP_MD *dgst, STACK_OF(CONF_VALUE) *policy,
1518 ok = do_body(xret, pkey, x509, dgst, policy, db, serial, subj, chtype,
1532 const EVP_MD *dgst, STACK_OF(CONF_VALUE) *policy,
1574 ok = do_body(xret, pkey, x509, dgst, policy, db, serial, subj, chtype,
1588 const EVP_MD *dgst, STACK_OF(CONF_VALUE) *policy,
1687 /* Ok, now we check the 'policy' stuff. */
1702 for (i = 0; i < sk_CONF_VALUE_num(policy); i++) {
1703 cv = sk_CONF_VALUE_value(policy, i); /* get the object id */
1706 "%s:unknown object type in 'policy' configuration\n",
1725 /* depending on the 'policy', decide what to do. */
1754 "The %s field does not exist in the CA certificate,\nthe 'policy' is misconfigured\n",
1776 "%s:invalid type in 'policy' configuration\n",
2161 STACK_OF(CONF_VALUE) *policy, CA_DB *db,
2283 ok = do_body(xret, pkey, x509, dgst, policy, db, serial, subj, chtype,