Tor  0.4.5.0-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 18 of file extrainfo_st.h.

Field Documentation

◆ bad_sig

unsigned int 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 26 of file extrainfo_st.h.

Referenced by routerinfo_incompatible_with_extrainfo().

◆ digest256

uint8_t digest256[DIGEST256_LEN]

SHA256 digest of this document

Definition at line 21 of file extrainfo_st.h.

Referenced by routerinfo_incompatible_with_extrainfo().

◆ nickname

char nickname[MAX_NICKNAME_LEN+1]

The router's nickname.

Definition at line 23 of file extrainfo_st.h.

◆ pending_sig

char* 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 29 of file extrainfo_st.h.

Referenced by routerinfo_incompatible_with_extrainfo().

◆ pending_sig_len

size_t pending_sig_len

Length of pending_sig.

Definition at line 31 of file extrainfo_st.h.

Referenced by routerinfo_incompatible_with_extrainfo().


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