UDIF: Universal Digital Identification Framework 1.0.0.0a (A1)
A quantum-secure cryptographic identification
encode.h File Reference

UDIF canonical TLV encoding. More...

#include "udif.h"

Go to the source code of this file.

Detailed Description

UDIF canonical TLV encoding.

This module implements canonical Tag-Length-Value encoding for UDIF. All structures are serialized using minimal uvarint encoding and strictly ascending tag order for deterministic output.

Encoding Rules:

  • Tags are minimal uvarint (1-9 bytes)
  • Lengths are minimal uvarint (1-9 bytes)
  • Values are raw bytes
  • Tags must be in strictly ascending order
  • No padding or defaults