policy.h
Go to the documentation of this file.
/*
* Copyright (c) 2014 Jerry Lundström <lundstrom.jerry@gmail.com>
* Copyright (c) 2014 .SE (The Internet Infrastructure Foundation).
* Copyright (c) 2014 OpenDNSSEC AB (svb)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
* IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
*/
#ifndef __policy_h
#define __policy_h
#include "db_object.h"
struct policy;
struct policy_list;
typedef struct policy policy_t;
typedef struct policy_list policy_list_t;
typedef enum policy_denial_type {
POLICY_DENIAL_TYPE_INVALID = -1,
POLICY_DENIAL_TYPE_NSEC = 0,
POLICY_DENIAL_TYPE_NSEC3 = 1
} policy_denial_type_t;
extern const db_enum_t policy_enum_set_denial_type[];
typedef enum policy_zone_soa_serial {
POLICY_ZONE_SOA_SERIAL_INVALID = -1,
POLICY_ZONE_SOA_SERIAL_COUNTER = 0,
POLICY_ZONE_SOA_SERIAL_DATECOUNTER = 1,
POLICY_ZONE_SOA_SERIAL_UNIXTIME = 2,
POLICY_ZONE_SOA_SERIAL_KEEP = 3
} policy_zone_soa_serial_t;
#include "policy_ext.h"
struct policy {
db_object_t* dbo;
db_value_t id;
db_value_t rev;
char* name;
/* if passthrough set, no modifications to the zonefile should
* be made. I.e. No signatures added or removed */
unsigned int passthrough;
char* description;
unsigned int signatures_resign;
unsigned int signatures_refresh;
unsigned int signatures_jitter;
unsigned int signatures_inception_offset;
unsigned int signatures_validity_default;
unsigned int signatures_validity_denial;
unsigned int signatures_validity_keyset;
unsigned int signatures_max_zone_ttl;
policy_denial_type_t denial_type;
unsigned int denial_optout;
unsigned int denial_ttl;
unsigned int denial_resalt;
unsigned int denial_algorithm;
unsigned int denial_iterations;
unsigned int denial_salt_length;
char* denial_salt;
unsigned int denial_salt_last_change;
unsigned int keys_ttl;
unsigned int keys_retire_safety;
unsigned int keys_publish_safety;
unsigned int keys_shared;
unsigned int keys_purge_after;
unsigned int zone_propagation_delay;
unsigned int zone_soa_ttl;
unsigned int zone_soa_minimum;
policy_zone_soa_serial_t zone_soa_serial;
unsigned int parent_registration_delay;
unsigned int parent_propagation_delay;
unsigned int parent_ds_ttl;
unsigned int parent_soa_ttl;
unsigned int parent_soa_minimum;
policy_key_list_t* policy_key_list;
zone_list_db_t* zone_list;
hsm_key_list_t* hsm_key_list;
};
policy_t* policy_new(const db_connection_t* connection);
policy_t* policy_new_copy(const policy_t* policy);
void policy_free(policy_t* policy);
int policy_copy(policy_t* policy, const policy_t* policy_copy);
int policy_from_result(policy_t* policy, const db_result_t* result);
const db_value_t* policy_id(const policy_t* policy);
const char* policy_name(const policy_t* policy);
unsigned int policy_passthrough(const policy_t* policy);
const char* policy_description(const policy_t* policy);
unsigned int policy_signatures_resign(const policy_t* policy);
unsigned int policy_signatures_refresh(const policy_t* policy);
unsigned int policy_signatures_jitter(const policy_t* policy);
unsigned int policy_signatures_inception_offset(const policy_t* policy);
unsigned int policy_signatures_validity_default(const policy_t* policy);
unsigned int policy_signatures_validity_denial(const policy_t* policy);
unsigned int policy_signatures_validity_keyset(const policy_t* policy);
unsigned int policy_signatures_max_zone_ttl(const policy_t* policy);
policy_denial_type_t policy_denial_type(const policy_t* policy);
unsigned int policy_denial_optout(const policy_t* policy);
unsigned int policy_denial_ttl(const policy_t* policy);
unsigned int policy_denial_resalt(const policy_t* policy);
unsigned int policy_denial_algorithm(const policy_t* policy);
unsigned int policy_denial_iterations(const policy_t* policy);
unsigned int policy_denial_salt_length(const policy_t* policy);
const char* policy_denial_salt(const policy_t* policy);
unsigned int policy_denial_salt_last_change(const policy_t* policy);
unsigned int policy_keys_ttl(const policy_t* policy);
unsigned int policy_keys_retire_safety(const policy_t* policy);
unsigned int policy_keys_publish_safety(const policy_t* policy);
unsigned int policy_keys_shared(const policy_t* policy);
unsigned int policy_keys_purge_after(const policy_t* policy);
unsigned int policy_zone_propagation_delay(const policy_t* policy);
unsigned int policy_zone_soa_ttl(const policy_t* policy);
unsigned int policy_zone_soa_minimum(const policy_t* policy);
const char* policy_zone_soa_serial_text(const policy_t* policy);
unsigned int policy_parent_registration_delay(const policy_t* policy);
unsigned int policy_parent_propagation_delay(const policy_t* policy);
unsigned int policy_parent_ds_ttl(const policy_t* policy);
unsigned int policy_parent_soa_ttl(const policy_t* policy);
unsigned int policy_parent_soa_minimum(const policy_t* policy);
zone_list_db_t* policy_zone_list(policy_t* policy);
int policy_retrieve_zone_list(policy_t* policy);
int policy_set_name(policy_t* policy, const char* name_text);
int policy_set_passthrough(policy_t* policy, unsigned int passthrough);
int policy_set_description(policy_t* policy, const char* description_text);
int policy_set_signatures_resign(policy_t* policy, unsigned int signatures_resign);
int policy_set_signatures_refresh(policy_t* policy, unsigned int signatures_refresh);
int policy_set_signatures_jitter(policy_t* policy, unsigned int signatures_jitter);
int policy_set_signatures_inception_offset(policy_t* policy, unsigned int signatures_inception_offset);
int policy_set_signatures_validity_default(policy_t* policy, unsigned int signatures_validity_default);
int policy_set_signatures_validity_denial(policy_t* policy, unsigned int signatures_validity_denial);
int policy_set_signatures_validity_keyset(policy_t* policy, unsigned int signatures_validity_keyset);
int policy_set_signatures_max_zone_ttl(policy_t* policy, unsigned int signatures_max_zone_ttl);
int policy_set_denial_type(policy_t* policy, policy_denial_type_t denial_type);
int policy_set_denial_optout(policy_t* policy, unsigned int denial_optout);
int policy_set_denial_ttl(policy_t* policy, unsigned int denial_ttl);
int policy_set_denial_resalt(policy_t* policy, unsigned int denial_resalt);
int policy_set_denial_algorithm(policy_t* policy, unsigned int denial_algorithm);
int policy_set_denial_iterations(policy_t* policy, unsigned int denial_iterations);
int policy_set_denial_salt_length(policy_t* policy, unsigned int denial_salt_length);
int policy_set_denial_salt(policy_t* policy, const char* denial_salt_text);
int policy_set_denial_salt_last_change(policy_t* policy, unsigned int denial_salt_last_change);
int policy_set_keys_ttl(policy_t* policy, unsigned int keys_ttl);
int policy_set_keys_retire_safety(policy_t* policy, unsigned int keys_retire_safety);
int policy_set_keys_publish_safety(policy_t* policy, unsigned int keys_publish_safety);
int policy_set_keys_shared(policy_t* policy, unsigned int keys_shared);
int policy_set_keys_purge_after(policy_t* policy, unsigned int keys_purge_after);
int policy_set_zone_propagation_delay(policy_t* policy, unsigned int zone_propagation_delay);
int policy_set_zone_soa_ttl(policy_t* policy, unsigned int zone_soa_ttl);
int policy_set_zone_soa_minimum(policy_t* policy, unsigned int zone_soa_minimum);
int policy_set_zone_soa_serial_text(policy_t* policy, const char* zone_soa_serial);
int policy_set_parent_registration_delay(policy_t* policy, unsigned int parent_registration_delay);
int policy_set_parent_propagation_delay(policy_t* policy, unsigned int parent_propagation_delay);
int policy_set_parent_ds_ttl(policy_t* policy, unsigned int parent_ds_ttl);
int policy_set_parent_soa_ttl(policy_t* policy, unsigned int parent_soa_ttl);
int policy_set_parent_soa_minimum(policy_t* policy, unsigned int parent_soa_minimum);
db_clause_t* policy_denial_type_clause(db_clause_list_t* clause_list, policy_denial_type_t denial_type);
int policy_create(policy_t* policy);
int policy_get_by_id(policy_t* policy, const db_value_t* id);
int policy_get_by_name(policy_t* policy, const char* name);
policy_t* policy_new_get_by_name(const db_connection_t* connection, const char* name);
int policy_update(policy_t* policy);
int policy_delete(policy_t* policy);
struct policy_list {
db_object_t* dbo;
db_result_list_t* result_list;
const db_result_t* result;
policy_t* policy;
int object_store;
policy_t** object_list;
size_t object_list_size;
size_t object_list_position;
int object_list_first;
int associated_fetch;
};
policy_list_t* policy_list_new(const db_connection_t* connection);
policy_list_t* policy_list_new_copy(const policy_list_t* policy_copy);
int policy_list_object_store(policy_list_t* policy_list);
void policy_list_free(policy_list_t* policy_list);
int policy_list_copy(policy_list_t* policy_list, const policy_list_t* from_policy_list);
int policy_list_get(policy_list_t* policy_list);
policy_list_t* policy_list_new_get(const db_connection_t* connection);
int policy_list_get_by_clauses(policy_list_t* policy_list, const db_clause_list_t* clause_list);
policy_list_t* policy_list_new_get_by_clauses(const db_connection_t* connection, const db_clause_list_t* clause_list);
const policy_t* policy_list_begin(policy_list_t* policy_list);
const policy_t* policy_list_next(policy_list_t* policy_list);
policy_t* policy_list_get_next(policy_list_t* policy_list);
#endif
policy_zone_soa_serial_t
enum policy_zone_soa_serial policy_zone_soa_serial_t
POLICY_ZONE_SOA_SERIAL_DATECOUNTER
Definition: policy.h:50
policy_list
Definition: policy.h:733
policy_set_parent_registration_delay
int policy_set_parent_registration_delay(policy_t *policy, unsigned int parent_registration_delay)
Definition: policy.c:1480
policy::zone_soa_serial
policy_zone_soa_serial_t zone_soa_serial
Definition: policy.h:94
policy_signatures_validity_default
unsigned int policy_signatures_validity_default(const policy_t *policy)
Definition: policy.c:861
policy::keys_ttl
unsigned int keys_ttl
Definition: policy.h:86
policy_set_parent_soa_minimum
int policy_set_parent_soa_minimum(policy_t *policy, unsigned int parent_soa_minimum)
Definition: policy.c:1520
policy_id
const db_value_t * policy_id(const policy_t *policy)
Definition: policy.c:805
policy_set_parent_propagation_delay
int policy_set_parent_propagation_delay(policy_t *policy, unsigned int parent_propagation_delay)
Definition: policy.c:1490
policy_description
const char * policy_description(const policy_t *policy)
Definition: policy.c:821
policy_list_next
const policy_t * policy_list_next(policy_list_t *policy_list)
Definition: policy.c:3214
policy_denial_resalt
unsigned int policy_denial_resalt(const policy_t *policy)
Definition: policy.c:917
policy_zone_soa_ttl
unsigned int policy_zone_soa_ttl(const policy_t *policy)
Definition: policy.c:1013
policy::parent_registration_delay
unsigned int parent_registration_delay
Definition: policy.h:95
policy_list_new
policy_list_t * policy_list_new(const db_connection_t *connection)
Definition: policy.c:2621
POLICY_ZONE_SOA_SERIAL_COUNTER
Definition: policy.h:49
policy_set_denial_optout
int policy_set_denial_optout(policy_t *policy, unsigned int denial_optout)
Definition: policy.c:1279
policy_set_keys_publish_safety
int policy_set_keys_publish_safety(policy_t *policy, unsigned int keys_publish_safety)
Definition: policy.c:1403
policy_set_signatures_validity_denial
int policy_set_signatures_validity_denial(policy_t *policy, unsigned int signatures_validity_denial)
Definition: policy.c:1236
policy_keys_publish_safety
unsigned int policy_keys_publish_safety(const policy_t *policy)
Definition: policy.c:981
policy_list_new_get_by_clauses
policy_list_t * policy_list_new_get_by_clauses(const db_connection_t *connection, const db_clause_list_t *clause_list)
Definition: policy.c:3138
policy_delete
int policy_delete(policy_t *policy)
Definition: policy.c:2571
policy_set_denial_salt
int policy_set_denial_salt(policy_t *policy, const char *denial_salt_text)
Definition: policy.c:1351
policy_list::dbo
db_object_t * dbo
Definition: policy.h:734
policy::keys_retire_safety
unsigned int keys_retire_safety
Definition: policy.h:87
policy_new_copy
policy_t * policy_new_copy(const policy_t *policy)
Definition: policy.c:499
policy::signatures_resign
unsigned int signatures_resign
Definition: policy.h:69
db_object
Definition: db_object.h:201
policy_parent_soa_minimum
unsigned int policy_parent_soa_minimum(const policy_t *policy)
Definition: policy.c:1077
policy_zone_soa_minimum
unsigned int policy_zone_soa_minimum(const policy_t *policy)
Definition: policy.c:1021
policy_list_get
int policy_list_get(policy_list_t *policy_list)
Definition: policy.c:3040
policy_denial_optout
unsigned int policy_denial_optout(const policy_t *policy)
Definition: policy.c:901
policy::denial_salt
char * denial_salt
Definition: policy.h:84
policy::id
db_value_t id
Definition: policy.h:62
policy::name
char * name
Definition: policy.h:64
policy_set_parent_ds_ttl
int policy_set_parent_ds_ttl(policy_t *policy, unsigned int parent_ds_ttl)
Definition: policy.c:1500
db_clause_list
Definition: db_clause.h:226
policy::keys_purge_after
unsigned int keys_purge_after
Definition: policy.h:90
policy::zone_soa_ttl
unsigned int zone_soa_ttl
Definition: policy.h:92
policy_set_zone_soa_minimum
int policy_set_zone_soa_minimum(policy_t *policy, unsigned int zone_soa_minimum)
Definition: policy.c:1453
policy_list_free
void policy_list_free(policy_list_t *policy_list)
Definition: policy.c:2664
policy_set_denial_type
int policy_set_denial_type(policy_t *policy, policy_denial_type_t denial_type)
Definition: policy.c:1266
policy_list::policy
policy_t * policy
Definition: policy.h:737
policy_keys_shared
unsigned int policy_keys_shared(const policy_t *policy)
Definition: policy.c:989
policy_signatures_jitter
unsigned int policy_signatures_jitter(const policy_t *policy)
Definition: policy.c:845
policy::denial_resalt
unsigned int denial_resalt
Definition: policy.h:80
policy_parent_ds_ttl
unsigned int policy_parent_ds_ttl(const policy_t *policy)
Definition: policy.c:1061
policy_denial_ttl
unsigned int policy_denial_ttl(const policy_t *policy)
Definition: policy.c:909
policy::keys_shared
unsigned int keys_shared
Definition: policy.h:89
POLICY_ZONE_SOA_SERIAL_KEEP
Definition: policy.h:52
policy_get_by_name
int policy_get_by_name(policy_t *policy, const char *name)
Definition: policy.c:2040
policy_parent_propagation_delay
unsigned int policy_parent_propagation_delay(const policy_t *policy)
Definition: policy.c:1053
policy_signatures_inception_offset
unsigned int policy_signatures_inception_offset(const policy_t *policy)
Definition: policy.c:853
policy_list_new_copy
policy_list_t * policy_list_new_copy(const policy_list_t *policy_copy)
Definition: policy.c:2635
db_result_list
Definition: db_result.h:114
policy::zone_propagation_delay
unsigned int zone_propagation_delay
Definition: policy.h:91
db_value
Definition: db_value.h:48
policy_denial_salt
const char * policy_denial_salt(const policy_t *policy)
Definition: policy.c:949
policy_denial_type
policy_denial_type
Definition: policy.h:40
policy_key_list
Definition: policy_key.h:322
POLICY_DENIAL_TYPE_INVALID
Definition: policy.h:41
policy_get_by_id
int policy_get_by_id(policy_t *policy, const db_value_t *id)
Definition: policy.c:1987
policy_denial_type_t
enum policy_denial_type policy_denial_type_t
policy::denial_iterations
unsigned int denial_iterations
Definition: policy.h:82
policy_passthrough
unsigned int policy_passthrough(const policy_t *policy)
Definition: policy.c:1085
policy_keys_ttl
unsigned int policy_keys_ttl(const policy_t *policy)
Definition: policy.c:965
db_clause
Definition: db_clause.h:118
policy_set_parent_soa_ttl
int policy_set_parent_soa_ttl(policy_t *policy, unsigned int parent_soa_ttl)
Definition: policy.c:1510
policy_denial_salt_length
unsigned int policy_denial_salt_length(const policy_t *policy)
Definition: policy.c:941
policy::denial_salt_last_change
unsigned int denial_salt_last_change
Definition: policy.h:85
policy_list_copy
int policy_list_copy(policy_list_t *policy_list, const policy_list_t *from_policy_list)
Definition: policy.c:2689
policy_list_get_by_clauses
int policy_list_get_by_clauses(policy_list_t *policy_list, const db_clause_list_t *clause_list)
Definition: policy.c:3096
policy_set_passthrough
int policy_set_passthrough(policy_t *policy, unsigned int passthrough)
Definition: policy.c:1530
policy_free
void policy_free(policy_t *policy)
Definition: policy.c:518
policy_zone_soa_serial
policy_zone_soa_serial
Definition: policy.h:47
policy::denial_salt_length
unsigned int denial_salt_length
Definition: policy.h:83
policy_list_get_next
policy_t * policy_list_get_next(policy_list_t *policy_list)
Definition: policy.c:3280
policy::parent_ds_ttl
unsigned int parent_ds_ttl
Definition: policy.h:97
policy_signatures_refresh
unsigned int policy_signatures_refresh(const policy_t *policy)
Definition: policy.c:837
policy_list::result
const db_result_t * result
Definition: policy.h:736
policy_list::associated_fetch
int associated_fetch
Definition: policy.h:743
policy_set_zone_soa_serial_text
int policy_set_zone_soa_serial_text(policy_t *policy, const char *zone_soa_serial)
Definition: policy.c:1463
policy::rev
db_value_t rev
Definition: policy.h:63
POLICY_ZONE_SOA_SERIAL_UNIXTIME
Definition: policy.h:51
hsm_key_list
Definition: hsm_key.h:434
policy_new_get_by_name
policy_t * policy_new_get_by_name(const db_connection_t *connection, const char *name)
Definition: policy.c:2090
policy_set_denial_salt_length
int policy_set_denial_salt_length(policy_t *policy, unsigned int denial_salt_length)
Definition: policy.c:1337
policy_zone_list
zone_list_db_t * policy_zone_list(policy_t *policy)
Definition: policy.c:1093
policy_list::object_store
int object_store
Definition: policy.h:738
policy::signatures_validity_default
unsigned int signatures_validity_default
Definition: policy.h:73
policy_create
int policy_create(policy_t *policy)
Definition: policy.c:1561
policy_signatures_validity_denial
unsigned int policy_signatures_validity_denial(const policy_t *policy)
Definition: policy.c:869
policy_set_signatures_jitter
int policy_set_signatures_jitter(policy_t *policy, unsigned int signatures_jitter)
Definition: policy.c:1206
zone_list_db
Definition: zone_db.h:466
policy_zone_soa_serial_text
const char * policy_zone_soa_serial_text(const policy_t *policy)
Definition: policy.c:1029
policy_set_description
int policy_set_description(policy_t *policy, const char *description_text)
Definition: policy.c:1164
policy_signatures_resign
unsigned int policy_signatures_resign(const policy_t *policy)
Definition: policy.c:829
policy_signatures_max_zone_ttl
unsigned int policy_signatures_max_zone_ttl(const policy_t *policy)
Definition: policy.c:885
policy_set_denial_algorithm
int policy_set_denial_algorithm(policy_t *policy, unsigned int denial_algorithm)
Definition: policy.c:1309
policy_new
policy_t * policy_new(const db_connection_t *connection)
Definition: policy.c:479
policy::policy_key_list
policy_key_list_t * policy_key_list
Definition: policy.h:100
policy_signatures_validity_keyset
unsigned int policy_signatures_validity_keyset(const policy_t *policy)
Definition: policy.c:877
policy_keys_purge_after
unsigned int policy_keys_purge_after(const policy_t *policy)
Definition: policy.c:997
policy::zone_list
zone_list_db_t * zone_list
Definition: policy.h:101
policy::denial_ttl
unsigned int denial_ttl
Definition: policy.h:79
db_result
Definition: db_result.h:56
policy_list_new_get
policy_list_t * policy_list_new_get(const db_connection_t *connection)
Definition: policy.c:3079
policy_set_keys_ttl
int policy_set_keys_ttl(policy_t *policy, unsigned int keys_ttl)
Definition: policy.c:1383
policy_set_keys_purge_after
int policy_set_keys_purge_after(policy_t *policy, unsigned int keys_purge_after)
Definition: policy.c:1423
policy_list::object_list_position
size_t object_list_position
Definition: policy.h:741
policy_set_zone_propagation_delay
int policy_set_zone_propagation_delay(policy_t *policy, unsigned int zone_propagation_delay)
Definition: policy.c:1433
policy_set_signatures_max_zone_ttl
int policy_set_signatures_max_zone_ttl(policy_t *policy, unsigned int signatures_max_zone_ttl)
Definition: policy.c:1256
policy::zone_soa_minimum
unsigned int zone_soa_minimum
Definition: policy.h:93
policy_set_denial_resalt
int policy_set_denial_resalt(policy_t *policy, unsigned int denial_resalt)
Definition: policy.c:1299
policy_list::object_list
policy_t ** object_list
Definition: policy.h:739
policy_set_signatures_refresh
int policy_set_signatures_refresh(policy_t *policy, unsigned int signatures_refresh)
Definition: policy.c:1196
policy::signatures_max_zone_ttl
unsigned int signatures_max_zone_ttl
Definition: policy.h:76
policy_retrieve_zone_list
int policy_retrieve_zone_list(policy_t *policy)
Definition: policy.c:1111
policy_list::result_list
db_result_list_t * result_list
Definition: policy.h:735
policy::dbo
db_object_t * dbo
Definition: policy.h:61
policy::denial_algorithm
unsigned int denial_algorithm
Definition: policy.h:81
policy_denial_algorithm
unsigned int policy_denial_algorithm(const policy_t *policy)
Definition: policy.c:925
policy_denial_type_clause
db_clause_t * policy_denial_type_clause(db_clause_list_t *clause_list, policy_denial_type_t denial_type)
Definition: policy.c:1540
POLICY_DENIAL_TYPE_NSEC3
Definition: policy.h:43
POLICY_ZONE_SOA_SERIAL_INVALID
Definition: policy.h:48
policy::signatures_refresh
unsigned int signatures_refresh
Definition: policy.h:70
policy_set_name
int policy_set_name(policy_t *policy, const char *name_text)
Definition: policy.c:1142
policy::parent_soa_minimum
unsigned int parent_soa_minimum
Definition: policy.h:99
policy_from_result
int policy_from_result(policy_t *policy, const db_result_t *result)
Definition: policy.c:707
policy_parent_soa_ttl
unsigned int policy_parent_soa_ttl(const policy_t *policy)
Definition: policy.c:1069
policy::parent_soa_ttl
unsigned int parent_soa_ttl
Definition: policy.h:98
policy_set_signatures_validity_default
int policy_set_signatures_validity_default(policy_t *policy, unsigned int signatures_validity_default)
Definition: policy.c:1226
policy::hsm_key_list
hsm_key_list_t * hsm_key_list
Definition: policy.h:102
db_object.h
policy_denial_salt_last_change
unsigned int policy_denial_salt_last_change(const policy_t *policy)
Definition: policy.c:957
policy
Definition: policy.h:60
db_connection
Definition: db_connection.h:46
db_enum
Definition: db_enum.h:38
policy_ext.h
policy_name
const char * policy_name(const policy_t *policy)
Definition: policy.c:813
policy_set_signatures_resign
int policy_set_signatures_resign(policy_t *policy, unsigned int signatures_resign)
Definition: policy.c:1186
policy::signatures_validity_keyset
unsigned int signatures_validity_keyset
Definition: policy.h:75
POLICY_DENIAL_TYPE_NSEC
Definition: policy.h:42
policy_set_keys_retire_safety
int policy_set_keys_retire_safety(policy_t *policy, unsigned int keys_retire_safety)
Definition: policy.c:1393
policy_copy
int policy_copy(policy_t *policy, const policy_t *policy_copy)
Definition: policy.c:547
policy::signatures_validity_denial
unsigned int signatures_validity_denial
Definition: policy.h:74
policy::parent_propagation_delay
unsigned int parent_propagation_delay
Definition: policy.h:96
policy_parent_registration_delay
unsigned int policy_parent_registration_delay(const policy_t *policy)
Definition: policy.c:1045
policy_keys_retire_safety
unsigned int policy_keys_retire_safety(const policy_t *policy)
Definition: policy.c:973
policy_enum_set_denial_type
const db_enum_t policy_enum_set_denial_type[]
Definition: policy.c:36
policy_zone_propagation_delay
unsigned int policy_zone_propagation_delay(const policy_t *policy)
Definition: policy.c:1005
policy_set_signatures_inception_offset
int policy_set_signatures_inception_offset(policy_t *policy, unsigned int signatures_inception_offset)
Definition: policy.c:1216
policy::passthrough
unsigned int passthrough
Definition: policy.h:67
policy_list_object_store
int policy_list_object_store(policy_list_t *policy_list)
Definition: policy.c:2654
policy_set_signatures_validity_keyset
int policy_set_signatures_validity_keyset(policy_t *policy, unsigned int signatures_validity_keyset)
Definition: policy.c:1246
policy_denial_iterations
unsigned int policy_denial_iterations(const policy_t *policy)
Definition: policy.c:933
policy::keys_publish_safety
unsigned int keys_publish_safety
Definition: policy.h:88
policy::signatures_inception_offset
unsigned int signatures_inception_offset
Definition: policy.h:72
policy_list::object_list_size
size_t object_list_size
Definition: policy.h:740
policy_set_denial_iterations
int policy_set_denial_iterations(policy_t *policy, unsigned int denial_iterations)
Definition: policy.c:1323
policy::denial_optout
unsigned int denial_optout
Definition: policy.h:78
policy_set_denial_ttl
int policy_set_denial_ttl(policy_t *policy, unsigned int denial_ttl)
Definition: policy.c:1289
policy_set_denial_salt_last_change
int policy_set_denial_salt_last_change(policy_t *policy, unsigned int denial_salt_last_change)
Definition: policy.c:1373
policy_list::object_list_first
int object_list_first
Definition: policy.h:742
policy::signatures_jitter
unsigned int signatures_jitter
Definition: policy.h:71
policy::description
char * description
Definition: policy.h:68
policy_list_begin
const policy_t * policy_list_begin(policy_list_t *policy_list)
Definition: policy.c:3158
policy_update
int policy_update(policy_t *policy)
Definition: policy.c:2110
policy_set_keys_shared
int policy_set_keys_shared(policy_t *policy, unsigned int keys_shared)
Definition: policy.c:1413
policy_set_zone_soa_ttl
int policy_set_zone_soa_ttl(policy_t *policy, unsigned int zone_soa_ttl)
Definition: policy.c:1443
policy::denial_type
policy_denial_type_t denial_type
Definition: policy.h:77