OpenDNSSEC-enforcer  2.1.3
Functions
hsm_key_ext.c File Reference
#include "hsm_key.h"
#include "db_error.h"

Go to the source code of this file.

Functions

char const * hsm_key_to_backup_state (hsm_key_t const *hsm_key)
 
hsm_key_list_thsm_key_list_new_get_by_policy_key (const policy_key_t *pkey)
 

Function Documentation

◆ hsm_key_list_new_get_by_policy_key()

hsm_key_list_t* hsm_key_list_new_get_by_policy_key ( const policy_key_t pkey)

Get all HSM keys for policy/algorithm/bits/repository. NULL on failure

Definition at line 43 of file hsm_key_ext.c.

◆ hsm_key_to_backup_state()

char const* hsm_key_to_backup_state ( hsm_key_t const *  hsm_key)

Return the human readable backup state of hsm_key as static string.

Definition at line 34 of file hsm_key_ext.c.

References hsm_key_enum_set_backup, and db_enum::text.