GNUnet 0.21.1
GNUNET_GNSRECORD_SBoxRecord Struct Reference

Record type used to box up SMIMEA records. More...

#include <gnunet_gnsrecord_lib.h>

Data Fields

uint32_t record_type
 GNS record type of the boxed record. More...
 

Detailed Description

Record type used to box up SMIMEA records.

For example, a SMIMEA record for "c93f1e400f26708f98cb19d936620da35eec8f72e57 f9eec01c1afd6._smimecert.foo.gnu" will be stored under "foo.gnu" as a SBOX record with the local-path of the associated e-mails hash turnicated to 28 octets encoded as hex and protocol _smimecert and record_type "SMIMEA". When a BOX record is received, GNS unboxes it if the name contained "hash._PROTO", otherwise GNS leaves it untouched. This is done to ensure that SMIMEA records do not require a separate network request, thus making SMIMEA records inseparable from the "main" A/AAAA/VPN/etc. records.

Definition at line 347 of file gnunet_gnsrecord_lib.h.

Field Documentation

◆ record_type

uint32_t GNUNET_GNSRECORD_SBoxRecord::record_type

GNS record type of the boxed record.

In NBO.

Definition at line 352 of file gnunet_gnsrecord_lib.h.

Referenced by gns_string_to_value(), gns_value_to_string(), and handle_gns_resolution_result().


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