tor  0.4.2.1-alpha-dev
Data Fields
rend_data_v2_t Struct Reference

Data Fields

rend_data_t base_
 
char onion_address [REND_SERVICE_ID_LEN_BASE32+1]
 
char descriptor_id [REND_NUMBER_OF_NON_CONSECUTIVE_REPLICAS][DIGEST_LEN]
 
char descriptor_cookie [REND_DESC_COOKIE_LEN]
 
rend_auth_type_t auth_type
 
char desc_id_fetch [DIGEST_LEN]
 
char rend_pk_digest [DIGEST_LEN]
 

Detailed Description

Definition at line 433 of file or.h.

Field Documentation

◆ auth_type

rend_auth_type_t rend_data_v2_t::auth_type

Authorization type for accessing a service used by a client.

Definition at line 449 of file or.h.

◆ desc_id_fetch

char rend_data_v2_t::desc_id_fetch[DIGEST_LEN]

Descriptor ID for a client request. The control port command HSFETCH uses this. It's set if the descriptor query should only use this descriptor ID.

Definition at line 454 of file or.h.

◆ descriptor_cookie

char rend_data_v2_t::descriptor_cookie[REND_DESC_COOKIE_LEN]

(Optional) descriptor cookie that is used by a client.

Definition at line 446 of file or.h.

◆ descriptor_id

char rend_data_v2_t::descriptor_id[REND_NUMBER_OF_NON_CONSECUTIVE_REPLICAS][DIGEST_LEN]

Descriptor ID for each replicas computed from the onion address. If the onion address is empty, this array MUST be empty. We keep them so we know when to purge our entry in the last hsdir request table.

Definition at line 443 of file or.h.

◆ onion_address

char rend_data_v2_t::onion_address[REND_SERVICE_ID_LEN_BASE32+1]

Onion address (without the .onion part) that a client requests.

Definition at line 438 of file or.h.

◆ rend_pk_digest

char rend_data_v2_t::rend_pk_digest[DIGEST_LEN]

Hash of the hidden service's PK used by a service.

Definition at line 457 of file or.h.


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