Electroneum
val_env Struct Reference

#include <validator.h>

Collaboration diagram for val_env:

Public Attributes

struct key_cachekcache
 
struct val_neg_cacheneg_cache
 
int32_t date_override
 
int32_t skew_min
 
int32_t skew_max
 
uint32_t bogus_ttl
 
int nsec3_keyiter_count
 
size_t * nsec3_keysize
 
size_t * nsec3_maxiter
 
lock_basic_type bogus_lock
 
size_t num_rrset_bogus
 

Detailed Description

Global state for the validator.

Definition at line 80 of file validator.h.

Member Data Documentation

◆ bogus_lock

lock_basic_type val_env::bogus_lock

lock on bogus counter

Definition at line 123 of file validator.h.

◆ bogus_ttl

uint32_t val_env::bogus_ttl

TTL for bogus data; used instead of untrusted TTL from data. Bogus data will not be verified more often than this interval. seconds.

Definition at line 101 of file validator.h.

◆ date_override

int32_t val_env::date_override

for debug testing a fixed validation date can be entered. if 0, current time is used for rrsig validation

Definition at line 90 of file validator.h.

◆ kcache

struct key_cache* val_env::kcache

key cache; these are validated keys. trusted keys only end up here after being primed.

Definition at line 83 of file validator.h.

◆ neg_cache

struct val_neg_cache* val_env::neg_cache

aggressive negative cache. index into NSECs in rrset cache.

Definition at line 86 of file validator.h.

◆ nsec3_keyiter_count

int val_env::nsec3_keyiter_count

Number of entries in the NSEC3 maximum iteration count table. Keep this table short, and sorted by size

Definition at line 107 of file validator.h.

◆ nsec3_keysize

size_t* val_env::nsec3_keysize

NSEC3 maximum iteration count per signing key size. This array contains key size values (in increasing order)

Definition at line 113 of file validator.h.

◆ nsec3_maxiter

size_t* val_env::nsec3_maxiter

NSEC3 maximum iteration count per signing key size. This array contains the maximum iteration count for the keysize in the keysize array.

Definition at line 120 of file validator.h.

◆ num_rrset_bogus

size_t val_env::num_rrset_bogus

number of times rrsets marked bogus

Definition at line 125 of file validator.h.

◆ skew_max

int32_t val_env::skew_max

clock skew max for signatures

Definition at line 96 of file validator.h.

◆ skew_min

int32_t val_env::skew_min

clock skew min for signatures

Definition at line 93 of file validator.h.


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