OpenDNSSEC-signer  1.4.8.2
Functions
signconfparser.h File Reference
#include "parser/confparser.h"
#include "shared/allocator.h"
#include "shared/duration.h"
#include "signer/keys.h"
#include "config.h"
#include <ldns/ldns.h>
Include dependency graph for signconfparser.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

keylist_typeparse_sc_keys (void *sc, const char *cfgfile)
 
duration_typeparse_sc_sig_resign_interval (const char *cfgfile)
 
duration_typeparse_sc_sig_refresh_interval (const char *cfgfile)
 
duration_typeparse_sc_sig_validity_default (const char *cfgfile)
 
duration_typeparse_sc_sig_validity_denial (const char *cfgfile)
 
duration_typeparse_sc_sig_jitter (const char *cfgfile)
 
duration_typeparse_sc_sig_inception_offset (const char *cfgfile)
 
duration_typeparse_sc_dnskey_ttl (const char *cfgfile)
 
duration_typeparse_sc_nsec3param_ttl (const char *cfgfile)
 
duration_typeparse_sc_soa_ttl (const char *cfgfile)
 
duration_typeparse_sc_soa_min (const char *cfgfile)
 
ldns_rr_type parse_sc_nsec_type (const char *cfgfile)
 
uint32_t parse_sc_nsec3_algorithm (const char *cfgfile)
 
uint32_t parse_sc_nsec3_iterations (const char *cfgfile)
 
int parse_sc_nsec3_optout (const char *cfgfile)
 
const char * parse_sc_soa_serial (allocator_type *allocator, const char *cfgfile)
 
const char * parse_sc_nsec3_salt (allocator_type *allocator, const char *cfgfile)
 

Function Documentation

duration_type* parse_sc_dnskey_ttl ( const char *  cfgfile)

Definition at line 262 of file signconfparser.c.

References duration_create_from_string(), and parse_conf_string().

Referenced by signconf_create().

keylist_type* parse_sc_keys ( void *  sc,
const char *  cfgfile 
)

Parsing signer configuration files. Parse keys from the signer configuration file.

Parameters
[in]scsigner configuration reference
[in]cfgfilethe configuration file name.
Returns
keylist_type* key list

Parse keys from the signer configuration file.

Definition at line 51 of file signconfparser.c.

References key_struct::algorithm, key_struct::flags, keylist_create(), keylist_lookup_by_locator(), keylist_push(), key_struct::ksk, ods_log_assert, ods_log_error(), ods_log_warning(), key_struct::publish, and key_struct::zsk.

Referenced by signconf_create().

uint32_t parse_sc_nsec3_algorithm ( const char *  cfgfile)

Parse elements from the configuration file.

Parameters
[in]cfgfilethe configuration file name.
Returns
uint32_t integer

Parse elements from the configuration file.

Definition at line 355 of file signconfparser.c.

References parse_conf_string().

Referenced by signconf_create().

uint32_t parse_sc_nsec3_iterations ( const char *  cfgfile)

Definition at line 372 of file signconfparser.c.

References parse_conf_string().

Referenced by signconf_create().

int parse_sc_nsec3_optout ( const char *  cfgfile)

Parse elements from the configuration file.

Parameters
[in]cfgfilethe configuration file name.
Returns
int integer

Definition at line 389 of file signconfparser.c.

References parse_conf_string().

Referenced by signconf_create().

const char* parse_sc_nsec3_salt ( allocator_type allocator,
const char *  cfgfile 
)

Definition at line 425 of file signconfparser.c.

References allocator_strdup(), and parse_conf_string().

Referenced by signconf_create().

duration_type* parse_sc_nsec3param_ttl ( const char *  cfgfile)

Definition at line 278 of file signconfparser.c.

References duration_create_from_string(), and parse_conf_string().

Referenced by signconf_create().

ldns_rr_type parse_sc_nsec_type ( const char *  cfgfile)

Parse elements from the configuration file.

Parameters
[in]cfgfilethe configuration file name.
Returns
ldns_rr_type rr type

Parse elements from the configuration file.

Definition at line 330 of file signconfparser.c.

References parse_conf_string().

Referenced by signconf_create().

duration_type* parse_sc_sig_inception_offset ( const char *  cfgfile)

Definition at line 246 of file signconfparser.c.

References duration_create_from_string(), and parse_conf_string().

Referenced by signconf_create().

duration_type* parse_sc_sig_jitter ( const char *  cfgfile)

Definition at line 230 of file signconfparser.c.

References duration_create_from_string(), and parse_conf_string().

Referenced by signconf_create().

duration_type* parse_sc_sig_refresh_interval ( const char *  cfgfile)

Definition at line 182 of file signconfparser.c.

References duration_create_from_string(), and parse_conf_string().

Referenced by signconf_create().

duration_type* parse_sc_sig_resign_interval ( const char *  cfgfile)

Parse elements from the configuration file.

Parameters
[in]cfgfilethe configuration file name.
Returns
duration_type* duration

Parse elements from the configuration file.

Definition at line 166 of file signconfparser.c.

References duration_create_from_string(), and parse_conf_string().

Referenced by signconf_create().

duration_type* parse_sc_sig_validity_default ( const char *  cfgfile)

Definition at line 198 of file signconfparser.c.

References duration_create_from_string(), and parse_conf_string().

Referenced by signconf_create().

duration_type* parse_sc_sig_validity_denial ( const char *  cfgfile)

Definition at line 214 of file signconfparser.c.

References duration_create_from_string(), and parse_conf_string().

Referenced by signconf_create().

duration_type* parse_sc_soa_min ( const char *  cfgfile)

Definition at line 310 of file signconfparser.c.

References duration_create_from_string(), and parse_conf_string().

Referenced by signconf_create().

const char* parse_sc_soa_serial ( allocator_type allocator,
const char *  cfgfile 
)

Parse elements from the configuration file.

Parameters
[in]cfgfilethe configuration file name.
Returns
const char* string

Parse elements from the configuration file.

Definition at line 408 of file signconfparser.c.

References allocator_strdup(), and parse_conf_string().

Referenced by signconf_create().

duration_type* parse_sc_soa_ttl ( const char *  cfgfile)

Definition at line 294 of file signconfparser.c.

References duration_create_from_string(), and parse_conf_string().

Referenced by signconf_create().