Home
last modified time | relevance | path

Searched refs:hsm_key_list (Results 1 – 6 of 6) sorted by relevance

/dports/dns/opendnssec2/opendnssec-2.1.10/enforcer/src/db/
H A Dhsm_key.c1457 if (hsm_key_list) { in hsm_key_list_new()
1464 return hsm_key_list; in hsm_key_list_new()
1483 return hsm_key_list; in hsm_key_list_new_copy()
1487 if (!hsm_key_list) { in hsm_key_list_object_store()
1499 if (hsm_key_list) { in hsm_key_list_free()
1527 if (!hsm_key_list) { in hsm_key_list_copy()
1594 if (!hsm_key_list) { in hsm_key_list_get_associated()
1687 if (!hsm_key_list) { in hsm_key_list_get_by_clauses()
1743 return hsm_key_list; in hsm_key_list_new_get_by_clauses()
1751 if (!hsm_key_list) { in hsm_key_list_get_by_policy_id()
[all …]
H A Dhsm_key.h36 struct hsm_key_list;
38 typedef struct hsm_key_list hsm_key_list_t;
436 struct hsm_key_list { struct
470 extern int hsm_key_list_object_store(hsm_key_list_t* hsm_key_list);
476 extern void hsm_key_list_free(hsm_key_list_t* hsm_key_list);
488 extern int hsm_key_list_copy(hsm_key_list_t* hsm_key_list, const hsm_key_list_t* from_hsm_key_list);
512 extern int hsm_key_list_get_by_policy_id(hsm_key_list_t* hsm_key_list, const db_value_t* policy_id);
529 extern const hsm_key_t* hsm_key_list_begin(hsm_key_list_t* hsm_key_list);
539 extern hsm_key_t* hsm_key_list_get_begin(hsm_key_list_t* hsm_key_list);
549 extern const hsm_key_t* hsm_key_list_next(hsm_key_list_t* hsm_key_list);
[all …]
H A Dpolicy.c540 if (policy->hsm_key_list) { in policy_free()
643 if (policy->hsm_key_list) { in policy_copy()
644 hsm_key_list_free(policy->hsm_key_list); in policy_copy()
645 policy->hsm_key_list = NULL; in policy_copy()
647 if (policy_copy->hsm_key_list in policy_copy()
648 && !(policy->hsm_key_list = hsm_key_list_new_copy(policy_copy->hsm_key_list))) in policy_copy()
2755 hsm_key_list_t* hsm_key_list; in policy_list_get_associated() local
2960 hsm_key_list_free(hsm_key_list); in policy_list_get_associated()
2967 hsm_key_list_free(hsm_key_list); in policy_list_get_associated()
2989 hsm_key_list_free(hsm_key_list); in policy_list_get_associated()
[all …]
H A Dpolicy.h102 hsm_key_list_t* hsm_key_list; member
/dports/dns/opendnssec2/opendnssec-2.1.10/enforcer/src/hsmkey/
H A Dhsm_key_factory.c634 hsm_key_list_t* hsm_key_list; in hsm_key_factory_get_key() local
663 || !(hsm_key_list = hsm_key_list_new_get_by_clauses(connection, clause_list))) in hsm_key_factory_get_key()
675 if (!(hsm_key = hsm_key_list_get_next(hsm_key_list))) { in hsm_key_factory_get_key()
679 hsm_key_list_free(hsm_key_list); in hsm_key_factory_get_key()
682 hsm_key_list_free(hsm_key_list); in hsm_key_factory_get_key()
813 hsm_key_list_t* hsm_key_list; in hsm_key_factory_delete_key() local
828 || !(hsm_key_list = hsm_key_list_new_get_by_clauses(connection, clause_list))) in hsm_key_factory_delete_key()
836 while((hsm_key = hsm_key_list_get_next(hsm_key_list))) { in hsm_key_factory_delete_key()
862 hsm_key_list_free(hsm_key_list); in hsm_key_factory_delete_key()
/dports/dns/opendnssec2/opendnssec-2.1.10/enforcer/src/policy/
H A Dpolicy_import.c228 hsm_key_list_t* hsm_key_list; in policy_import() local
832 … if (!(hsm_key_list = hsm_key_list_new_get_by_policy_id(dbconn, policy_id(policy)))) { in policy_import()
838 if (hsm_key_list_next(hsm_key_list)) { in policy_import()
839 hsm_key_list_free(hsm_key_list); in policy_import()
845 hsm_key_list_free(hsm_key_list); in policy_import()