Electroneum
key_entry_data Struct Reference

#include <val_kentry.h>

Collaboration diagram for key_entry_data:

Public Attributes

time_t ttl
 
struct packed_rrset_datarrset_data
 
char * reason
 
uint8_talgo
 
uint16_t rrset_type
 
uint8_t isbad
 

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.

Definition at line 76 of file val_kentry.h.

Member Data Documentation

◆ algo

uint8_t* key_entry_data::algo

list of algorithms signalled, ends with 0, or NULL

Definition at line 84 of file val_kentry.h.

◆ isbad

uint8_t key_entry_data::isbad

if the key is bad: Bogus or malformed

Definition at line 88 of file val_kentry.h.

◆ reason

char* key_entry_data::reason

not NULL sometimes to give reason why bogus

Definition at line 82 of file val_kentry.h.

◆ rrset_data

struct packed_rrset_data* key_entry_data::rrset_data

the key rrdata. can be NULL to signal keyless name.

Definition at line 80 of file val_kentry.h.

◆ rrset_type

uint16_t key_entry_data::rrset_type

DNS RR type of the rrset data (host order)

Definition at line 86 of file val_kentry.h.

◆ ttl

time_t key_entry_data::ttl

the TTL of this entry (absolute time)

Definition at line 78 of file val_kentry.h.


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