Lines Matching defs:keys
2 * testcode/signit.c - debug tool to sign rrsets with given keys.
39 * This program signs rrsets with the given keys. It can be used to
128 ldns_key_list* keys = ldns_key_list_new();
135 if(!keys) fatal_exit("alloc failure");
155 b = ldns_key_list_push_key(keys, k);
158 return keys;
196 /** sign the rrs with the keys */
198 signit(ldns_rr_list* rrs, ldns_key_list* keys)
206 sigs = ldns_sign_public(rrset, keys);
216 /** process keys and signit */
221 ldns_key_list* keys;
226 keys = read_keys(1, argv+5, &settings);
228 signit(rrs, keys);
231 ldns_key_list_free(keys);