Tor  0.4.4.0-alpha-dev
Data Fields
hs_descriptor_t Struct Reference

#include <hs_descriptor.h>

Data Fields

hs_desc_plaintext_data_t plaintext_data
 
hs_desc_superencrypted_data_t superencrypted_data
 
hs_desc_encrypted_data_t encrypted_data
 
uint8_t subcredential [DIGEST256_LEN]
 

Detailed Description

Service descriptor in its decoded form.

Definition at line 225 of file hs_descriptor.h.

Field Documentation

◆ encrypted_data

hs_desc_encrypted_data_t encrypted_data

The following contains what's in the encrypted part of the descriptor. It's only encrypted in the encoded version of the descriptor thus the data contained in that object is in plaintext.

Definition at line 237 of file hs_descriptor.h.

Referenced by build_desc_intro_points(), build_service_desc_encrypted(), find_desc_intro_point_by_ident(), find_desc_intro_point_by_legacy_id(), get_inner_encrypted_layer_plaintext(), hs_client_any_intro_points_usable(), hs_desc_obj_size(), hs_descriptor_clear_intro_points(), and hs_descriptor_free_().

◆ plaintext_data

hs_desc_plaintext_data_t plaintext_data

◆ subcredential

uint8_t subcredential[DIGEST256_LEN]

Subcredentials of a service, used by the client and service to decrypt the encrypted data.

Definition at line 241 of file hs_descriptor.h.

Referenced by build_service_desc_plaintext(), decrypt_descriptor_cookie(), and hs_desc_obj_size().

◆ superencrypted_data

hs_desc_superencrypted_data_t superencrypted_data

The following contains what's in the superencrypted part of the descriptor. It's only encrypted in the encoded version of the descriptor thus the data contained in that object is in plaintext.

Definition at line 232 of file hs_descriptor.h.

Referenced by build_service_desc_superencrypted(), decrypt_desc_layer(), decrypt_descriptor_cookie(), desc_decrypt_encrypted(), get_all_auth_client_lines(), and hs_descriptor_free_().


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