/dports/dns/opendnssec2/opendnssec-2.1.10/enforcer/src/hsmkey/ |
H A D | backup_hsmkeys_cmd.c | 61 hsm_key_t *hsmkey; in hsmkeys_from_to_state() local 71 while ((hsmkey = hsm_key_list_get_next(hsmkey_list))) { in hsmkeys_from_to_state() 72 if (hsm_key_set_backup(hsmkey, to_state) || in hsmkeys_from_to_state() 73 hsm_key_update(hsmkey)) in hsmkeys_from_to_state() 76 hsm_key_free(hsmkey); in hsmkeys_from_to_state() 81 hsm_key_free(hsmkey); in hsmkeys_from_to_state() 128 const hsm_key_t *hsmkey; in list() local 138 for (hsmkey = hsm_key_list_next(hsmkey_list); hsmkey; in list() 139 hsmkey = hsm_key_list_next(hsmkey_list)) in list() 141 …client_printf(sockfd, fmt, hsm_key_locator(hsmkey), hsm_key_repository(hsmkey), hsm_key_to_backup_… in list()
|
H A D | hsm_key_factory.c | 814 libhsm_key_t* hsmkey; in hsm_key_factory_delete_key() local 837 hsmkey = hsm_find_key_by_id(hsm_ctx, hsm_key_locator(hsm_key)); in hsm_key_factory_delete_key() 838 if(hsm_remove_key(hsm_ctx, hsmkey)) { in hsm_key_factory_delete_key()
|
/dports/dns/opendnssec2/opendnssec-2.1.10/enforcer/src/keystate/ |
H A D | keystate_list_cmd.c | 174 hsm_key_t *hsmkey; in perform_keystate_list() local 204 hsm_key_free(hsmkey); in perform_keystate_list() 251 (void)hsmkey; in printcompatkey() 277 hsm_key_bits(hsmkey), in printverbosekey() 278 hsm_key_algorithm(hsmkey), in printverbosekey() 279 hsm_key_locator(hsmkey), in printverbosekey() 293 hsm_key_locator(hsmkey), in printFullkey() 311 hsm_key_bits(hsmkey), in printverboseparsablekey() 313 hsm_key_locator(hsmkey), in printverboseparsablekey() 339 hsm_key_locator(hsmkey)); in printdebugkey() [all …]
|
H A D | keystate_ds.c | 241 hsm_key_t* hsmkey = NULL; in ds_list_keys() local 273 hsmkey = key_data_get_hsm_key(key); in ds_list_keys() 277 (hsmkey ? hsm_key_locator(hsmkey) : "NOT_FOUND") in ds_list_keys() 280 hsm_key_free(hsmkey); in ds_list_keys() 301 if (hsmkey) { in push_clauses() 302 if (hsmkey && !key_data_hsm_key_id_clause(clause_list, hsm_key_id(hsmkey))) in push_clauses() 346 const char *zonename, const hsm_key_t* hsmkey, int keytag, in change_keys_from_to() argument 362 push_clauses(clause_list, zone, state_from, hsmkey, keytag) || in change_keys_from_to() 440 hsm_key_t* hsmkey = NULL; in run_ds_cmd() local 539 ret = change_keys_from_to(dbconn, sockfd, zonename, hsmkey, keytag, in run_ds_cmd() [all …]
|
H A D | keystate_export_cmd.c | 166 const hsm_key_t *hsmkey, int all, int bind_style, int print_sha1) in perform_keystate_export() argument 180 (hsmkey && !key_data_hsm_key_id_clause(clause_list, hsm_key_id(hsmkey))) || in perform_keystate_export() 194 (hsmkey && !key_data_hsm_key_id_clause(clause_list, hsm_key_id(hsmkey))) || in perform_keystate_export() 215 if (!keytype && !keystate && !hsmkey && in perform_keystate_export() 291 hsm_key_t *hsmkey = NULL; in run() local 396 if (cka_id && !(hsmkey = hsm_key_new_get_by_locator(dbconn, cka_id))) { in run() 402 …t(sockfd, dbconn, zonename, (const char*) keytype, (const char*) keystate, hsmkey, all, ds, bsha1); in run()
|
H A D | keystate_import_cmd.c | 141 hsm_key_t * hsmkey; in perform_keydata_import() local 170 if (!(hsmkey = hsm_key_new_get_by_locator(dbconn, ckaid))) { in perform_keydata_import() 182 || key_data_set_hsm_key_id(key_data, hsm_key_id(hsmkey)) in perform_keydata_import() 196 hsm_key_free(hsmkey); in perform_keydata_import() 206 db_value_copy (hsmkey_id, hsm_key_id(hsmkey)); in perform_keydata_import() 207 hsm_key_free(hsmkey); in perform_keydata_import()
|
H A D | keystate_ds.h | 35 const char *zonename, const hsm_key_t* hsmkey, int keytag,
|
/dports/dns/opendnssec2/opendnssec-2.1.10/enforcer/src/ |
H A D | Makefile.in | 185 hsmkey/backup_hsmkeys_cmd.h hsmkey/hsm_key_factory.c \ 186 hsmkey/hsm_key_factory.h hsmkey/key_generate_cmd.c \ 762 hsmkey/backup_hsmkeys_cmd.c hsmkey/backup_hsmkeys_cmd.h \ 763 hsmkey/hsm_key_factory.c hsmkey/hsm_key_factory.h \ 764 hsmkey/key_generate_cmd.c hsmkey/key_generate_cmd.h \ 1088 hsmkey/$(am__dirstamp): 1089 @$(MKDIR_P) hsmkey 1094 hsmkey/backup_hsmkeys_cmd.$(OBJEXT): hsmkey/$(am__dirstamp) \ 1096 hsmkey/hsm_key_factory.$(OBJEXT): hsmkey/$(am__dirstamp) \ 1098 hsmkey/key_generate_cmd.$(OBJEXT): hsmkey/$(am__dirstamp) \ [all …]
|
H A D | Makefile.am | 62 hsmkey/backup_hsmkeys_cmd.c hsmkey/backup_hsmkeys_cmd.h \ 63 hsmkey/hsm_key_factory.c hsmkey/hsm_key_factory.h \ 64 hsmkey/key_generate_cmd.c hsmkey/key_generate_cmd.h \
|
/dports/dns/opendnssec2/opendnssec-2.1.10/enforcer/src/enforcer/ |
H A D | enforcer.c | 2037 hsm_key_t *hsmkey = NULL; in last_inception_policy() local 2055 hsm_key_free(hsmkey); in last_inception_policy() 2056 hsmkey = NULL; in last_inception_policy() 2059 hsm_key_free(hsmkey); in last_inception_policy() 2060 hsmkey = NULL; in last_inception_policy() 2193 const hsm_key_t *hsmkey; in updatePolicy() local 2394 if (!hsmkey) { in updatePolicy() 2396 hsmkey = newhsmkey; in updatePolicy() 2400 hsmkey = newhsmkey; in updatePolicy() 2403 if (!hsmkey) { in updatePolicy() [all …]
|
/dports/dns/opendnssec2/opendnssec-2.1.10/libhsm/src/lib/ |
H A D | libhsm.c | 3314 libhsm_key_t *hsmkey; in hsm_keytag() local 3337 hsmkey = hsm_find_key_by_id(hsm_ctx, loc); in hsm_keytag() 3338 if (!hsmkey) { in hsm_keytag() 3344 dnskey_rr = hsm_get_dnskey(hsm_ctx, hsmkey, sign_params); in hsm_keytag() 3346 libhsm_key_free(hsmkey); in hsm_keytag() 3355 libhsm_key_free(hsmkey); in hsm_keytag()
|