Tor 0.4.9.0-alpha-dev
Data Fields
hs_desc_encrypted_data_t Struct Reference

#include <hs_descriptor.h>

Data Fields

unsigned int create2_ntor: 1
 
smartlist_tintro_auth_types
 
unsigned int single_onion_service: 1
 
char * flow_control_pv
 
uint8_t sendme_inc
 
hs_pow_desc_params_tpow_params
 
smartlist_tintro_points
 

Detailed Description

The encrypted data section of a descriptor. Obviously the data in this is in plaintext but encrypted once encoded.

Definition at line 159 of file hs_descriptor.h.

Field Documentation

◆ create2_ntor

unsigned int create2_ntor

Bitfield of CREATE2 cell supported formats. The only currently supported format is ntor.

Definition at line 162 of file hs_descriptor.h.

Referenced by build_service_desc_encrypted(), and get_inner_encrypted_layer_plaintext().

◆ flow_control_pv

char* flow_control_pv

Flow control protocol version line.

Definition at line 172 of file hs_descriptor.h.

Referenced by hs_desc_supports_congestion_control().

◆ intro_auth_types

smartlist_t* intro_auth_types

A list of authentication types that a client must at least support one in order to contact the service. Contains NULL terminated strings.

Definition at line 166 of file hs_descriptor.h.

Referenced by build_service_desc_encrypted(), decode_auth_type(), hs_desc_encrypted_data_free_contents(), and hs_desc_encrypted_obj_size().

◆ intro_points

smartlist_t* intro_points

◆ pow_params

hs_pow_desc_params_t* pow_params

PoW parameters. If NULL, it is not present.

Definition at line 176 of file hs_descriptor.h.

◆ sendme_inc

uint8_t sendme_inc

Definition at line 173 of file hs_descriptor.h.

◆ single_onion_service

unsigned int single_onion_service

Is this descriptor a single onion service?

Definition at line 169 of file hs_descriptor.h.

Referenced by build_service_desc_encrypted(), and setup_rendezvous_circ_congestion_control().


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