Tor  0.4.7.0-alpha-dev
Data Fields
hs_desc_superencrypted_data_t Struct Reference

#include <hs_descriptor.h>

Data Fields

curve25519_public_key_t auth_ephemeral_pubkey
 
smartlist_tclients
 
uint8_t * encrypted_blob
 
size_t encrypted_blob_size
 

Detailed Description

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

Definition at line 176 of file hs_descriptor.h.

Field Documentation

◆ auth_ephemeral_pubkey

curve25519_public_key_t auth_ephemeral_pubkey

This field contains ephemeral x25519 public key which is used by the encryption scheme in the client authorization.

Definition at line 179 of file hs_descriptor.h.

Referenced by decrypt_descriptor_cookie().

◆ clients

smartlist_t* clients

A list of authorized clients. Contains hs_desc_authorized_client_t objects.

Definition at line 183 of file hs_descriptor.h.

Referenced by desc_decrypt_encrypted(), get_all_auth_client_lines(), and hs_desc_superencrypted_data_free_contents().

◆ encrypted_blob

uint8_t* encrypted_blob

Decoding only: The b64-decoded encrypted blob from the descriptor

Definition at line 186 of file hs_descriptor.h.

Referenced by decrypt_desc_layer(), and hs_desc_superencrypted_data_free_contents().

◆ encrypted_blob_size

size_t encrypted_blob_size

Decoding only: Size of the encrypted_blob

Definition at line 189 of file hs_descriptor.h.

Referenced by decrypt_desc_layer().


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