OpenDNSSEC-signer  1.3.8
Functions
/build/buildd/opendnssec-1.3.8/signer/src/parser/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 (allocator_type *allocator, 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_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)
int parse_sc_audit (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

int parse_sc_audit ( const char *  cfgfile)

Definition at line 398 of file signconfparser.c.

References parse_conf_string().

duration_type* parse_sc_dnskey_ttl ( const char *  cfgfile)

Definition at line 270 of file signconfparser.c.

References duration_create_from_string(), and parse_conf_string().

keylist_type* parse_sc_keys ( allocator_type allocator,
const char *  cfgfile 
)

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

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

Parse keys from the signer configuration file.

Definition at line 55 of file signconfparser.c.

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

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 349 of file signconfparser.c.

References parse_conf_string().

uint32_t parse_sc_nsec3_iterations ( const char *  cfgfile)

Definition at line 366 of file signconfparser.c.

References parse_conf_string().

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 383 of file signconfparser.c.

References parse_conf_string().

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

Definition at line 434 of file signconfparser.c.

References allocator_strdup(), and parse_conf_string().

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 322 of file signconfparser.c.

References parse_conf_string().

duration_type* parse_sc_sig_inception_offset ( const char *  cfgfile)

Definition at line 254 of file signconfparser.c.

References duration_create_from_string(), and parse_conf_string().

duration_type* parse_sc_sig_jitter ( const char *  cfgfile)

Definition at line 238 of file signconfparser.c.

References duration_create_from_string(), and parse_conf_string().

duration_type* parse_sc_sig_refresh_interval ( const char *  cfgfile)

Definition at line 190 of file signconfparser.c.

References duration_create_from_string(), and parse_conf_string().

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 174 of file signconfparser.c.

References duration_create_from_string(), and parse_conf_string().

duration_type* parse_sc_sig_validity_default ( const char *  cfgfile)

Definition at line 206 of file signconfparser.c.

References duration_create_from_string(), and parse_conf_string().

duration_type* parse_sc_sig_validity_denial ( const char *  cfgfile)

Definition at line 222 of file signconfparser.c.

References duration_create_from_string(), and parse_conf_string().

duration_type* parse_sc_soa_min ( const char *  cfgfile)

Definition at line 302 of file signconfparser.c.

References duration_create_from_string(), and parse_conf_string().

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 417 of file signconfparser.c.

References allocator_strdup(), and parse_conf_string().

duration_type* parse_sc_soa_ttl ( const char *  cfgfile)

Definition at line 286 of file signconfparser.c.

References duration_create_from_string(), and parse_conf_string().