Data Fields
hs_desc_encrypted_data_t Struct Reference

#include <hs_descriptor.h>

Data Fields

unsigned int create2_ntor: 1
unsigned int single_onion_service: 1

Detailed Description

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

Definition at line 158 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 161 of file hs_descriptor.h.

Referenced by build_service_desc_encrypted(), and get_inner_encrypted_layer_plaintext().

◆ 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 165 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

◆ single_onion_service

unsigned int single_onion_service

Is this descriptor a single onion service?

Definition at line 168 of file hs_descriptor.h.

Referenced by build_service_desc_encrypted().

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