tor  0.4.2.1-alpha-dev
Data Fields
extrainfo_t Struct Reference

#include <extrainfo_st.h>

Data Fields

signed_descriptor_t cache_info
 
uint8_t digest256 [DIGEST256_LEN]
 
char nickname [MAX_NICKNAME_LEN+1]
 
unsigned int bad_sig: 1
 
char * pending_sig
 
size_t pending_sig_len
 

Detailed Description

Information needed to keep and cache a signed extra-info document.

Definition at line 13 of file extrainfo_st.h.

Field Documentation

◆ bad_sig

unsigned int extrainfo_t::bad_sig

True iff we found the right key for this extra-info, verified the signature, and found it to be bad.

Definition at line 21 of file extrainfo_st.h.

Referenced by routerinfo_incompatible_with_extrainfo().

◆ digest256

uint8_t extrainfo_t::digest256[DIGEST256_LEN]

SHA256 digest of this document

Definition at line 16 of file extrainfo_st.h.

Referenced by routerinfo_incompatible_with_extrainfo().

◆ nickname

char extrainfo_t::nickname[MAX_NICKNAME_LEN+1]

The router's nickname.

Definition at line 18 of file extrainfo_st.h.

◆ pending_sig

char* extrainfo_t::pending_sig

If present, we didn't have the right key to verify this extra-info, so this is a copy of the signature in the document.

Definition at line 24 of file extrainfo_st.h.

Referenced by extrainfo_free_().

◆ pending_sig_len

size_t extrainfo_t::pending_sig_len

Length of pending_sig.

Definition at line 26 of file extrainfo_st.h.


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