|
Tor 0.4.9.3-alpha-dev
|
#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 |
Information needed to keep and cache a signed extra-info document.
Definition at line 18 of file extrainfo_st.h.
| 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().
| signed_descriptor_t cache_info |
Definition at line 19 of file extrainfo_st.h.
| uint8_t digest256[DIGEST256_LEN] |
SHA256 digest of this document
Definition at line 21 of file extrainfo_st.h.
Referenced by extrainfo_parse_entry_from_string(), router_dump_and_sign_extrainfo_descriptor_body(), router_update_routerinfo_from_extrainfo(), and routerinfo_incompatible_with_extrainfo().
| char nickname[MAX_NICKNAME_LEN+1] |
The router's nickname.
Definition at line 23 of file extrainfo_st.h.
Referenced by extrainfo_dump_to_string_header_helper(), extrainfo_parse_entry_from_string(), and router_build_fresh_unsigned_extrainfo().
| 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 extrainfo_free_(), extrainfo_parse_entry_from_string(), and routerinfo_incompatible_with_extrainfo().
| size_t pending_sig_len |
Length of pending_sig.
Definition at line 31 of file extrainfo_st.h.
Referenced by extrainfo_parse_entry_from_string(), and routerinfo_incompatible_with_extrainfo().