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_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 434 of file or.h.

Field Documentation

◆ auth_type

rend_auth_type_t auth_type

Authorization type for accessing a service used by a client.

Definition at line 450 of file or.h.

◆ desc_id_fetch

char 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 455 of file or.h.

◆ descriptor_cookie

char descriptor_cookie[REND_DESC_COOKIE_LEN]

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

Definition at line 447 of file or.h.

◆ descriptor_id

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 444 of file or.h.

◆ onion_address

char onion_address[REND_SERVICE_ID_LEN_BASE32+1]

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

Definition at line 439 of file or.h.

◆ rend_pk_digest

char rend_pk_digest[DIGEST_LEN]

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

Definition at line 458 of file or.h.

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