Tor  0.4.5.0-alpha-dev
Data Fields
hs_desc_authorized_client_t Struct Reference

#include <hs_descriptor.h>

Data Fields

uint8_t client_id [HS_DESC_CLIENT_ID_LEN]
 
uint8_t iv [CIPHER_IV_LEN]
 
uint8_t encrypted_cookie [HS_DESC_ENCRYPED_COOKIE_LEN]
 

Detailed Description

Authorized client information located in a descriptor.

Definition at line 143 of file hs_descriptor.h.

Field Documentation

◆ client_id

uint8_t client_id[HS_DESC_CLIENT_ID_LEN]

An identifier that the client will use to identify which auth client entry it needs to use.

Definition at line 146 of file hs_descriptor.h.

Referenced by decode_auth_client().

◆ encrypted_cookie

uint8_t encrypted_cookie[HS_DESC_ENCRYPED_COOKIE_LEN]

An encrypted descriptor cookie that the client needs to decrypt to use it to decrypt the descriptor.

Definition at line 153 of file hs_descriptor.h.

Referenced by decode_auth_client().

◆ iv

uint8_t iv[CIPHER_IV_LEN]

An IV that is used to decrypt the encrypted descriptor cookie.

Definition at line 149 of file hs_descriptor.h.

Referenced by decode_auth_client().


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