Electroneum
trust_anchor Struct Reference

#include <val_anchor.h>

Collaboration diagram for trust_anchor:

Public Attributes

rbnode_type node
 
lock_basic_type lock
 
uint8_tname
 
size_t namelen
 
int namelabs
 
struct trust_anchorparent
 
struct ta_keykeylist
 
struct autr_point_dataautr
 
size_t numDS
 
size_t numDNSKEY
 
struct ub_packed_rrset_keyds_rrset
 
struct ub_packed_rrset_keydnskey_rrset
 
uint16_t dclass
 

Detailed Description

A trust anchor in the trust anchor store. Unique by name, class.

Definition at line 94 of file val_anchor.h.

Member Data Documentation

◆ autr

struct autr_point_data* trust_anchor::autr

Autotrust anchor point data, or NULL

Definition at line 112 of file val_anchor.h.

◆ dclass

uint16_t trust_anchor::dclass

class of the trust anchor

Definition at line 122 of file val_anchor.h.

◆ dnskey_rrset

struct ub_packed_rrset_key* trust_anchor::dnskey_rrset

The DNSKEY RRset

Definition at line 120 of file val_anchor.h.

◆ ds_rrset

struct ub_packed_rrset_key* trust_anchor::ds_rrset

the DS RRset

Definition at line 118 of file val_anchor.h.

◆ keylist

struct ta_key* trust_anchor::keylist

List of DS or DNSKEY rrs that form the trust anchor.

Definition at line 110 of file val_anchor.h.

◆ lock

lock_basic_type trust_anchor::lock

lock on the entire anchor and its keys; for autotrust changes

Definition at line 98 of file val_anchor.h.

◆ name

uint8_t* trust_anchor::name

name of this trust anchor

Definition at line 100 of file val_anchor.h.

◆ namelabs

int trust_anchor::namelabs

number of labels in name of rrset

Definition at line 104 of file val_anchor.h.

◆ namelen

size_t trust_anchor::namelen

length of name

Definition at line 102 of file val_anchor.h.

◆ node

rbnode_type trust_anchor::node

rbtree node, key is this structure

Definition at line 96 of file val_anchor.h.

◆ numDNSKEY

size_t trust_anchor::numDNSKEY

number of DNSKEYs in the keylist

Definition at line 116 of file val_anchor.h.

◆ numDS

size_t trust_anchor::numDS

number of DSs in the keylist

Definition at line 114 of file val_anchor.h.

◆ parent

struct trust_anchor* trust_anchor::parent

the ancestor in the trustanchor tree

Definition at line 106 of file val_anchor.h.


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