|
unbound 0.1
|
Key entry for the validator. More...
#include <val_kentry.h>
Data Fields | |
| time_t | ttl |
| the TTL of this entry (absolute time) | |
| struct packed_rrset_data * | rrset_data |
| the key rrdata. | |
| char * | reason |
| not NULL sometimes to give reason why bogus | |
| sldns_ede_code | reason_bogus |
| not NULL to give reason why bogus | |
| uint8_t * | algo |
| list of algorithms signalled, ends with 0, or NULL | |
| uint16_t | rrset_type |
| DNS RR type of the rrset data (host order). | |
| uint8_t | isbad |
| if the key is bad: Bogus or malformed | |
Key entry for the validator.
Contains key status. This is the data part for the cache, the key entry data.
Can be in three basic states: isbad=0: good key isbad=1: bad key isbad=0 && rrset=0: insecure space.
| time_t key_entry_data::ttl |
the TTL of this entry (absolute time)
Referenced by bogus_del_kcache(), key_cache_obtain(), key_entry_create_bad(), key_entry_create_null(), key_entry_create_rrset(), negative_del_kcache(), and zone_del_kcache().
| struct packed_rrset_data* key_entry_data::rrset_data |
the key rrdata.
can be NULL to signal keyless name.
Referenced by key_entry_copy(), key_entry_copy_toregion(), key_entry_create_bad(), key_entry_create_null(), key_entry_create_rrset(), key_entry_get_rrset(), key_entry_isgood(), key_entry_isnull(), key_entry_keysize(), key_entry_sizefunc(), and val_verify_rrset_entry().
| char* key_entry_data::reason |
not NULL sometimes to give reason why bogus
Referenced by key_entry_copy(), key_entry_copy_toregion(), key_entry_create_bad(), key_entry_create_null(), key_entry_create_rrset(), key_entry_get_reason(), key_entry_sizefunc(), val_verify_rrset_entry(), and verify_dnskeys_with_ds_rr().
| sldns_ede_code key_entry_data::reason_bogus |
not NULL to give reason why bogus
Referenced by key_entry_create_bad(), key_entry_create_null(), key_entry_create_rrset(), key_entry_get_reason_bogus(), val_verify_rrset_entry(), and verify_dnskeys_with_ds_rr().
| uint8_t* key_entry_data::algo |
list of algorithms signalled, ends with 0, or NULL
Referenced by key_entry_copy(), key_entry_copy_toregion(), key_entry_create_bad(), key_entry_create_null(), key_entry_create_rrset(), key_entry_sizefunc(), and val_verify_rrset_entry().
| uint16_t key_entry_data::rrset_type |
DNS RR type of the rrset data (host order).
Referenced by key_entry_create_bad(), key_entry_create_null(), key_entry_create_rrset(), key_entry_get_rrset(), and val_verify_rrset_entry().
| uint8_t key_entry_data::isbad |
if the key is bad: Bogus or malformed
Referenced by bogus_del_kcache(), key_entry_create_bad(), key_entry_create_null(), key_entry_create_rrset(), key_entry_isbad(), key_entry_isgood(), key_entry_isnull(), and negative_del_kcache().