unbound: key_entry_data Struct Reference

unbound 0.1

Data Fields
key_entry_data Struct Reference

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

## Detailed Description

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.

## Field Documentation

## ◆ rrset_data

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().

The documentation for this struct was generated from the following file:

- validator/val_kentry.h