Lines Matching defs:policy
123 #define ENV_POLICY "policy"
155 " -policy arg - The CA 'policy' to support\n",
195 STACK_OF(CONF_VALUE) *policy, CA_DB *db,
203 STACK_OF(CONF_VALUE) *policy, CA_DB *db,
213 STACK_OF(CONF_VALUE) *policy, CA_DB *db,
223 STACK_OF(CONF_VALUE) *policy, CA_DB *db, BIGNUM *serial,
267 char *policy = NULL;
386 } else if (strcmp(*argv, "-policy") == 0) {
389 policy = *(++argv);
1008 if ((policy == NULL) && ((policy = NCONF_get_string(conf,
1016 BIO_printf(bio_err, "policy is %s\n", policy);
1099 if ((attribs = NCONF_get_section(conf, policy)) == NULL) {
1100 BIO_printf(bio_err, "unable to find 'section' for %s\n", policy);
1500 STACK_OF(CONF_VALUE) *policy, CA_DB *db,
1555 ok = do_body(xret, pkey, x509, dgst, sigopts, policy, db, serial, subj,
1570 STACK_OF(CONF_VALUE) *policy, CA_DB *db,
1612 ok = do_body(xret, pkey, x509, dgst, sigopts, policy, db, serial, subj,
1627 STACK_OF(CONF_VALUE) *policy, CA_DB *db, BIGNUM *serial,
1727 /* Ok, now we check the 'policy' stuff. */
1742 for (i = 0; i < sk_CONF_VALUE_num(policy); i++) {
1743 cv = sk_CONF_VALUE_value(policy, i); /* get the object id */
1746 "%s:unknown object type in 'policy' configuration\n",
1765 /* depending on the 'policy', decide what to do. */
1794 "The %s field does not exist in the CA certificate,\nthe 'policy' is misconfigured\n",
1816 "%s:invalid type in 'policy' configuration\n",
2196 STACK_OF(CONF_VALUE) *policy, CA_DB *db,
2318 ok = do_body(xret, pkey, x509, dgst, sigopts, policy, db, serial, subj,