Lines Matching refs:domain

65 static	dki_t	*genkey (dki_t **listp, const char *dir, const char *domain, int ksk, const zconf_t *conf, int status)
69 if ( listp == NULL || domain == NULL )
73 dkp = dki_new (dir, domain, DKI_KSK, conf->k_algo, conf->k_bits, conf->k_random, conf->k_life / DAYSEC);
75 dkp = dki_new (dir, domain, DKI_ZSK, conf->k_algo, conf->z_bits, conf->z_random, conf->z_life / DAYSEC);
82 static dki_t *genkey2 (dki_t **listp, const char *dir, const char *domain, int ksk, const zconf_t *conf, int status)
86 if ( listp == NULL || domain == NULL )
90 dkp = dki_new (dir, domain, DKI_KSK, conf->k2_algo, conf->k_bits, conf->k_random, conf->k_life / DAYSEC);
92 dkp = dki_new (dir, domain, DKI_ZSK, conf->k2_algo, conf->z_bits, conf->z_random, conf->z_life / DAYSEC);
364 int ksk5011status (dki_t **listp, const char *dir, const char *domain, const zconf_t *z)
394 domain, dkp->tag, time2str (exptime, 's'));
400 lg_mesg (LG_NOTICE, "zone \"%s\": removing revoked key %d", domain, dkp->tag);
433 lg_mesg (LG_NOTICE, "\"%s\": starting rfc5011 rollover", domain);
437 dkp = genkey (listp, dir, domain, DKI_KSK, z, DKI_PUBLISHED); /* gentime == now; lifetime = z->k_life; exp = 0 */
441 lg_mesg (LG_ERROR, "\%s\": can't generate new standby KSK", domain);
444 lg_mesg (LG_NOTICE, "\"%s\": generated new standby KSK %d", domain, dkp->tag);
532 int zskstatus (dki_t **listp, const char *dir, const char *domain, const zconf_t *z)
544 assert ( domain != NULL );
550 dbg_val("zskstatus for %s \n", domain);
565 lg_mesg (LG_INFO, "\"%s\": old ZSK %d removed", domain, dkp->tag);
587 akey = genkey (listp, dir, domain, DKI_ZSK, z, DKI_ACTIVE);
588 lg_mesg (LG_INFO, "\"%s\": generated new ZSK %d", domain, akey->tag);
616 lg_mesg (LG_NOTICE, "\"%s\": lifetime of zone signing key %d exceeded: ZSK rollover done", domain, akey->tag);
625 domain, akey->tag, str_delspace (age2str (age - lifetime)));
640 nextkey = genkey (listp, dir, domain, DKI_ZSK, z, DKI_PUB);
645 lg_mesg (LG_INFO, "\"%s\": new key %d generated for publishing", domain, nextkey->tag);
651 domain, dki_geterrstr());
663 akey = genkey2 (listp, dir, domain, DKI_ZSK, z, DKI_ACTIVE);
668 domain, dki_geterrstr());
672 domain, akey->tag);