Searched defs:dkp (Results 1 - 8 of 8) sorted by relevance

/bind-9.6-ESV-R11/contrib/zkt/
H A Dzkt.c65 static void printkeyinfo (const dki_t *dkp, const char *oldpath);
67 static void printkeyinfo (const dki_t *dkp, const char *oldpath) argument
71 if ( dkp == NULL ) /* print headline */
94 /* if ( pathflag && dkp->dname && strcmp (oldpath, dkp->dname) != 0 ) */
95 if ( pathflag && strcmp (oldpath, dkp->dname) != 0 )
96 printf ("%s/\n", dkp->dname);
98 if ( (kskflag && dki_isksk (dkp)) || (zskflag && !dki_isksk (dkp)) )
103 printf ("%-33.33s ", dkp
151 const dki_t *dkp; local
175 const dki_t *dkp; local
222 const dki_t *dkp; local
274 const dki_t *dkp; local
324 const dki_t *dkp; local
371 const dki_t *dkp; local
391 const dki_t *dkp = NULL; local
[all...]
H A Dzone.c324 dki_t *dkp; local
333 for ( dkp = z->keys; dkp; dkp = dkp->next )
335 dki_prt_comment (dkp, stderr);
H A Drollover.c67 dki_t *dkp; local
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);
76 dki_add (listp, dkp);
77 dki_setstatus (dkp, status);
79 return dkp;
84 dki_t *dkp; local
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);
93 dki_add (listp, dkp);
179 create_parent_file(const char *fname, int phase, int ttl, const dki_t *dkp) argument
368 dki_t *dkp; local
536 dki_t *dkp, *last; local
[all...]
H A Dzkt-ls.c366 dki_t *dkp; local
391 if ( (dkp = dki_read (dir, dentp->d_name)) )
393 // fprintf (stderr, "parsedir: tssearch (%d %s)\n", dkp, dkp->name);
395 dki_tadd (listp, dkp, sub_before);
397 dki_add (listp, dkp);
408 dki_t *dkp; local
415 if ( (dkp = dki_read (path, file)) ) /* read DNS key file ... */
417 dki_tadd (listp, dkp, sub_before); /* ... and add to tree */
419 dki_add (listp, dkp); /*
[all...]
H A Ddnssec-zkt.c137 static int create_parent_file (const char *fname, int phase, int ttl, const dki_t *dkp);
152 dki_t *dkp; local
343 if ( (dkp = (dki_t*)zkt_search (data, searchtag, keyname)) == NULL )
345 else if ( dkp == (void *) 01 )
347 if ( (c = dki_setstatus_preservetime (dkp, action)) != 0 )
351 if ( (dkp = (dki_t *)zkt_search (data, searchtag, keyname)) == NULL )
353 else if ( dkp == (void *) 01 )
355 dki_remove (dkp);
358 if ( (dkp = (dki_t *)zkt_search (data, searchtag, keyname)) == NULL )
360 else if ( dkp
489 dki_t *dkp; local
544 dki_t *dkp; local
708 create_parent_file(const char *fname, int phase, int ttl, const dki_t *dkp) argument
733 dki_t *dkp; local
775 dki_t *dkp; local
[all...]
H A Dzkt-keyman.c125 static int create_parent_file (const char *fname, int phase, int ttl, const dki_t *dkp);
137 dki_t *dkp; local
287 if ( (dkp = (dki_t*)zkt_search (data, searchtag, keyname)) == NULL )
289 else if ( dkp == (void *) 01 )
291 if ( (c = dki_setstatus_preservetime (dkp, action)) != 0 )
295 if ( (dkp = (dki_t *)zkt_search (data, searchtag, keyname)) == NULL )
297 else if ( dkp == (void *) 01 )
299 dki_remove (dkp);
302 if ( (dkp = (dki_t *)zkt_search (data, searchtag, keyname)) == NULL )
304 else if ( dkp
396 dki_t *dkp; local
451 dki_t *dkp; local
615 create_parent_file(const char *fname, int phase, int ttl, const dki_t *dkp) argument
640 dki_t *dkp; local
682 dki_t *dkp; local
[all...]
H A Dzkt-signer.c714 dki_t *dkp; local
722 for ( dkp = list; dkp && dki_isksk (dkp); dkp = dkp->next )
724 age = dki_age (dkp, currtime);
727 if ( REG_URL && *REG_URL && dki_status (dkp) == DKI_ACT && age <= z->resign * 4 )
731 dkp->tag, dkp
793 const dki_t *dkp; local
[all...]
H A Ddki.c71 dki_t *dkp = malloc (sizeof (dki_t)); local
73 if ( dkp != NULL )
75 memset (dkp, 0, sizeof (dki_t));
76 return dkp;
84 static int dki_readfile (FILE *fp, dki_t *dkp) argument
93 assert (dkp != NULL);
110 case 'g': dkp->gentime = timestr2time (val); break;
111 case 'e': dkp->exptime = timestr2time (val); break;
112 case 'l': dkp->lifetime = atoi (val) * DAYSEC; break;
126 if ( strcmp (buf, dkp
161 dki_writeinfo(const dki_t *dkp, const char *path) argument
188 dki_free(dki_t *dkp) argument
291 dki_t *dkp; local
397 dki_t *dkp; local
431 dki_setstatus_preservetime(dki_t *dkp, int status) argument
441 dki_setstatus(dki_t *dkp, int status) argument
450 dki_setstat(dki_t *dkp, int status, int preserve_time) argument
557 dki_remove(dki_t *dkp) argument
596 dki_destroy(dki_t *dkp) argument
679 dki_prt_dnskey(const dki_t *dkp, FILE *fp) argument
687 dki_prt_dnskeyttl(const dki_t *dkp, FILE *fp, int ttl) argument
718 dki_prt_dnskey_raw(const dki_t *dkp, FILE *fp) argument
747 dki_prt_comment(const dki_t *dkp, FILE *fp) argument
764 dki_prt_trustedkey(const dki_t *dkp, FILE *fp) argument
891 dki_algo(const dki_t *dkp) argument
900 dki_time(const dki_t *dkp) argument
909 dki_exptime(const dki_t *dkp) argument
918 dki_lifetime(const dki_t *dkp) argument
927 dki_lifetimedays(const dki_t *dkp) argument
936 dki_gentime(const dki_t *dkp) argument
947 dki_setlifetime(dki_t *dkp, int days) argument
972 dki_setexptime(dki_t *dkp, time_t sec) argument
995 dki_age(const dki_t *dkp, time_t curr) argument
1004 dki_getflag(const dki_t *dkp, time_t curr) argument
1012 dki_setflag(dki_t *dkp, dk_flag_t flag) argument
1020 dki_unsetflag(dki_t *dkp, dk_flag_t flag) argument
1028 dki_isksk(const dki_t *dkp) argument
1037 dki_isrevoked(const dki_t *dkp) argument
1046 dki_isdepreciated(const dki_t *dkp) argument
1054 dki_isactive(const dki_t *dkp) argument
1062 dki_ispublished(const dki_t *dkp) argument
1071 dki_status(const dki_t *dkp) argument
1080 dki_statusstr(const dki_t *dkp) argument
1195 const dki_t *dkp; local
1215 const dki_t *dkp; local
[all...]

Completed in 47 milliseconds